Re: on-rev and mysql_connect and php

2011-03-15 Thread Bob Sneidar
Whoops maybe I misunderstood you. I saw on-rev in the subject. Bob 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/t

Re: on-rev and mysql_connect and php

2011-03-15 Thread Bob Sneidar
If it's on-rev, it should be your user name, a period and the server. as in myloninname.on-rev.com. Your database name is myloginname_databasename. You user is myloginname_username. So if my login name was slydawg, and my database was dogsofwar, and my user name was baddawg, it would be slydaw

Re: on-rev and mysql_connect and php

2011-03-14 Thread Mike Bonner
Make sure dbinfo.inc.php exists, and is in the same directory as insert.php Alternatively put the full path to dbinfo.inc.php into your include statement. To break down the error, first part is the error. Warning: include(dbinfo.inc.php) [function.include]: failed to open stream: No such file or d

on-rev and mysql_connect and php

2011-03-14 Thread John Patten
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); i