I have a table where the row named hide can have a value 0 or 1.
I want to obtain a count of all the rows where hide has value 0.
The following works on mysqladmin:
SELECT SUM( hide = 0 ) FROM `names` LIMIT 0, - 1
Giving
SUM( hide = 0 )
7
The PHP script statements generated are:
$sql =
Errnest
Thanks. I used htlmentities and still have the truncation.
Mike
---
Ernest E Vogelsinger wrote:
At 22:04 17.02.2003, Michael Eacott said:
[snip]
When I have the following in a form:
?php $testvar = a b c; ?
input type=text size=20
Kevin
I tried flushing and also IE 6 and Netscape 6.2. Still getting truncation.
Mike
---
Kevin Stone wrote:
Hmm. Don't know what to tell ya. It works on my computer. Have you tried
pressing CTRL+F5 to flush your browser cache?
- Kevin
- Original Message -
From: rentAweek
Thanks
I tried our your suggestion sic:
input type=text size=20 name=testvar value=?php echo $testvar; ?
Still truncation
Mike
---
Kevin Stone wrote:
It's your HTML Failing to enclose the value in quotes may lead to
truncation. Your output looks like this...
input type=text size=20
Jason
Thanks for your help .
I've implemented you advice. The problem persists in that I'm trying
create the following situation:
When the posted action php script runs I want the retrieved $_POST array
to contain such information that the action script can find out what
checkboxes were
5 matches
Mail list logo