mimintweak Posted March 27, 2009 Share Posted March 27, 2009 Hi, I am a newbie. I have been asked to repair a couple of broken img links. The site is written in php and there is a database. I can access the database but not sure how to update the page referred to. The html code that goes into the body of the web page I have saved into notepad. When I access the database (phpMyadmin) There is a table, where the body is referred to there is a box (see screen shot) and a browse button. Question; do I browse to the notepad with the code, is there a way to view what is already in the database and alter it or what. I really appreciate any help, hope you understand what I am trying to say! [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/151369-adding-to-a-database/ Share on other sites More sharing options...
ricmetal Posted March 27, 2009 Share Posted March 27, 2009 the way i see it, you should look at the php page first, if you updating image links and try and fix the links from there. then id browse through the db in phpadmin, to find the image links. this is possible by looking for the browse button on the top links of the phpadmin i have no diea what that button is for Link to comment https://forums.phpfreaks.com/topic/151369-adding-to-a-database/#findComment-795035 Share on other sites More sharing options...
Yesideez Posted March 27, 2009 Share Posted March 27, 2009 That browse button is to add an image file into the database when INSERTing via phpMyAdmin. Link to comment https://forums.phpfreaks.com/topic/151369-adding-to-a-database/#findComment-795036 Share on other sites More sharing options...
mimintweak Posted March 27, 2009 Author Share Posted March 27, 2009 Okay, thanks to you both! I will try that. Yesideez, so the html code to go into the database will be generated from Mysql? not necessary for me to do. Link to comment https://forums.phpfreaks.com/topic/151369-adding-to-a-database/#findComment-795527 Share on other sites More sharing options...
mimintweak Posted March 27, 2009 Author Share Posted March 27, 2009 Panic stations! I pressed the browse button, found the two missing images and when I had a look at the page on the website I have computer lingo! http://www.mortgagebureau.com.au/page.php?p=23 Is there a way to reverse what I did? Help please Link to comment https://forums.phpfreaks.com/topic/151369-adding-to-a-database/#findComment-795536 Share on other sites More sharing options...
MadnessRed Posted March 27, 2009 Share Posted March 27, 2009 you need to set the content type for the image. Link to comment https://forums.phpfreaks.com/topic/151369-adding-to-a-database/#findComment-795537 Share on other sites More sharing options...
mimintweak Posted March 27, 2009 Author Share Posted March 27, 2009 Sorry, I am in panic mode, can you explain what you mean please? I need to reverse what I did in the database somehow as well? Link to comment https://forums.phpfreaks.com/topic/151369-adding-to-a-database/#findComment-795541 Share on other sites More sharing options...
mimintweak Posted March 28, 2009 Author Share Posted March 28, 2009 Does anybody know how to reverse what I did? :'( Link to comment https://forums.phpfreaks.com/topic/151369-adding-to-a-database/#findComment-795627 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.