Hi thanks for reply. Yeah i guess if i put in php forum they would have said put it here.
Um i tried to remove the mysql_close($link); and that didnt work so i now have tried to connect from wwithin the class as follows...
<?
class headlineClass{
### headlines.php - added [v1.12]
function...
Hey i have a little script that list headlines.
The SQL code is inside of a php file and i made it into a php class to try and get it working. it looks as follows...
<?
class headlineClass{
function listHeadlines($tpath, $c, $lim) {
// Automatically get $tpath to avoid possible security holes...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.