Welcome to AcornDomains.co.uk, a friendly community for UK domain investors, developers and anyone interested in domain names.
Whether you're looking to buy or sell domains, learn more about the UK domain market, get feedback on your names, or simply chat with other domainers, you're in the right place. AcornDomains has been bringing together people from across the UK domain industry for many years, from complete beginners to experienced investors.
Have a look around, join the discussions and, if you haven't already, create a free account and introduce yourself.
You can put them all in onle table, it just depends how you plan to do it in the future!
By spam filter i mean what if somebody searches for "nick is the best" or www.viagra.com. It then displays on your homepage!
Is that three table in the database then, product, merchants and price?
Phil
Try and think about seperating out the product info from the merchant. This way, a product dosen't need to know what a merchant is and it shouldn't need to know. It's the merchant that needs to know which product it has a relation to.
<-----------snip------------>
Hope this helps a little![]()
$xml = simplexml_load_file("foldingdatafeed_79329.xml");
foreach($xml->merchant->prod as $product){
$productid = $product->pId;
$name = $product->text->name;
$descrip = $product->text->desc;
$sql = "INSERT INTO product (productid, productname, productdescription)
VALUES ('$productid', '$name', '$descrip')"
I'm quite please that I worked out how to get a dynamic page for each product tho, thus cutting down the number of affiliate links from the main products tables.
We use essential cookies to make this site work, and optional cookies to enhance your experience.