Loop doesn't seem to be working for me in my AWS script
In this:
PHP Code:
$ArraySearchString = array(
497024 => "Web Development",
229614 => "Graphics",
497022 => "Video & Music"
);
I'm trying to use a loop to eacho the node and name from my database and have tried doing it like so:
PHP Code:
$ArraySearchString = array(
while($row = mysql_fetch_array($result1)){
echo($row['amazonid'] =>."".$row['name'].",");
}
);
But I get a parse error on this row:
PHP Code:
while($row = mysql_fetch_array($result1)){
Anyd ideas?