|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I have the impression a thread has disappeared where someone had a
small problem with an unexpected T_STRING. The mistake he had made was only because of the inversion of his php tags ("<?php" and "?>") As I regularly encounter error messages about unexpected T_STRING I asked for a definition of this last one hoping the solving will ever lead to a better feeling for programming in php. OK, I admitted already my web building is just a kind of a hobby, but this could change in future as since a couple of days I got my second task. In case you wonder if I have a php site myself, I confirm that I have one indeed, but just give me some time to check it out myself since the last upload. Still hesitating ing me? Among others I have Google adsense on that site. Would it be spamming too if I put the link here online? If yes I can still use my other account to install joomla and when I'm ready we can still see. Our work bourse online also has a joomla course, do you know that? |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
T_String is like Syntax Error in BASIC, it can mean lots of things, but in general PHP has a problem parsing a line because it was not expecting a string to pop up out of nowhere. To debug you just need to find the line and start looking through it. Could be a bad use of quotes or a mis-typed command, no semicolon, or something along those lines. If you are going to make this a job you will get these, so get used to debugging. :-) A big is having a text editor with line numbers (andf highlighting) and formatting your code (indenting) to make it easy to follow. BTW a better group for PHP programming oriented questions is comp.lang.php I dunno about your last question sounds unrelated to PHP to me. Good luck! |
|
![]() |
| Outils de la discussion | |
|
|