Re: strings of variables, php, mysql

2003-11-26 Thread Vinay
a simple way is to do select $form as new_column_name from structure"; as the query. thus the return value of you column will be in new_column_name. Vinay joffrey leevy wrote: > Would appreciate in anyone can help me. > > Let's say I do a query in php, eg. $query = "select > shed from structure

strings of variables, php, mysql

2003-11-24 Thread joffrey leevy
Would appreciate in anyone can help me. Let's say I do a query in php, eg. $query = "select shed from structure"; With the mysql_fetch_array function and a loop I could see all the values stored in the column, shed, using the command: echo $shed; Let's say now that I am carrying over a variable