Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
Ragawolfe
New Member
New Member



Joined: Sep 24, 2003
Posts: 10

PostPosted: Fri Sep 26, 2003 1:23 pm Reply with quote

Looking to convert HTML to MYSQL. Can anyone point me i the right direction??
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Fri Sep 26, 2003 2:24 pm Reply with quote

Need clarification. HTML is a browser markup language. MySQL is an rdbms (Relational DabaBase Management System). There is no relating the two. You can use PHP to embed serevr side calls to MySQL, but there is no conversion.
 
View user's profile Send private message
Ragawolfe







PostPosted: Fri Sep 26, 2003 4:29 pm Reply with quote

I have a table (HTML) that I would like to convert to text, then put it in my DB.

Raven it is this whole standings thing Smile

I am tryin to lighten my load and throwin' lots of idea's around.

I still would like u to qoute me your idea's for my top ten block.

I have scripts that will grab HTML from the standings but it is limited to using a startgrab= (htm tag) and endgrab=(HTML tag) but the tag cannot be a duplicate tag else where! well to make a long post short, I cannot get the tywo columns of info I want I get all the stats for the top ten.

Sorry to ramble.
 
Raven







PostPosted: Fri Sep 26, 2003 4:48 pm Reply with quote

I have been only answering some posts this week as I have been somewhat under the weather. Let me try to toss together a real quick PoC (Proof of Concept) for you. I was hoping the file_get_contents thing was enough to help you get there. Give me a few minutes.
 
Raven







PostPosted: Fri Sep 26, 2003 7:44 pm Reply with quote

I have done a PoC for you. Under the Site Navigation is an entry called Raga_Test. When you select it, it will pull from that link you gave and then parse the html and produce the first 10 entries. There are many ways to do this and this is but one. As long as you have static documents, it's not too complicated.
 
Raven







PostPosted: Sun Sep 28, 2003 3:21 pm Reply with quote

Have you tried this to see if it's what you need?
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©