Jump to content


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


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.

<?php  require_once '/hols/weath.php';
('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
// show up to 40 characters of the description
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


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.