Home > Backend Development > PHP Tutorial > syntax error, unexpected T_CONCAT_EQUAL_PHP教程

syntax error, unexpected T_CONCAT_EQUAL_PHP教程

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-13 10:51:47
Original
1239 people have browsed it

syntax error, unexpected T_CONCAT_EQUAL

Parse error: syntax error, unexpected T_CONCAT_EQUAL, this problem is a simple problem that occurred when I was writing a php program today. In fact, it is not a problem. ,

Let’s take a look at this code.

sql ="Select * from * where user_myid= '$uid' and user_type=0";
$result = mysql_query( $sql ) ;
if( mysql_num_rows( $result ) )
{
while( $rs = mysql_fetch_array( $result ) )
{
temp.= " n";
}
}

Haha, did you see the blue temp column?

There is a $ sign missing in the front. It is not a problem, but it will be a big problem if you are not careful.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/632537.htmlTechArticlesyntax error, unexpected T_CONCAT_EQUAL Parse error : syntax error, unexpected T_CONCAT_EQUAL, this problem was when I was writing a php program today A simple question arises, is this actually...
Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
Syntax error, unexpected ':'
From 1970-01-01 08:00:00
0
0
0
The syntax for creating a table is wrong
From 1970-01-01 08:00:00
0
0
0
Syntax error or access violation - Laravel
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template