- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
- Interests
- PHP, Python, Harry Potter, Naruto
- PC Specs
- Mac OSX, Dell 1525, Linovo
4 Posted Topics
Re: I tried storing images in database and trust me, its a real pain to encrypt and decrypt the data. Just store the image in a folder and use that link to view the images later. $be_imageName = $_FILES["imageName"]["name"]; $be_imageTempName = $_FILES["imageName"]["tmp_name"]; $be_imageSize = $_FILES["imageName"]["size"]; move_uploaded_file($be_imageTempName,"images/".$be_imageName); The above code will upload … | |
![]() | Re: There are so many errors in there, 1. on line 7, What is 'your_age'? If it is a PHP variable, it should be written as $your_age. 2. There should be a } for the if statement in line 10. 3. $result is a local variable and it doesnt exist outside … ![]() |
I am trying to create a form like the one we ask questions in, but with image & video Upload facility. I am making Admin Support pages for a CMS. When the admin uploads an image, the name of the uploaded file can be seen in the textarea and the … | |
Re: mysql_fetch_row/assoc will get you the first column of the Database values not the whole set. I faced the same problem when I was learning php. You have to find the num of rows is the result using mysql_num_rows, then loop the mysql_fetch_assoc/row that many times to get each column. May … |
The End.