Hello, I’m trying to write a fairly simple blog add-on.
For the moment I’ve set it up to connect to a different database and I’ve got it to echo the data regards layout etc from Zencart templates.
One problem I’m having though is I can’t get it to echo the title tag, or to be more precise if it does echo it, the pages stops loading at the ezpages bar.
The code I’m using for echo-ing the title is
PHP Code:
include("*******.php");
$blogd = $_GET['blogd'];
$qProfile = "SELECT * FROM ******** WHERE blogd='$blogd' ";
$rsProfile = mysql_query($qProfile);
$row = mysql_fetch_array($rsProfile);
extract($row);
echo '<title>' . $title . '</title>';
mysql_close($rsProfile);
I will need to add security to this regards the get function but for now I’m stuck as to why this would stop the page loading at ezpages header bar.
any ideas?
Bookmarks