Hi, I have lots of pages that are these two kinds...
<CENTER><B><FONT SIZE=+3>
Some Title
</FONT></B></CENTER>
By: An Author
<BR>
E-mail: email@domain.com
<BR>
<BR>
...LOTS OF TEXT...
===
<CENTER><B><FONT SIZE=+3>
Some Title
</FONT></B></CENTER>
<BR>
<BR>
<BR>
...LOTS OF TEXT...
I need help with a code that will distinguish between the two. Then, it will store the data into a database: title, email address, and data.
Thanks!
help with mysql and php
Moderator: General Moderators
I need help with coding the script to store each file into the database. I am using PHP and storing it into a MYSQL database.
Like, I know you would use the fopen in a loop to read each file. Then, I heard I might have to use regular expressions to take the input of each file. But, I do not know how to code this...
Like, I know you would use the fopen in a loop to read each file. Then, I heard I might have to use regular expressions to take the input of each file. But, I do not know how to code this...