I'm trying to make a updatepage on info about members but i have run into a dead end... I get this message when i try it...
Warning: Supplied argument is not a valid MySQL result resource in d:\web\docs\darkeden\web\langtrue\login\update\upd_kar.php on line 12
This is the code...
<?php
global $id;
$link = mysql_connect("localhost","","") or die ("Unable to connect to MySQL server.");
mysql_select_db("raser");
$result = mysql_query("SELECT * FROM karaktarer WHERE id=$id");
line 12->$row = mysql_fetch_row($result);
?>
And this is the code i'm trying to access the database with
<input type="text" name="gille" class="textbox" value="<?php echo $row['gille'];?>">
what is the problem???
can anyone help me on this please...
//T-man