php - Adding link to the database-called element in while loop -


I want to add a link to the discovered element which is done through AJX. Search. In Php I have followed the code but apparently it is not working. ($ Row = mysql_fetch_array ($ res_old)) {echo "

  • Why is not anyone doing this work but some light shade? Just the link is not being added, the results are recovering.

    The real problem here is not a missing tag

      and    = '? Search.php productid = '$ productid' & gt;   

    If you look at syntax highlighting, then it becomes clear what is wrong here; Since attribute values ​​can be marked by quotation marks, you can actually eliminate your property values ​​at first expressions, thus it is giving a wrong tag.

    If you want to work your code, you must save them from quotes, or do something else:

       

    Of course, this is not the only error:

      echo "


  • Comments

    Popular posts from this blog

    c - Mpirun hangs when mpi send and recieve is put in a loop -

    python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

    java - Unable to get JDBC connection in Spring application to MySQL -