Php hyperlink pass value error 404 solution

Source: Internet
Author: User
Php hyperlink value error 404 I wrote this: a. php file & nbsp; & lt ;? Php & nbsp; $ f = "select & nbsp; * & nbsp; from & nbsp; deal & nbsp; 404 error reported when the where & n php hyperlink is passed
I wrote this:

A. php file
$ F = "select * from deal where user_id = '$ ID '";

$ Res_f = $ conn-> query ($ f );

While ($ row_f = $ res_f-> fetch_assoc ()){
?>
">

 

}
?>


B. php file
$ Id = $ _ GET ['id'];
?>



When I click the hyperlink a of the. php file, error 404 is returned.
The requested URL/index. php was not found on this server

I don't have index. php at all here.


I am a newbie. you can help me with php.
------ Solution --------------------
">

 

This $ id cannot be parsed either. only the echo output can be used.

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.