Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,194,186 members, 7,953,672 topics. Date: Thursday, 19 September 2024 at 10:30 PM |
Nairaland Forum / Science/Technology / Webmasters / A little error. (902 Views)
Please Webmasters I Need A Little Help With Making Money From My Site. / A Little Help On This / Airtel Nigeria Website Error Prone? (2) (3) (4)
A little error. by A7(m): 6:12pm On Oct 10, 2014 |
Will just snap & upload the shots. The browser isn't parsing some codes.
|
Re: A little error. by A7(m): 6:16pm On Oct 10, 2014 |
.html & .php codes
|
Re: A little error. by Nobody: 6:42pm On Oct 10, 2014 |
Na wa o [img]http://google.com[/img] |
Re: A little error. by DualCore1: 6:43pm On Oct 10, 2014 |
You are getting that because your browser cannot parse php code without a webserver. The right way to access your projects on xamp is through http://localhost. For this very project it is http://localhost/play/form.html Ensure apache server is started in your xamp control panel before running it. In a nutshell do not open files directly on the browser by double clicking them. 1 Like |
Re: A little error. by udokpuenyi(m): 9:54pm On Oct 10, 2014 |
Exactly as Duacore1 said it, as an addition check if the post is set before accessing the $_POST array values, give your submit button a name and use it to check if your form is actually sending values to the test.php script. In test.php type the below code <?php if(isset($_POST['submit_form'])){ /* where 'submit_form' is the name of your submit button*/ echo $_POST['submit_form']' } ?> once a webserver engine is on, the above script will run and you will access other values likewise 1 Like |
Re: A little error. by A7(m): 12:08pm On Oct 11, 2014 |
Thanks guys. That helps. |
(1) (Reply)
Etvafrica.com Free Music/video Upload For Free Contact Me / Wordpress Boot Camp March, 2015 / Fraud Mario Gomes Cavalcanti- New Fraudster At Online Market
(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. 6 |