sudah di cobe belum, script whilenya di letakkan
setelah :
echo "<form method=\"post\" action=\"update.php\">";
dan jangan lupa penutup whilenya } sebelum
echo "</form>";

smoga bisa membantu ....
klo masih error maaf yachh soalnya maklum baru
belajar.

--- Indospec-Pusat <[EMAIL PROTECTED]> wrote:

> Dear All,
> saya mau tanya apa sebab error kesalahan script php
> saya di bawah ini :
> ketika di jalankan ada pesan error sbb :
>  Warning: mysql_fetch_array(): supplied argument is
> not a valid MySQL result 
> resource in c:\myserver\scripts\intranet\edit.php on
> line 47
> 
> scriptnya sbb :
> <?
> $koneksi = mysql_connect("localhost","","");
> mysql_select_db("cirebon",$koneksi);
> $query = mysql_query("select * from current where
> id='$no'",$koneksi);
> 
> while ($baris = mysql_fetch_array($query))
> {
> echo "<form method=\"post\" action=\"update.php\">";
> echo "Start : <input type=\"text\"
> name=\"start\"$baris[1]\">";
> echo "Finish : <input type=\"text\"
> name=\"finish\"$baris[2]\">";
> echo "Contract No. : <input type=\"text\"
> name=\"contr_no\"$baris[3]\">";
> echo "Project Name : <input type=\"text\"
> name=\"name\"$baris[4]\">";
> echo "Project Owner : <input type=\"text\"
> name=\"owner\"$baris[5]\">";
> echo "Project Type : <input type=\"text\"
> name=\"type\"$baris[6]\">";
> echo "Project Values : <input type=\"text\"
> name=\"value\"$baris[7]\">";
> echo "Material Source : <input type=\"text\"
> name=\"material\"$baris[8]\">";
> echo "Condition Update : <input type=\"text\"
> name=\"notes\"$baris[9]\">";
> echo "<br>";
> echo "<input type=\"submit\" name=\"submit\"
> value=\"update\">";
> echo "<input type=\"hidden\" name=\"no\"
> value=\"$baris[0]\">";
> echo "</form>";
> }
> ?> 
> 
> 
> 
> 
> 
> -- 
> www.itcenter.or.id - Komunitas Teknologi Informasi
> Indonesia 
> Info, Gabung, Keluar, Mode Kirim :
> [EMAIL PROTECTED] 
> ::: Hapus bagian yang tidak perlu (footer, dst) saat
> reply! ::: 
> ## Jobs: itcenter.or.id/jobs ## Bursa:
> itcenter.or.id/bursa ##
> $$ Iklan/promosi : www.itcenter.or.id/sponsorship $$
> 
> 
> :: SPONSOR
> -----------------------------------------------
> Web hosting 1GB space cuma Rp. 65ribu/bln
> Multiple website, free domain name.
> http://www.rakdata.com
>
----------------------------------------------------------
> 
>  
> Yahoo! Groups Links
> 
> 
>     [EMAIL PROTECTED]
> 
>  
> 
> 
> 



                
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 




-- 
www.itcenter.or.id - Komunitas Teknologi Informasi Indonesia 
Info, Gabung, Keluar, Mode Kirim : [EMAIL PROTECTED] 
::: Hapus bagian yang tidak perlu (footer, dst) saat reply! ::: 
## Jobs: itcenter.or.id/jobs ## Bursa: itcenter.or.id/bursa ##
$$ Iklan/promosi : www.itcenter.or.id/sponsorship $$

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ITCENTER/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Kirim email ke