Forum Moderators: coopster
In it's simplest form, you are referring to a GET request. You would format the link in such a format...
http://www.mysite.com/myscript.php?picture=mypicand in the
myscript.phpprocessing script you would retrieve the variable via the $_GET [php.net] superglobal...
$picture = (isset($_GET['picture']))? $_GET['picture']) : '';
isset() [php.net]
Ternary operators [php.net]
<edit>Lots of help today!</edit>
My Code: (Please tell me if you think there is any thing I need to know about it)
if (isset($_GET['p_id']) and $_GET['p_id']!= "")
{
$ShowNum = $_GET['p_id'];
};
Thanks for your help :)
Chad.
Yeah, you sure will, I gave it to you with invalid syntax! hehe, sorry ;)
$picture = (isset($_GET['picture']))? $_GET['picture'] : '';