Hi Could someone let me know how I could fixed ( limited ) the width and length of <td> and also if someone posted a long paragraph to that data that it will not expand but will have the info posted going on the 2nd line, 3rd line, etc. here is an example of my code, it includes PHP <table ...
Hello everyone, I created a simple userform to test. What I wanted to do is have the user input a field, and then click on the submitted button once the submitted button is click the page refresh and still retain what the user input (it is not lost). I know that to do this, we have to use the isset ...
Hello everyone, I was just wondering why when I login with the form, the username and password stored in the database after registration didn't exist when it actually does exist. over here in the confirmuser function it said if no result or no row return a 1 which means there is no username if(!$res...
If i input this code header("Location: " . $_SERVER['PHP_SELF']); after this code mysql_query("insert into upload3(photo, caption) values('$fileName','$caption')"); this code won't print echo "<font color =red> The file &...
Thanks flabbyrabbit, the redirecting method works especially if you are posting like entering your name etc, but when you are uploading it is a little different. I tried it for both and it seems to be working fine for posting when I use this code header("Location: " . $_SERVER&...
Well the easiest way to do it would be for the page to be redirected to another page after code has been executed, then if the page is refreshed its not refreshing the code. for example I use this as redirecting it to another page. header("Location: confirmation_page.php")...
it seems that the variable $filename is always there and is always the same name of the last uploaded picture. so when you refresh the page this variable name gets inserted into the sql, again and again and again when you keep refreshing it. but when you upload a new picture, this variable will have...
Hello all, I created a form and a upload php to upload files in a directory but it seems that I can only upload files to a certain size limit, when files are 20mb it doesn't seem to do it. I went to php and set the upload size to 300mb and still it doesn't do it, but I could do this in my hosting co...
I have a couple of issue and was hoping if you could help me. 1- I have the codes to upload pix and show them in the browser, but in only does it for one pix at a time and the last one uploaded. I would like to show all the pixs in the database with the last one uploaded showed last, I tried for the...
I just noticed why some pictures can't be uploaded, because some of those pictures files size are too large, about 600kb or 1.2 mb. I currently can only upload about 17 kb, how can I increase this capacity so that I can upload all my pictures?
Do you just want to show links to the files? I want to show the files in the browser, the image of it. I created one and it works but it doesn't work for all pictures, it doesn't show all pictures only some. Do you know why that is? I also would like to upload music and ms doc (mostly excel) files, ...
Hello everyone, I have a question with upload files. I create a html form and php codes to upload files. I also created a directory called uploads where my php upload files resides. when I upload it, all the files goes to the uploads directory. so my question is when I upload can it be save into mys...