Jump to content

Archived

This topic is now archived and is closed to further replies.

cheaperholidays

Php sql error

Recommended Posts

Dear all,

I wonder if anyone can help?

We need to add this php codes to our database of holiday guides, so using php my admin we open up the descrition tag and insert this code, into all the blurb about the holiday destination.

[code]
<?php  require_once '/hols/weath.php';
('cborder','');
('iorder','url,title,desc');
('biurl','<a title="Majorca weather forecast" href="');
('aiurl','"target="_blank" rel="nofollow">');
('ailink',' Majorca weather</a> <br />'); 
('bi',' ');
('aidesc','< Click for 5 day Majorca forecast></font><br />');
('bidesc','<img src="http://www.cheaperholidays.com/arrow1.jpg"> <font color="purple"> ');
// show up to 3 items
holsConf('maxitems',1);
// show up to 40 characters of the description
holsConf('maxidesc',70);
holsCacheShow('http://www.blah.com/weather/world/44.xml');
?>[/code]
However what happens, is instead of producing the weather if just displays the code instead, what it should do for example in pages we have converted to htm is [url=http://www.cheaperholidays.com/majorca-weather-forecast.htm#Majorca-holiday-deals]http://www.cheaperholidays.com/majorca-weather-forecast.htm#Majorca-holiday-deals[/url]

Any ideas advice would be appreciated

Pete
[url=http://www.cheaperholidays.com/]http://www.cheaperholidays.com/[/url]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.