Hello,
I am scanning source of websites and instead of getting all the websites source in the database, I'm getting the source in multiple queries.
What I am trying to do is put it all in ONE row in a db, now multiple.
<?php
require('./mysql.php');
$urlpage = 'http://www.example.com/main.html';
$filetext = fopen("$urlpage", "r");
while (!feof($filetext))
{
$theline = fgetss($filetext, 2048);
require('./filters.php');
echo($theline);
mysql_query("INSERT INTO blog_data (blog_text) VALUES ('$theline')") or die (mysql_error());
}
fclose($filetext);
?>