files

Codes here !

Moderators: macek, egami, gesf

tranquillo
New php-forum User
New php-forum User
Posts: 74
Joined: Sun Nov 24, 2002 6:48 pm
Location: katrineholm
Contact:

files

Postby 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

User avatar
Joan Garnet
Moderator
Moderator
Posts: 387
Joined: Sat Aug 03, 2002 2:56 am
Location: Mars
Contact:

Postby 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.


Return to “mySQL & php coding”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest