You are here: Re: why does this code not work...pulling my hair out... « PHP Programming Language « IT news, forums, messages
Re: why does this code not work...pulling my hair out...

Posted by Daniel Tryba on 10/03/52 11:19

toedipper <send_rubbish_here734@hotmail.com> wrote:
> $insertSQL = sprintf("INSERT INTO software (title, shortdesc, `desc`,
[snip]
> current_time(), '$_SESSION[MM_Username]')",

Spot the difference:
http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.single
vs.
http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.double

Also consider reading
http://www.php.net/manual/en/language.types.array.php#language.types.array.donts

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация