Php-PHP cannot display content in the SQL table

Source: Internet
Author: User
The error message "Notice: Undefinedvariable: rowinC: wampwwwtestPHP26main. phponline43" is displayed in the SQL table. Blocked warnings are used. However, SQL data cannot be displayed. Main. phpConten phpsql

Error message:
Notice: Undefined variable: row in C: \ wamp \ www \ test \ PHP26 \ main. php on line 43
I want to use PHP to create a table to display the data in the SQL table.
Blocked warnings are used. However, SQL data cannot be displayed.
Main. php
Error_reporting (E_ALL &~ E_NOTICE );

$ Link_ID = mysql_pconnect ('localhost', 'root ','');
If (mysql_select_db ('Salesman', $ link_ID )){
Echo "OK ";
} Else {
Echo "NG ";

$ SQL = "select * from users ";
$ Query_ID = mysql_query ($ SQL );
$ Num = mysql_num_rows ($ Query_ID );
While ($ Record = mysql_fetch_array ($ Query_ID )){}


Td {border: #666 solid 1px;} $ (function () {$ (". button "mirror.mouseover(function(commandid (this%.css (" backgroundColor "," red ")}) $ (". button "pai.mouseout(function({{}(this}.css (" backgroundColor ","")})})








Political outlook


Education level


Date of birth














Phone Number







I don't know where to write the error. Or is SQL incorrect?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.