RE: [PHP-DB] Generating view of tree?

2003-03-27 Thread Craig Kohtz
What's your table structure look like? I've done this in a couple projects. I use a parent child relationship. Usually I make it so you can expand and collapse the tree by clicking on a plus or minus, the script I've attached doesn't have this feature for simplicity sake. parent child descriptio

RE: [PHP-DB] Re: inserting binary data into a mysql blob field

2003-02-24 Thread Craig Kohtz
ary 24, 2003 6:06 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] Re: inserting binary data into a mysql blob field [EMAIL PROTECTED] (Craig Kohtz) writes: > [ inserting images into a mysql db ] I haven't done it myself, but a search on php.net for "blob mysql file" gave (among othe

[PHP-DB] inserting binary data into a mysql blob field

2003-02-24 Thread Craig Kohtz
I want to be able to insert binary data into a blob field but am having all kinds of problems! I've tried everything twice. I can't get anything to work! Could someone please help me or give me some suggestions? Upload Script: $imgSize1 = $_FILES['userfile1']['size']; $imgSize2 = $_FILES['userfil