Fw: [PHP] ERROR IN THIS CODE
| From: | Jorge | Date: | Sun, 05 Sep 2004 14:39:17 +0000 |
| Subject: | Fw: [PHP] ERROR IN THIS CODE | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-195911@lists.php.net to get a copy of this message | ||
include('include/conexion.php');
include('include/conf.php');
$sql = "SELECT * FROM oposicions WHERE id = '$id'";----------------> I think that the problem is here.
$result = mysql_query($sql, $link);
while( ($row=mysql_fetch_object($result)) ) {
$nome = $row->nome;
In my database exist the table oposicions with a field called id.My php version es 4.3.38 and of mysql is 3.23.58
thank you in advance