Jump to content
Sign in to follow this  

Trenger litt hjelp til while betingelser

Recommended Posts

$sql3 = "SELECT * FROM status";

$query3 = mssql_query($sql3);

$row3 = mssql_fetch_array($query3);



echo "<SELECT NAME='status' id=status>";

while ($row=mssql_fetch_array($query)) {

$status= $row['status'];

echo "<OPTION >$fornavn</OPTION>";


echo "</SELECT>";



Her trenger jeg hjelp.... spørringen danner grunnlaget for hvilke felt jeg skal vise i drop down menyen, men jeg har et problem !

jeg får ikke vist den første verdien i tabellen som danner grunnlaget for menyen, menyen starter på nr 2.

vet at dette har noe med while setningen min å gjøre... men er desverre ikke helt i stand til å se hvordan jeg skal løse d.


noen som kan hjelpe ????

Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...