Kore
01-24-2002, 12:45 AM
I've just made a 'huge-little' mistake. A php page I was creating kept giving parsing errors, so I would change something, save, upload, test, over and over. Well I got rid of the parsing errors and the page loaded up. An entry-modifying page. I type in a bit of stuff to modify an entry, hit Submit, and ALL OF THE RECORDS IN THAT TABLE were overwritten with what I had just entered! That was my reports table which held many lengthy news articles - GONE in the blink of an eye. =[ Turns out it slipped my mind to add "WHERE id='$id'" at the end of my UPDATE statement, therefore all the records were overwritten with the same thing.
I've been looking around the forum and found some posts saying that HostRocket does NOT backup database content! I never even thought to back it up myself because my previous 6-dollar host backs up the content every single day for you. Can HostRocket restore a backup of my table or database? I really hope so, else I think I'll just give up on this news site. 5 months of articles were stored in that table.
Thanks for any help with this, and sorry for the stupid mistake.
I've been looking around the forum and found some posts saying that HostRocket does NOT backup database content! I never even thought to back it up myself because my previous 6-dollar host backs up the content every single day for you. Can HostRocket restore a backup of my table or database? I really hope so, else I think I'll just give up on this news site. 5 months of articles were stored in that table.
Thanks for any help with this, and sorry for the stupid mistake.