Eerste item uit tabel wordt niet getoond

Pagina: 1
Acties:
  • 33 views sinds 30-01-2008

  • itsme
  • Registratie: Februari 2000
  • Niet online
Ik snap er niets meer van :?
Waarom toont de volgende code het eerste item uit de tabel in mijn MySQL database niet :? ;(

PHP:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?
include("config.php");


//Connectie maken naar database
mysql_connect("$host","$user","$pass");
mysql_select_db("$db");

$sql = "SELECT * FROM users";
$result = mysql_query($sql);    
$myrow = mysql_fetch_array($result);

while ($myrow = mysql_fetch_array($result)) 
{           
$userid = $myrow["USER_ID"];
echo $userid;
};
?>


2e 3e enz item worden wel gewoon getoond :?

"If God wanted us to have unlimited free energy He would have put a giant fusion reactor in the sky"


  • mulder
  • Registratie: Augustus 2001
  • Laatst online: 23:57

mulder

ik spuug op het trottoir

wat doet die mysql_fetch_array nou dan... beetje bordje voor hoofdje :/

oogjes open, snaveltjes dicht


  • Glimi
  • Registratie: Augustus 2000
  • Niet online

Glimi

Designer Drugs

(overleden)
Om het iets duidelijker te maken: Kijk en begrijp regel 11 en regel 13
edit:
Mensen met een oplossing, wacht er ajb ff mee totdat ie zelf heeft nagedacht.

  • Hu9o
  • Registratie: Mei 2001
  • Laatst online: 22:54

Hu9o

Schokkend

Ik zie het al.

Ik zie het al.

Dat was ook een lichte tip.

>>>>>>>>>>>>>>>>>>>>>>>>>Vertel Microsoft over dit probleem <<<<<<<<<<<<<<<<<<<<<<<<<


  • HunterPro
  • Registratie: Juni 2001
  • Niet online
Hu9o schreef op 18 November 2002 @ 19:21:
Ik zie het al.

Ik zie het al.

Dat was ook een lichte tip.
hee ja kom, we gaan hints spelen.

  • itsme
  • Registratie: Februari 2000
  • Niet online
Oh w8 ik voer 2x de statement uit |:(

Enorme big thnx, ik zit al uren truckjes uit te halen om maar op de juiste aantal regels te komen etc |:(

"If God wanted us to have unlimited free energy He would have put a giant fusion reactor in the sky"


  • HunterPro
  • Registratie: Juni 2001
  • Niet online
its_me schreef op 18 november 2002 @ 19:26:
Oh w8 ik voer 2x de statement uit |:(

Enorme big thnx, ik zit al uren truckjes uit te halen om maar op de juiste aantal regels te komen etc |:(
goed zo schat :*

  • itsme
  • Registratie: Februari 2000
  • Niet online

"If God wanted us to have unlimited free energy He would have put a giant fusion reactor in the sky"


  • D2k
  • Registratie: Januari 2001
  • Laatst online: 09-01 11:25

D2k

basic debuggen dus

Doet iets met Cloud (MS/IBM)

Pagina: 1

Dit topic is gesloten.