how can i save image link to database please help i'm newby thx
how can i save image link to database please help i'm newby thx
$link=print"http://www.dynamicdrive.com";
mysql_query("INSERT INTO linktable (link) values ('$link')")
that is assuming you have a table called linktable and a row called link in that table
http://www.insanecombat.com << bored? check out ma game
I have do a form
<input name="aimage" type="file" class="bottomsmall" size="40" />
when i use
$doc= $_SERVER['DOCUMENT_ROOT'];
$aimg= str_replace($doc,"..",str_replace("\\","/",trim($aimage)));
for put in mysql
it report
C:/WINDOWS/TEMP/php22F.tmp
in database
any idea for save image link
Bookmarks