Search
 
SCRIPT & CODE EXAMPLE
 

PHP

PHP Parse error: syntax error, unexpected ...

<?php
	/* This usually occurs because you have either missed to put a semi-colon
    or a comma or a single-quote or double-qoute in a statement */
  
    #Make sure to not forget that!
?>
Comment

php parse error: syntax error, unexpected t_string on line 1

//usually this means missing ' or " in a statement
echo 'xyz; //this will cause unexpected t_string error
echo 'xyz 'ax'';//this will cause unexpected t_string error
Comment

0

//Use proper fomat
<?php
  //your code
  
 ?>
Comment

PREVIOUS NEXT
Code Example
::  
Php ::  
Php ::  
::  
::  
::  
::  
::  
::  
::  
::  
::  
::  
::  
::  
::  
::  
:: Consider using the "jsdom" test environment. 
::  
::  
Javascript :: nest js install and create project 
::  
::  
::  
::  
::  
::  
:: scroll to element javascript 
::  
Javascript ::  
ADD CONTENT
Topic
Content
Source link
Name
7+8 =