Arrays / Strings

From: Date: Sun, 12 Nov 2000 13:26:16 +0000
Subject: Arrays / Strings
Groups: php.general 
Request: Send a blank email to php-general+get-24857@lists.php.net to get a copy of this message
Hi, I have run into a small problem with my Arrays, I have selected * from my table Where (ID) then I use... mysql_data_seek($SQLResult, 0); $array=mysql_fetch_array($SQLResult); which works fine and it allows me to use <?printf($array["Fname"]);?> <?printf($array["Surname"]);?> on my page, and the correct Fname and Surname is printed according to the Where statement. What I want to do however is put Fname and Surname into a string called $Name which I can then use in a seperate database table but I can`t for the life of me get it to work. All I can get is either a blank $Name or this error... Parse error: parse error, expecting STRING' or NUM_STRING' or `'$'' If any one knows of any code any where or knows the solution please drop me an email. TIA Ade

« previous php.general (#24857) next »