note 20527 rejected from function.mysql-query by sander

From: Date: Sat, 06 Apr 2002 21:15:40 +0000
Subject: note 20527 rejected from function.mysql-query by sander
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-28779@lists.php.net to get a copy of this message
I have a function that I use a lot, written by Edgewize over at Warcraft.org. It's useful for quickly retrieving a field from a table in the mysql database. Example.. we have the id of a sport and we'd like to get the title of the sport, but that's all. $sport = mysql_query_simple("select title from sports where id=$id"); It's bloody simple. I use it all the time.

« previous php.notes (#28779) next »