its not even posting the echo. { well i hv been writing the code on notepad++ and uploading it by pasting the code in kompozer. I broken my post method once that I set post_max_size the same with upload_max_filesize. is what i am doing wrong? Having read through it a few times I think I now understand the problem I have encountered - basically having HTML in a php file works whereas having php lines in a HTML files does not. thank you my friend thAT is fantastic advice. Start new topic; Recommended Posts. look at my code if it helps: mysql_connect("localhost", "root", "123456") or die("Connection Failed"); mysql_select_db("man_utd")or die("Connection Failed"); $query = "select * from members where username = 'burns'"; while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) {, ,
tag, but it should work. Your problem is that you're using a while loop to define your array, and not just defining it.
When i post say this: when i post a simple php echo code, it is working perfectly!!! echo ‘something’; $lastname = S_POST[‘lastname’]; and no i did not do any installation. Pls help. Tip: The echo() function is slightly faster than print(). Or are these three lines just a part of it?
Right, so… doesnt immediately look like anything else is wrong… shift that ?> up to above the
, | Value2 | ,Value3 | ,Value4 | ,Value5 | . I’m guessing he doesnt have display errors enabled in his test environment. I think that post_max_size must less than upload_max_filesize. and secondly i am using notepad++. Php files must have a .php extension and start with the first echo in my code works but the one embedded inside the html code prints nothing to the page. This page would generate a WPSE; PHP would choke as soon as it encountered the form tag (UNEXPECTED T_STRING). i do not understand something, do i have to actually install php to act use it? hope i can get your help. after writing the code, i just copy the code and paste it in kompozer. Please understand the code before you start to code it. Input tag on the second-to-last last line is missing it’s >. gussy81, May 29, 2011 in PHP Coding Help. thanks for the spot on the table closing tag. all there is in this particular file? hi guys i am newbie. Your missing a
---|
When i post say this: when i post a simple php echo code, it is working perfectly!!! echo ‘something’; $lastname = S_POST[‘lastname’]; and no i did not do any installation. Pls help. Tip: The echo() function is slightly faster than print(). Or are these three lines just a part of it?
Right, so… doesnt immediately look like anything else is wrong… shift that ?> up to above the