Jump to content

sessions and id not continuing


rdkd1970

Recommended Posts

When I was using the while statement it was welcoming everyone in the db. I changed the while for an if statement it is not producing anything could be how I have it laid out I tried different ways to code it. Here is my latest.

 

$row=mysql_fetch_assoc($result);
extract ($row);
if ($id == $firstname){

  echo "Welcome, $firstname";

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.