An update + More Questions:
1) My Search Issue is resolved - I simply wrote a SQL query manually and then plugged this into the results page - The issue I had was that I did not have a full understanding of the releationship between what recordsets are required on what pages - Sorted.
3) The server access issue is now resolved. Commenting out the open_basedir didn't work (my testing server is setup the same way). The solution was to edit the vconfig file for the domain.
Okay - New questions: (1) I need to find a way of calling or embedding the pathway to an image directory in the results page. I want only to store the image filename in my database.
The directory root is httpdocs. Pretty standard for a 1and1 server.
So I have file1.jpg
I want to sore only file1.jpg in my database (ProductThumbs) column. How do i either (a) sote the path as a variable call this in the php or (b) simply hard-code the pathway in the php.
The code line currently look like this:
<img class="WADAResultThumb" border="0" src="<?php echo $row_WADAproducts["ProductThumb"]; ?>"
I've tried this: <img class="WADAResultThumb" border="0" src="/images/products/<?php echo $row_WADAproducts["ProductThumb"]; ?>"
No joy - No image displayed.