cheaperholidays Posted October 12, 2006 Share Posted October 12, 2006 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 itemsholsConf('maxitems',1);// show up to 40 characters of the descriptionholsConf('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 appreciatedPete[url=http://www.cheaperholidays.com/]http://www.cheaperholidays.com/[/url] Link to comment https://forums.phpfreaks.com/topic/23737-php-sql-error/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.