Is it possible for you to store the vehMdlCd array as a serialized field in
your database?
I'm not sure how your data is structured, but you would serialize() your
data on the way into the db then unserialize() it when you select it. When
it's unserialized, you'll get it back in the original array
WAMP5. I use it myself.
http://www.en.wampserver.com/
Rich
-Original Message-
From: Philip Pryce [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 15, 2006 11:55 AM
To: [email protected]
Subject: Re: [PHP-DB] WAMP
apache triad 2 is good,
http://apache2triad.net/
very well tested. b
Simon,
You really should run at least the mysql_real_escape_string function as one
part of a defense against SQL injection attacks. "Serialize"-ing really only
converts your array into a format the database can store and retrieve; it
doesn't do anything to protect you from intentional or unintenti
Use the strtolower function to reduce all letters to lower case.
Then use the stripos() function to find where the spaces are in the string
and use that position in the substr() function to parse out the individual
words in the string. From there you can put the chunks into an array or a
query or
The mysql_affected_rows() function will tell you how many rows were affected
by the DELETE query you just fired. You can also test for TRUE or FALSE on
the mysql_query() function if you just want to know if the query was
successful or not.
Rich
-Original Message-
From: ron.php [mailto:[E
301 - 305 of 305 matches
Mail list logo