TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,970
  • Latest: bynw
Stats
  • Total Posts: 196,063
  • Total Topics: 21,338
  • Online today: 356
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 115
  • Total: 115

passing variables in php articles

Started by osquitar, July 11, 2007, 06:22:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

osquitar

In a php article I tried to pass a variable by URL like this:

index.php?page=7&task=1

but the variable $task is undefined after reloading the page

any idea?

osquitar

I tried with $_GET['task'] and it seems to work.


This website is proudly hosted on Crocweb Cloud Website Hosting.