Hi all, I am new in php programming and I would like your help. I have a variable that saves an url. For example $url="http://www.google.com" I would like to catch all images from the source code of google and insert into database like : Table images id | src | alt | width | line | column Could someone help me ? I don't need MySQL code , I have made it. My database is named simply "Project"
Have a look at the very last example on this page... http://us3.php.net/manual/en/function.ereg.php That will show you how to extract all the img tags on a page.