Shaun wrote:
function db_query($query) {
if(!magic_quotes_gpc()){
$qid = mysql_query(addslashes($query));
} else {
$qid = mysql_query($query);
}
return $qid;
}
But this adds too many slashes! Has anyone come to a better solution
regarding this?
I believe you should be
=Storing data -
please wait;
return ok
}
--
/SCRIPT
...
input type=image onclick= return checkFields()
src=images/next_button.gif name=next border=0 value=submit
alt=Next
span id=please_wait/span
Not that it's PHP, but it works...
Tim Owens
-Original Message-
From: Geoff Caplan
-Original Message-
From: Curt Zirzow [mailto:[EMAIL PROTECTED]
Sent: Monday, 1 November 2004 3:46 p.m.
To: [EMAIL PROTECTED]
Subject: Re: [PHP] beginnind and end of the week
* Thus wrote Jerry Swanson:
I need to run a query using PHP/MYSQL. The query should be for a week.
So if today is
It works happily on my laptop. They have safe mode off. The PHP manual
talks about shell_exec needing to be enabled, but doesn't give any clue
how.
Any clues?
Tim Owens
Dataview Design Ltd
- innovative quality web automation -
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
4 matches
Mail list logo