|
Posted by Geoff Berrow on 09/26/05 23:50
I noticed that Message-ID:
<1127766768.439415.269120@o13g2000cwo.googlegroups.com> from wgerry
contained the following:
>Thanks for your reply so quick Geoff, but I tried it a few different
>ways and Ive just tried it your way by copying and pasting (just to
>make sure) and I still get the same result.
OK. I assume the database connection is ok and that
you have edited all the bits you need to edit to connect to your
database?
//connect to your database ** EDIT REQUIRED HERE **
mysql_connect("host ","usename",password"); //(host, username,
password)
//specify database ** EDIT REQUIRED HERE **
mysql_select_db("online") or die("Unable to select database"); //select
which database we're using
If that's ok...
Have you got phpMyadmin? If so, echo the $query to the screen and then
cut and paste it into PHPMyadmins SQL box. You can then test the query.
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Navigation:
[Reply to this message]
|