Let's see where this code went wrong. can you help me? In a hurry, DV said 52 reported an error.

Source: Internet
Author: User
Let's see where this code went wrong. can you help me? In a hurry, DV said 52 reported an error.




Internal chain management


>


Reply to discussion (solution)

Var sels = document. form1.ck _ js; what is ck_js next?

You paste your code in HTML code format, which is easy to see. Now it's too hard!

Have dinner first

This is the code.
If (isset ($ _ POST ['submit ']) & $ _ POST ['AC'] = "search "){
Include_once ('Conn. php'); // introduce the database connection file
$ SQL = "SELECT 'link _ id', 'link _ name', 'link _ name' FROM 'link _ tal 'where' $ searchConditon '";
$ Rst = mysql_query ($ SQL, $ conn); // execute the query
If ($ rst) {// determines whether the query is successful
While (@ $ row = mysql_fetch_array ($ rst) {// returns the result to the $ row array.
Foreach ($ product_info as $ row ){
Echo"". $ Row-> product_id ."";
Echo"". $ Row-> product_name ."";
Echo"". $ Row-> product_time ."";
Echo"". Anchor ('updatelink. php/'. $ row-> link_id );
Echo"";
Mysql_close ($ conn); // close the connection to release resources
}
?>
Put inAn error is reported.

Post conn. php and the error message.

Echo"". $ Row-> product_id ."";
Echo"". $ Row-> product_name ."";
Echo"". $ Row-> product_time ."";
Echo"". Anchor ('updatelink. php/'. $ row-> link_id );
Can you take the array value like that? Is it me?
Should I write $ row ['product _ id'] like this?

Oh, thank you. I used the CI framework to find a solution or thank you for your attention.

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: info-contact@alibabacloud.com 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.