Re: [PHP-DB] Error with addition of second

2004-09-18 Thread randy
> echo "Score 1; You'll get an error here too...missing quotes (") On Sat, 18 Sep 2004 22:07:37 -0700, Cole S. Ashcraft <[EMAIL PROTECTED]> wrote: > It doesn't like the }; > > > On Sat, 2004-09-18 at 19:04, Mark wrote: > > --- [EMAIL PROTECTED] wrote: > > > > > Dear friends, > > > > > > Wi

Re: [PHP-DB] Error with addition of second

2004-09-18 Thread Cole S. Ashcraft
It doesn't like the }; On Sat, 2004-09-18 at 19:04, Mark wrote: > --- [EMAIL PROTECTED] wrote: > > > Dear friends, > > > > With 4 radio buttons and php snippet, it gives desired output, > > however when I > > add second question in the html form and variable for the same like > > $variable =$_PO

[PHP-DB] Error of radio buttons

2004-09-18 Thread Remember14a
Dear Friends, Want to get rid of this error, pasted below. Line 19 comes at "else" statement. Any guidance, please. --- Parse error: parse error, unexpected T_ELSE in C:\HOME\doctorbush\quiz.php on line 19 -

Re: [PHP-DB] HTML question

2004-09-18 Thread David Orlovich
I think you're just missing some double quotes (which you have to escape). How about something like this: echo "mailto:";, $row['Email'], "\">", $row['Email'], ""; Cheers, David. On 19/09/2004, at 3:31 PM, Pete Holsberg wrote: I have a database that has an email field. I would like the web page

[PHP-DB] HTML question

2004-09-18 Thread Pete Holsberg
I have a database that has an email field. I would like the web page that is created dynamically from this database to have a "mailto:"; link for each email address but I don't know what to put in the email field. I tried replacing echo "{$row['Email']}\n"; with echo "mailto:{$row['Email']}>{$

Re: [PHP-DB] Error with addition of second

2004-09-18 Thread Mark
--- [EMAIL PROTECTED] wrote: > Dear friends, > > With 4 radio buttons and php snippet, it gives desired output, > however when I > add second question in the html form and variable for the same like > $variable =$_POST['q'] in Php snippet > it gives me error. > > I have pasted php code when i

[PHP-DB] Error with addition of second

2004-09-18 Thread Remember14a
Dear friends, With 4 radio buttons and php snippet, it gives desired output, however when I add second question in the html form and variable for the same like $variable =$_POST['q'] in Php snippet it gives me error. I have pasted php code when it works and when it gives error. Any guidance, p

[PHP-DB] Re:[PHP-DB] Error radio buttons

2004-09-18 Thread Yasuhiro Saito
Original code didn't get radio check box's value. You can use $_POST[ ] . -- Yasuhiro Saito -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Error radio buttons

2004-09-18 Thread Remember14a
Dear friends, I have a form with radio check boxes, on submission to Php snippet output should be score ! if user clicks right answer, otherwise score-0 However it is repeatedly giving me score-1 irrespective of correct radio button is clicked or incorrect radio button is clicked. Any guidance,

Re: [PHP-DB] mysqli_result() ?

2004-09-18 Thread Chris
Ok thanks, I appreciate the response. Chris Georg Richter wrote: Am Sa, den 18.09.2004 schrieb Chris um 0:50: Hi, is there any MySQLi equivalent to the mysql_result function? Nope. mysql_result is very slow, so we didn't implement it. Use mysql_fetch_row instead and use the row offsets to r

[PHP-DB] How to use persistent connect for mysqli ?

2004-09-18 Thread Unreal HSHH
There is mysql_pconnect(), but how to use persistent connect for mysqli ? -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php