Menu
I have data in table for each registered user. I would like to do form and possibility to update data. Is this the best to do with array function. Can you suggest or …:
[code=php]
<?PHP
//search for name
/* Connect to MySQL-Server */
…
/* Open $db */
…
$query = “SELECT * FROM users ORDER BY Index DESC LIMIT 1”;
$result = mysql_query($query) or die (“SQL error: $query — ” . mysql_error());
while ($row = mysql_fetch_array($result)) {
$fnamemem = $row[“firstname”];
and than ECHO it?