I'm having some troubles passing through two variables through the browser and it working quite right. I'm kinda miffed on this one and hopefully someone can see what i'm missing.
When I print out the variables on the deletepicture.php page, using the following print statement:
//DEBUG STATEMENT
print "$CUserName is CUserName and $PDescription is PDescription<BR>";
I get:
\'puffy\'?PDescription=Sean is CUserName and is PDescription
Here's my coding:
<a href=\"deletepicture.php?CUserName='$CUserName'?PDescription=$object->PDescription\">
NOTE: $object is:
$pictures_query = "SELECT FROM pics WHERE CUserName='$CUserName'";
//show picture
$all_album_pics = mysql_query($pictures_query);
$object = mysql_fetch_object($all_album_pics);
Thanks,
Mike