![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.php archiveRe: php form info...
From: Malcolm Dew-Jones <yf110@vtn1.victoria.tc.ca>
Date: Fri Oct 21 2005 - 01:17:13 CEST
starbuck (sbj2k1@yahoo.com) wrote:
: $var = $_POST["textfield"];
: $testvar = $var + 2;
: echo $var;
: below is the output for different search keywords.
: as you can see, anything that starts with info is converted to a
: this is very weird and i haven't found ways to work around it, the only
You appear to be misunderstanding and misexplaining your problem.
The example above uses mathematical addition within a php expression to
That shows nothing at all about what ever problem is occurring with mysql.
The results within php (shown above) depend a great deal on the contents
You might wish to check exactly what query string you are sending to
I always use the following idiom
$sql = "select whatever ...";
mysql_query($sql ...etc...
The point being that if you build the query as a standalone string then it
echo $sql;
-- This programmer available for rent.Received on Mon Oct 24 02:11:27 2005 |