Another php code gone bad...
Posted: Thu Jun 05, 2003 6:46 pm
Ok this code is supposed to allow them to edit their profile, i did something wrong with update i bet, help fix this please:
I would appericate it if u helped me thanks.
Code: Select all
<?php
session_start();
if($logged==1){
?>
<?
mysql_connect("localhost","bladegames", "**");
mysql_select_db("bladegames");
echo "<table>
<tr><td>Number</td><td>Username</td><td>Email</td></tr>
";
$query = mysql_query("SELECT * FROM members ORDER BY id");
while($row=mysql_fetch_array($query))
{
echo "<tr><td>$rowїid]</td><td>$row
<a href="lookup.php?id=<?=row->id>" target="right"> $rowїlogin] </a></td><td>
$rowїemail] </td></tr>";
}
}else{
printf("Your not logged in, plz login again");
};
?>