Hello Ihave some question. first I have to say that my english isnt so good. Sorry for it.
my problem is:
In my PHP script are some Vars like
var $_email = 'no';
var $_fname = 'no';
var $_lname = 'no';
etc.
The vars will init if the user visit my page. but now I want to init the vars autom. from a sql column array... like:
$query = "SHOW COLUMNS FROM user";
$result = mysql_query($query);
while ($row = mysql_fetch_assoc($result)) {
$column[] = $row["Field"];
}
foreach($column as $value)
{
var $value = 'no';
}
if somebody understand what i mean please help me..