WTF... I have a php closing tag ?> that keeps appearing in the HTML source. I can't figure out what's going on. Here's the code:
<?php
//include form class
include('includes/dbconn.php');
$allUsersResult = $db->query(' SELECT pkId, lname, fname FROM xxx_users' );
include ('includes/classes/Form.class.php');
?>
Thanks in advance...
?> closing tag showing up in HTML
Moderator: General Moderators
-
Mayor McCheese
- Forum Newbie
- Posts: 5
- Joined: Tue Apr 23, 2002 12:17 am
- itsmani1
- Forum Regular
- Posts: 791
- Joined: Mon Sep 29, 2003 2:26 am
- Location: Islamabad Pakistan
- Contact:
check
try this one instead of ur own. i am not 100%sure for this but i think it will work.,.......
Regards......
Code: Select all
<?php
//include form class
include('includes/dbconn.php');
$allUsersResult = $db->query("SELECT 'pkId', 'lname', 'fname' FROM xxx_users" );
include ('includes/classes/Form.class.php');
?>Regards......
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
-
d3ad1ysp0rk
- Forum Donator
- Posts: 1661
- Joined: Mon Oct 20, 2003 8:31 pm
- Location: Maine, USA
-
Mayor McCheese
- Forum Newbie
- Posts: 5
- Joined: Tue Apr 23, 2002 12:17 am
There we go...
Hey all,
Thanks for the suggestions; a search of the main file did not turn up an extraneous end tags; but a search of one of the includes did. Thanks for saving me time + frustration.
Cheers!
Thanks for the suggestions; a search of the main file did not turn up an extraneous end tags; but a search of one of the includes did. Thanks for saving me time + frustration.
Cheers!