Look at that code. What's wrong with that? You want to help me? The DV says 52 error.

Source: Internet
Author: User
Tags import database





<title>Internal chain Management</title>


>


Reply to discussion (solution)

var sels = Document.form1.ck_js; what's behind that ck_js?

You paste your code in HTML code format so it's easy for everyone to see. Now this is too hard to see!

Let's go to dinner first, huh?

That's the code.
if (Isset ($_post[' submit ')) && $_post[' act ']== "search") {
Include_once (' conn.php ');//Import Database Connection file
$sql = "Select ' link_id ', ' link_name ', ' link_name ' from ' link_tal ' WHERE ' $searchConditon '";
$rst = mysql_query ($sql, $conn); Execute Query
if ($rst) {//Determine if the query was successful
while (@ $row =mysql_fetch_array ($rst)) {//Loop output results will return 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 connection to release resources
}
?>
Put it in there to get an error.

Put the conn.php out and put out 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 array values like that? Did I ignorant it?
Should it be written $row[' product_id '?

Oh, thanks. That was before the CI framework was written to find a solution or thank you for your parting.

  • 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.