|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Parse error: parse error, unexpected T_STRING in /web/sites/337/fal-serraj/www.fal-serraj.f2s.com/forum/do_addtopic.php on line 3
1:<?php 2: 3:if ((!$_POST[topic_owner]) ¦¦ (!$_POST[topic_title]) 4: ¦¦ (!$_POST[post_text])) { 5: header("Location: addtopic.html"); 6: exit; 7:} I can not see the problem myself, but I am new to php and any help would be greatfully welcomed. |
|
#2
|
||||
|
||||
|
wrong char for the OR use || not ¦¦ (what char on the keyboard is that anyways?)
|
|
#3
|
|||
|
|||
|
Cheers for that viper.
The char is the one under the Esc key with Ctrl + Alt pressed. I was copying a script fron a book and that was the char in the text. Cheers again. |
|
#4
|
||||
|
||||
|
ah ic
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > Parse error |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|