Posted by JDS on 11/11/28 11:19
On Wed, 22 Jun 2005 05:29:09 -0700, 21novembre wrote:
> mysql_connect() or die ("Problem connecting to DataBase");
> $query = "select * from tbl";
> $result = mysql_db_query("example", $query);
Go to the mysql_* section on http://www.php.net
COPY AND PASTE THE CODE EXAMPLES EXACTLY. Change the names.
Problem solved.
No point in reinventing the wheel. Plus the php.net site's examples
include some error checking and whatnot that your script desperately needs.
later...
--
JDS | jeffrey@go.away.com
| http://www.newtnotes.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/
Navigation:
[Reply to this message]
|