On Tue, Jan 8, 2013 at 11:54 AM, Ethan Rosenberg, PhD
wrote:
> Dear List -
>
> 1] What function(s) do you use for error checking?
> 2] What are the settings for the parameter(s) in the functions?
> 3] Do you have different php.ini files for development and production?
This makes more sense answer
Dear List -
1] What function(s) do you use for error checking?
2] What are the settings for the parameter(s) in the functions?
3] Do you have different php.ini files for development and production?
Thank you.
Ethan
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 26 June 2003 20:22
>
> What I would like to do is somehow have a redundant error
> check on the server
> side and then display an error message above the form on the
> main page should
> fields be left blank
-- Forwarded Message
> From: David Shugarts <[EMAIL PROTECTED]>
> Date: Thu, 26 Jun 2003 18:53:53 -0400
> To: <[EMAIL PROTECTED]>
> Subject: Re: [PHP-DB] error checking question
>
> Hi, David--
>
> The question you are asking belongs to the topic or co
Hello everyone,
I've been experimenting with checking for errors in data inserted into a table
using an html form. The main page displays the result of a "select * from
the_table" at the top of the page, with the form for inserting the data beneath.
The SQL for the insert occurs on a differe
DB List (E-mail)
Subject: RE: [PHP-DB] Error checking and escaping before running a query
(MySQL)
Dave,
sounds like you are on the right track, but rather than use the
comparatively bulky regular expression engine, why not just the
light-weight
string function
str_replace( ",", "
ld be able to do
str_replace( "\"", " ", $searchbox );
without violating any holy regex laws :)
// -Original Message-
// From: Dave Watkinson [mailto:[EMAIL PROTECTED]]
// Sent: Wednesday, 8 August 2001 3:18 PM
// To: PHP-DB List (E-mail)
// Subject: [PHP-DB] Error
Hi all
I have a searchbox that throws a wobbly when certain characters are
entered into it - basically the user is supposed to enter a
space-delimited list of words to search for, and then I create an array
from it and turn it into an OR etc query.
What I initially did was replace all commas w