Codes here !
Moderators: macek, egami, gesf
by tranquillo » Wed Jan 08, 2003 9:56 am
Hi...
how do I insert a file into a database? like a .rm, .swf or a jpeg.
thanks
-
tranquillo
- New php-forum User

-
- Posts: 74
- Joined: Sun Nov 24, 2002 6:48 pm
- Location: katrineholm
by Joan Garnet » Wed Jan 08, 2003 3:22 pm
Insert the URL to the file and then use a query to call it.
- Code: Select all
<param name="movie" value="<?php echo $row["my_swf"]; ?>" >
There are some functions to store images in the database as well
http://phpbuilder.com/columns/florian19991014.php3
but I recommend using the system I suggested above, it's much faster.
-

Joan Garnet
- Moderator

-
- Posts: 387
- Joined: Sat Aug 03, 2002 2:56 am
- Location: Mars
-
Return to mySQL & php coding
Who is online
Users browsing this forum: No registered users and 1 guest