If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Storing (caching) web page in MySQL

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-28-05, 09:28
dirtyp dirtyp is offline
Registered User
 
Join Date: Oct 2005
Posts: 2
Question Storing (caching) web page in MySQL

I am a self-taught learner here so my experience level is not that great.

I am trying to store (cache) a fetched web page into the DB. I am using the datatype of "LongText". And I have tried using htmspecialchars() and htmlentities(), but it seems like no matter what I do I still get errors on insert.

Does anyone know of a tutorial or can provide any insight into storing a webpage into MySQL?

Thanks,
DP

Last edited by dirtyp; 12-28-05 at 09:38.
Reply With Quote
  #2 (permalink)  
Old 12-28-05, 11:52
dirtyp dirtyp is offline
Registered User
 
Join Date: Oct 2005
Posts: 2
As I said, I was a noob. Stupid SQL statement error was messing me up... helps when you write it correctly.

I used htmlentities() in PHP for anyone in the future.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On