On Sun, May 28, 2000 at 05:28:30PM +0000, Andraz Sraka wrote:
> $sql = "SELECT * FROM table_name WHERE id=10";
> $result = mysql_query(sql);
if ($num = mysql_num_rows($reesult)) {
> while ($row = mysql_fetch_object($result) ){
> echo $row->podatek1;
> echo $row->podatek2;
> }
} else {
echo "<h1>Your database just sucks!</h1>";
}
Bo delovalo?
David!
---------------
MACINTOSH -- Machine Always Crashes If Not Then Operating System Hangs
- [ LUGOS-PROG ] PHP3 + MySQL Andraz Sraka
- Re: [ LUGOS-PROG ] PHP3 + MySQL Matija Grabnar
- David Klasinc
