RE: [PHP-DB] Warning - newby question -- $_GET

2002-11-06 Thread Peter Beckman
Make sure DNS is working and mysql.db.*.net.au resolves. Better yet, use the IP address unless absolutely necessary to use the hostname. Peter On Thu, 7 Nov 2002, Gavin Amm wrote: > Hi, > > For some reason the page worked the 1st few times, now I get the error > message (after making no cha

RE: [PHP-DB] Warning - newby question -- $_GET

2002-11-06 Thread Gavin Amm
Hi, For some reason the page worked the 1st few times, now I get the error message (after making no changes to the code from when it worked...): (line 5 references the "$db = mysql_co..." line of code) Warning: Unknown MySQL Server Host 'mysql.db.*.net.au' (2) in /home/.../public_html/public/

Re: [PHP-DB] Warning - newby question -- $_GET

2002-11-06 Thread Tony72284
Well, first of all, you have to connect to the database. And, its not always nesecary to have to type in $_GET['id'] to declare a GET variable. Some server software requires it, I think IIS is the only one, its what I use. And its not required for you to u

RE: [PHP-DB] Warning - newby question -- $_GET

2002-11-06 Thread Gavin Amm
[mailto:holmes072000@;charter.net] Sent: Thursday, 7 November 2002 1:20 PM To: 'Gavin Amm'; 'Php-Db (E-mail)' Subject: RE: [PHP-DB] Warning - newby question -- $_GET > I'm trying to call a script with the "?=" after the php script name in the > URL, but can't se

RE: [PHP-DB] Warning - newby question -- $_GET

2002-11-06 Thread John W. Holmes
> I'm trying to call a script with the "?=" after the php script name in the > URL, but can't seem to pick up the variable to use in my script... > any help would be greatly appreciated :) > > I'm calling the script with this url: > http://localhost/Data/test/dbconnect2c.php?id=TestPage > > The s

RE: [PHP-DB] Warning - newby question -- $_GET

2002-11-06 Thread Beau Lebens
eleases. beau // -Original Message- // From: Gavin Amm [mailto:gavin@;ksg.com.au] // Sent: Thursday, 7 November 2002 9:55 AM // To: Php-Db (E-mail) // Subject: [PHP-DB] Warning - newby question -- $_GET // // // Hi, // // I'm trying to call a script with the "?=" after the php //

[PHP-DB] Warning - newby question -- $_GET

2002-11-06 Thread Gavin Amm
Hi, I'm trying to call a script with the "?=" after the php script name in the URL, but can't seem to pick up the variable to use in my script... any help would be greatly appreciated :) I'm calling the script with this url: http://localhost/Data/test/dbconnect2c.php?id=TestPage The section of t