Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,194,943 members, 7,956,562 topics. Date: Monday, 23 September 2024 at 02:03 PM |
Nairaland Forum / Science/Technology / Webmasters / PHP Developers, Please Help (320 Views)
PHP Developers, Please Come In / Web Developers Please Help!!! / Web Developers, Please Don't Make The Mistake I Made! (2) (3) (4)
(1) (Reply)
PHP Developers, Please Help by AllyPolly: 7:02am On Oct 16, 2021 |
Modified , I have attached link to the program codes to this post - Google drive , nairaland didn't allow txt file containing SQL query. l I have an issue that I can't seem to find solution to for 3 days now. Please help! Overview : This a product rating / review system for a test website. In the first screenshot below, the query on line 54 runs well. In the second screenshot, I tried to get a value from a form in the previous page as use it as a variable in the query, then the query will not work. The third screenshot, I realized that the if I put the codes such as below anywhere in the code, then the query won't work(including line 54 that was working before, and it doesn't return any error. $work_id = $_POST['work_id']; Link to the program file Index https://drive.google.com/file/d/1il156QZR3aWrCTg8q6rVCChvNWTD7YwO/view?usp=drivesdk Submit rating https://drive.google.com/file/d/1ibuXPrDmPYaIm5iLCxjImZjtZNJN3JNx/view?usp=drivesdk
|
Re: PHP Developers, Please Help by Jas80: 12:01pm On Oct 16, 2021 |
Are you sure there is anything as 'work_id' in the $_POST request?, Also check the form action |
Re: PHP Developers, Please Help by AllyPolly: 3:21am On Oct 17, 2021 |
Jas80: 100% |
(1) (Reply)
Content Is The Online King, Discover The Queen / How To Solve Discovered Currently Not Indexed (wordpress) / How To Run Adverts Professionally: Ads Secret From Top Brands
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 16 |