You are here: problems using chr() in an Object « PHP « IT news, forums, messages
problems using chr() in an Object

Posted by Mart�n Marqu�s on 04/28/05 15:04

I have an object class in which I'm doing chr() calls, especifically in the
definition of some variables, and when loading the class I get this error:

Parse error: parse error, unexpected '(', expecting ',' or ';' in Ticket.inc
on line 51

Line 51 has:

var $textoInicio = chr(27) . chr(64);

If I eliminate all the lines that initializa text variables with chr()
everything works OK, else I get these errors.

Any idea on whey this is happening?

--
09:01:41 up 26 days, 17:30, 3 users, load average: 1.18, 0.80, 0.54
-----------------------------------------------------------------
Martín Marqués | select 'mmarques' || '@' || 'unl.edu.ar'
Centro de Telematica | DBA, Programador, Administrador
Universidad Nacional
del Litoral
-----------------------------------------------------------------

 

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

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