Jump to content

Php sql error


cheaperholidays

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]
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.