Re: [PHP] problem connecting php and mysql

2005-04-26 Thread Hegeds Balzs
Hi, i'm not so good at running php on microsoft stuff, but it seems you dont have mysql support compiled in or not tuned php.ini properly. You can try php 4.3.11 zip package from http://php.net 'cause it said it has mysql support compiled in. Again, it's just a tip. Balazs Hegedus rahot man

Re: [PHP] Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource

2005-04-25 Thread Hegeds Balzs
Hi all, ever tried to test if your connection to the database succeeded? maybe that's why it shouted that ...not a valid result resource... msg. Balazs Hegedus Mark Sargent wrote: Drewcore wrote: just put a @ symbol before the function calll, eg while ($myrow = @mysql_fetch_row($result)) { etc

Re: [PHP] Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource

2005-04-25 Thread Hegeds Balzs
Hi again, just another tip...it's from the php man: *manmysql_query()* will also fail and return *FALSE* if the user does not have permission to access the table(s) referenced by the query./man Balazs Hegedus Mark Sargent wrote: Drewcore wrote: just put a @ symbol before the function calll, eg

Re: [PHP] radio buttons in $_POST

2005-04-23 Thread Hegeds Balzs
Hi, You solve the problem yourself: the radio input does show up once one of the radios is checked. When it is unchecked is isn't set...if you need to assign it a value in any circumstances you should test it with ?php $chkbox1 = (isset($_POST[radio_test])) ? true : false; ? for example (of