Is it possible to create grid view in php?Or any thing equivalent to that?What i actually want is to query the database(mySQL) and print the result in a table form on the web page.
and when i click any column i want to redirect to another page
Any help would be appreciated....
bbinais
0
Light Poster
Recommended Answers
Jump to PostYou have to add the table table tr td within the script that is printing the results from the database.
<?php
for loop for each row{
?>
<a href="url"><td><?php echo "print something here" ?> </td></a>
<?php
}
?>of course you should add the missing <table> and <tr> tags.
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.