on-rev and mysql_connect and php
bobs at twft.com
Tue Mar 15 12:52:23 EDT 2011
Whoops maybe I misunderstood you. I saw on-rev in the subject.
On Mar 14, 2011, at 7:54 PM, John Patten wrote:
> Hi All...
> I have a very basic mysql/php tutorial I'm attempting to make work on on-rev.
> The php/mysql tutorial is available here: http://www.freewebmasterhelp.com/tutorials/phpmysql/1
> My question is related to the insert.php code. It shows:
> mysql_connect(localhost, $username, $password);
> in line 4 of the insert.php file. However, I only get warnings such as:
> Warning: include(dbinfo.inc.php) [function.include]: failed to open stream: No such file or directory in /home/..../insert.php on line 2
> What should the server host name be for the mysql database, localhost or something else?
> I'd also be open to another mysql/php example if anybody has one handy...
> Thank you!
> John Patten
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode