Click to See Complete Forum and Search --> : Stupid question


Perfidus
11-17-2003, 06:51 PM
I have a table that stores sessions.
Every session is unique and different so if I query:

$pegar2 = "SELECT Inmo FROM $tabla2 WHERE (Sesion='$session')";

It should give me only 1 record.
How can I echo this?

Jona
11-17-2003, 07:31 PM
$row=mysql_fetch_assoc($pegar2);

$record = $row["Inmo"];


[J]ona