* Thus wrote Jake McHenry ([EMAIL PROTECTED]): > > -----Original Message----- > > From: Chris Shiflett [mailto:[EMAIL PROTECTED] > > > > --- Jake McHenry <[EMAIL PROTECTED]> wrote: > > > $result = mysql_query("SELECT * FROM `users` WHERE `uname` = > > > '".$_POST['username']."'"); > > > > "select * from users where uname = '{$_POST['username']}'" > > Is there any advantage to the curly brackets over the '".."'?
50% readability. 50% personal prefernce. Curt -- "My PHP key is worn out" PHP List stats since 1997: http://zirzow.dyndns.org/html/mlists/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php