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 retrieve the content
of a column. See also
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
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
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
?php
$variable = $_POST['R'] ; ---
if ($variable == 3) {
echo Score 1;
}
else {
echo Score 0;
};
?
Original code didn't get radio check box's value.
You can use $_POST[ ] .
--
Yasuhiro Saito
--
PHP Database Mailing List
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,
--- [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 it works
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 td{$row['Email']}/td\n;
with
echo tda
I think you're just missing some double quotes (which you have to
escape). How about something like this:
echo tda href=\mailto:;, $row['Email'], \, $row['Email'],
/a/td;
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
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
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 =$_POST['q'] in
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,
With 4 radio buttons
12 matches
Mail list logo