|
Posted by Ivαn Sαnchez Ortega on 03/07/07 23:57
mpar612 wrote:
> [...]only lists the first result from the database.
Nope - it lists the last one.
> foreach($selects as $select) {
>
> $content = $select[artist_name].",";
You are destroying the previous contents of $content at every iteration.
Try putting the header() up, and echoing things instead of putting them into
variables, or try the .= operator.
--
----------------------------------
IvΓ‘n SΓ‘nchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-
Un ordenador no es un televisor ni un microondas, es una herramienta
compleja.
Navigation:
[Reply to this message]
|