Variable Creation

From: Date: Tue, 04 Jul 2000 10:13:47 +0000
Subject: Variable Creation
Groups: php.general 
Request: Send a blank email to php-general+get-4712@lists.php.net to get a copy of this message
Hi all, the tutorial im working through says that after this line executes: - printf("<a href=\"%s?id=%s\">%s %s</a><br>\n", $PHP_SELF, $myrow["id"], $myrow["first"], $myrow["last"]); a variable called $id is created. You cant then test on: - if($id) { .... } On my machine id is never created. Im using PHP 3.0.15. Thanx Phil Lambert

« previous php.general (#4712) next »