[PHP] Re: PHP/MySql noob falls at first hurdle

2005-12-09 Thread Brice
On 12/9/05, Paul Jinks <[EMAIL PROTECTED]> wrote: > Brice wrote: > > > > Try to check the key of your result row with a print_r or a var_dump > command. > > > > Brice Favre > > http://pelmel.org/ > > > > Like this? > > while($ouput_row = mysql_fetch_array($result)) > print_r($out

RE: [PHP] Re: PHP/MySql noob falls at first hurdle

2005-12-09 Thread Dan Parry
PROTECTED] Sent: 09 December 2005 15:05 To: php-general@lists.php.net Subject: Re: [PHP] Re: PHP/MySql noob falls at first hurdle Brice wrote: > > Try to check the key of your result row with a print_r or a var_dump command. > > Brice Favre > http://pelmel.org

Re: [PHP] Re: PHP/MySql noob falls at first hurdle

2005-12-09 Thread Paul Jinks
Brice wrote: Try to check the key of your result row with a print_r or a var_dump command. Brice Favre http://pelmel.org/ Like this? Apologies if this is pathetically wrong. Like I said, I'm a total noob. The above returned no data or errors, by the way. Thanks Paul -- PHP

[PHP] Re: PHP/MySql noob falls at first hurdle

2005-12-09 Thread Brice
> Are short tags disabled? Change this line... > > > > To... > > This line seems to work : Result of -- Brice Favre http://pelmel.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP/MySql noob falls at first hurdle

2005-12-09 Thread Brice
On 12/9/05, Paul Jinks <[EMAIL PROTECTED]> wrote: > Hi all > > I've been asked to put simple database interactivity on an academic > site. They want users to enter a few details of their projects so other > researchers can search and compare funding etc. How difficult can that > be, I thought >