radiations3 Posted July 17, 2011 Share Posted July 17, 2011 Hi this is faizan and i am new in the world of php i need your little help if you can help me with this then that'll be so nice of you.. I want to know how to upload an image along with its description using php and when we do so its description gets saved in our database of our server and also picture get saved in our server's memory and when we delete the genrated post the picture and the database saved data related to that picture also gets deleted just like adding any picture in facebook. when we add the picture then it appears on the top of our profile as being a new post.??? Kindly if you can help me with this i'll be very thankful to you then reply me at [email protected] Regards, Faizan (faizy) Quote Link to comment https://forums.phpfreaks.com/topic/242179-uploading-pictures-using-php-need-help/ Share on other sites More sharing options...
robert_gsfame Posted July 17, 2011 Share Posted July 17, 2011 very simple. use this to learn http://www.w3schools.com/php/php_file_upload.asp Quote Link to comment https://forums.phpfreaks.com/topic/242179-uploading-pictures-using-php-need-help/#findComment-1243677 Share on other sites More sharing options...
radiations3 Posted July 17, 2011 Author Share Posted July 17, 2011 very simple. use this to learn http://www.w3schools.com/php/php_file_upload.asp Okay then after uploading how to display the uploaded image on the top of the main page just like facebook uploading of images???? Quote Link to comment https://forums.phpfreaks.com/topic/242179-uploading-pictures-using-php-need-help/#findComment-1243680 Share on other sites More sharing options...
robert_gsfame Posted July 17, 2011 Share Posted July 17, 2011 <img src="yourimagefolder/yourimagesource"> if you are thinking of directly retrieving the images once uploading it, then you have to use AJAX Quote Link to comment https://forums.phpfreaks.com/topic/242179-uploading-pictures-using-php-need-help/#findComment-1243681 Share on other sites More sharing options...
radiations3 Posted July 17, 2011 Author Share Posted July 17, 2011 oh damn i am not good with ajax :-(. But thanx for the help.... I'll try what i can do.... Quote Link to comment https://forums.phpfreaks.com/topic/242179-uploading-pictures-using-php-need-help/#findComment-1243682 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.