Jump to content


Photo

Php sql error


  • Please log in to reply
No replies to this topic

#1 cheaperholidays

cheaperholidays
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 12 October 2006 - 08:37 AM

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.

<?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');
?>
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 http://www.cheaperho...a-holiday-deals

Any ideas advice would be appreciated

Pete
http://www.cheaperholidays.com/
Kind Regards

Pete




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users