Next it is good practise to set the following: Also become familiar with “http://php.net/manual/en/index.php”, it has many good examples and detailed descriptions. FYI: $_POST in php 5.3.5 does not work PHP POST not working I am pleased you managed to solve your problem. Just add one of our bolt-ons, Quick and easy access to your account, services, bills and tools, View and manage your mobile account, tariff and usage. someone suggested that i try phpinfo() and it worked, it gave me a list of info.
echo ‘something’; gussy81, May 29, 2011 in PHP Coding Help. Mark as New; Bookmark; Subscribe; Subscribe to RSS Feed; Highlight; Print; Report to Moderator; Peter, Thanks for you response. pls advice and let me know what you think. $pass = ‘AAAAAA’; We have placed cookies on your device to help make this website better.
Copy+Pasting from tutorials will only get you so far. and secondly i am using notepad++.
… so if the OP looked at the source code of the generated web page, they would see the ‘broken’ html … I guess. $email = S_POST[‘email’];
$line[pass] is declared only to exist within the while loop; you can't use it outside of it. and no i did not do any installation. it shoud have been “login.php” !!! { its odd, as the first echo works fine. Your missing a tag, but it should work. Well i can tell you immediately that THAT isnt going to work. but i find that confusing, so how do i attach it to a certain link in my index page. the first echo in my code works but the one embedded inside the html code prints nothing to the page. Your problem is that you're using a while loop to define your array, and not just defining it. see i have been trying to write a code for user registration n login and it did not work at all. i want to print query into my html page inside html tags. I think that post_max_size must less than upload_max_filesize. Therefor, you're defining $line as FALSE in order to end the loop, so when you try to echo it later, you're pretty much saying echo FALSE; What you want to do, when you want a single result as an array, is this. $firstname = S_POST[‘firstname’];
hi there all. For the php code to be interpreted it must have a file extension of .php and not .htm or .html. its not even posting the echo. see i have been trying to write a code for user registration n login and it did not work at all.
PHPINFO runs fine. thank you my friend thAT is fantastic advice. This topic is now archived and is closed to further replies. Re: Simple(?) The reason the second one isn't working is because it's not in your while loop. $pwd = S_POST[‘pwd’];
Recent Comments