Hi all
When I pass a single variable (telephone) from Flash using the below it works fine
[SIZE=1]var xmlSaveLoader:URLLoader = new URLLoader();
xmlSaveLoader.load(new URLRequest(“customer_insert.php?telephone=”+telephone));[/SIZE]
I can read the variable in PHP using
***$key_telephone = $HTTP_GET_VARS[telephone];
and then run sql command to insert into table customers
[SIZE=1]mysql_query("INSERT into customers (telephone) values ($key_telephone) ");
[/SIZE]
However, I have a problem and don’t know how to pass multiple variables to PHP. I tried the following to pass a second variable (first_name)but it doesn’t seem to work…
[SIZE=1]xmlSaveLoader.load(new URLRequest(“customer_insert.php?telephone=”+telephone+"&first_name="+first_name));[/SIZE]
[SIZE=1][/SIZE]
Any help ?
Thanks
Hagop