You are here: Re: select statement in php « PHP Language « IT news, forums, messages
Re: select statement in php

Posted by Mr. Newt on 04/21/07 21:50

"The Beloved" <maybe@one.day> wrote in message
news:g5vk23hm96djqfo3076m6c3g97o9ep6g0l@4ax.com...
> On Sat, 21 Apr 2007 17:05:13 -0400, "Mr. Newt"
> <lektrikpuke@_yahoo.com> wrote:
>
>>Why does this just hang?
>>
>><?php
>>include ("connect.php");
>>$test = select count(*) from advertiser_info_tbl;
>>echo $test;
>>?>
>
> Because select is no PHP function and you simply don't have any output
> if error reporting is turned of.
>
> Nothing 'hangs', you are writing bad code.
>
> --
> ...For Those Not Te Be Forgotten...

Okay. Thanks.

 

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

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