[PHP-DB] data from db to a page and then to another page

2009-01-07 Thread Mika Jaaksi
I already can get the data from database to a page. Now I want to make link from that data to next page and on that new page it should show all the data that is related. example: data from database -- page1 where listed: band1 (a href) band2 (a href) band3 (a href) ... and when clicking for

Re: [PHP-DB] data from db to a page and then to another page

2009-01-07 Thread Phpster
The easiest way is to pass the record id via a $_GET and then query for your record a href='details.php?id=$id'band name/a Bastien Sent from my iPod On Jan 7, 2009, at 4:54 AM, Mika Jaaksi mika.jaa...@gmail.com wrote: I already can get the data from database to a page. Now I want to

Re: [PHP-DB] data from db

2001-02-12 Thread Jamie Alessio
For instance, if I had a response to a question, called $row['description'], and I searched for "%bryan%", the word 'bryan' would be a different color within the field $row['description']? One way to do this: Instead of directly outputting data to the browser using something like echo or