Curt. Thanks for the pointer and yes, I should be doing that and overlooked it this time.
It's working now as I seem to be echoing the second record in the table and will plug away at getting the table defined. Thanks for all your help Curt. -- ----------------------------- Michael Mason Arras People www.arraspeople.co.uk ----------------------------- "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > * Thus wrote Harlequin: > > Richard > > > > Thanks firstly for your help. I renamed the fields so the spaces are > > underscores and amended your query but still receive an error: > > > > "not a valid MySQL result resource " > > > > Still tinkering though... > > All this tinkering and database schema's are simply the long way > around things. Just use mysql_error() after you query. > > mysql_query($sql) or die(mysql_error()); > > You'll know exactly whats wrong. > > > Curt > -- > First, let me assure you that this is not one of those shady pyramid schemes > you've been hearing about. No, sir. Our model is the trapezoid! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php