Re: No data being put into the DB

From: Date: Thu, 04 Mar 2004 03:09:18 +0000
Subject: Re: No data being put into the DB
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-33280@lists.php.net to get a copy of this message
On Thursday 04 March 2004 10:36, jeffrey_n_Dyke@Keane.com wrote: > >>IMO it is better to use the braces syntax: > >>"insert into show > > >>>>values('','{$_POST['Accnt_name']}','{$_POST['acc_num']}', > >>...)" > > I'm not second guessing at all, just curious as to why? Is it less work on > the parser? > Do you find it cleaner? Consistent - items in arrays are always referenced by $array['item']. Clean - no jumping in and out of double-quotes > I've often used Richard's method myself, for the > color coding that shows > in my editors(Ultraedit and VIM) when concatenating with . , mainly for > readability...but have found myself, of late, using the braces more... The braces syntax highlights fine on Quanta. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-db ------------------------------------------ /* Never go to bed mad. Stay up and fight. -- Phyllis Diller, "Phyllis Diller's Housekeeping Hints" */

« previous php.db (#33280) next »