Hi all,
pretty new to php and this site, so please forgive the simplicity perhaps and if this is in the wrong topic.
At a point in my view page (which consists of html), I am creating an instance of a datagrid class I have.
Now:
when not creating the datagrid instance i get all of my html showing.
So for example:
_____________________________________
| TITLE |
| __________________________________ |
| | | |
| colA | EMPTY page | colB |
| | | |
| | | |
|_____|________________________ |____ |
but when i create the datagrid instance, i get this:
_____________________________________
| TITLE |
| __________________________________ |
| |
| |
| |
| |
|_____________________________ ____ _ |
anyone knows what could be doing this off hand? perhaps the z-index or something
Thanks in advance. If you need code, i could add it.
Php datagrid class overwriting all my html
Moderator: General Moderators
- turbolemon
- Forum Commoner
- Posts: 70
- Joined: Tue Jul 14, 2009 6:45 am
- Location: Preston, UK
Re: Php datagrid class overwriting all my html
Hi there,
Without further information (the code, and if possible a link to a working example) there's not much that anybody can do to help.
Without further information (the code, and if possible a link to a working example) there's not much that anybody can do to help.
Re: Php datagrid class overwriting all my html
sure. Thanks for your suggestion.
so this is the code:
<div id="contentwrapper">
<div id="contentcolumn">
<div class="innertube"><b>Sam found: </b>
<div>
<?php
//User search info goes here
$singleUserDatagrid = new DataGrid();
echo $singleUserDatagrid->ShowCaption();
?>
</div>
<div>
<?php
//Table with matching credentials goes here
$multipleUserDatagrid = new DataGrid();
echo $multipleUserDatagrid;
?>
</div>
</div>
</div>
</div>
when i uncomment the single user and multiple user datagrids, the previously mentioned happens
thanks a real lot
so this is the code:
<div id="contentwrapper">
<div id="contentcolumn">
<div class="innertube"><b>Sam found: </b>
<div>
<?php
//User search info goes here
$singleUserDatagrid = new DataGrid();
echo $singleUserDatagrid->ShowCaption();
?>
</div>
<div>
<?php
//Table with matching credentials goes here
$multipleUserDatagrid = new DataGrid();
echo $multipleUserDatagrid;
?>
</div>
</div>
</div>
</div>
when i uncomment the single user and multiple user datagrids, the previously mentioned happens
thanks a real lot