RE: [PHP-WIN] Inserting symbols into a mysql database from PHP

2001-10-16 Thread Svensson, B.A.T.
: RE: [PHP-WIN] Inserting symbols into a mysql database from PHP > > >Ross, > >A better way to validate your form is to use javascript on the >client side, once the form is validated (using the clients >computer power) you can then send the data to a php script via >

RE: [PHP-WIN] Inserting symbols into a mysql database from PHP

2001-10-15 Thread Ross Fleming
- From: Egil Helland [mailto:[EMAIL PROTECTED]] Sent: 15 October 2001 20:59 To: [EMAIL PROTECTED]; '[EMAIL PROTECTED]'; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] Inserting symbols into a mysql database from PHP function quote($var) { if (is_string($var)) {

RE: [PHP-WIN] Inserting symbols into a mysql database from PHP

2001-10-15 Thread Egil Helland
function quote($var) { if (is_string($var)) { if (strlen($var)>0) { $var="'" . str_replace("\'","\\'",$var) . "'"; } else { $var="NULL"; }

RE: [PHP-WIN] Inserting symbols into a mysql database from PHP

2001-10-15 Thread Corn Vollney-R7019C
Ross, A better way to validate your form is to use javascript on the client side, once the form is validated (using the clients computer power) you can then send the data to a php script via get or post, and have it processed further. V -Original Message- From: Ross Fleming [mailto:[E

RE: [PHP-WIN] Inserting symbols into a mysql database from PHP

2001-10-15 Thread Svensson, B.A.T.
--- >From: Ross Fleming [mailto:[EMAIL PROTECTED]] >Sent: Monday, October 15, 2001 9:02 PM >To: Svensson, B.A.T. ; [EMAIL PROTECTED] >Cc: [EMAIL PROTECTED] >Subject: RE: [PHP-WIN] Inserting symbols into a mysql database from PHP > > >Right, after a bit of experimentation I bel

RE: [PHP-WIN] Inserting symbols into a mysql database from PHP

2001-10-15 Thread Ross Fleming
data into database. Any better ways to do this then? Cheers Ross -Original Message- From: Svensson, B.A.T. [mailto:[EMAIL PROTECTED]] Sent: 15 October 2001 18:25 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [PHP-WIN] Inserting symbols into a mysql database from PHP Why do

RE: [PHP-WIN] Inserting symbols into a mysql database from PHP

2001-10-15 Thread Svensson, B.A.T.
Why doesn't the URL encoding work? >-Original Message- >From: Ross Fleming [mailto:[EMAIL PROTECTED]] >Sent: Monday, October 15, 2001 7:14 PM >To: [EMAIL PROTECTED] >Subject: [PHP-WIN] Inserting symbols into a mysql database from PHP > > >Hi all, > >My problem is that that I have a form t