Reply to Re: How come I can't do this query with php script?

Your name:

Reply:


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/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация