You are here: Re: unexpected T_STRING « PHP Programming Language « IT news, forums, messages
Re: unexpected T_STRING

Posted by Good Man on 09/12/07 03:44

Jerry Stuckle <jstucklex@attglobal.net> wrote in
news:AKadnV7U3fWkzHrbnZ2dnUVZ_hudnZ2d@comcast.com:


>> <? php
>> $conn = connect();
>> $showrecs = 15;
>> $pagerange = 10;
>> and a lot more.
>> If the error is not in line 1 it should be here I guess.
>> Should I have a closer look to the function connect()?
>
> This shouldn't cause a problem on line 1. An error may be indicated
> later in the file, but not before the error occurs.
>
> Are you sure you copy/pasted this exactly as it appears? Other than
> the missing semicolon, there's no problem.
>
> Unless you have some invisible text on there somewhere which isn't
> pasting.

an eagle-eyed poster noticed the <? php instead of <?php

!!!!!!!

 

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

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