Hi there,
I have used PHP & MySQL a lot on my website, however, i have had someone else do the programing for me.
I just recently found a free database protal that works well for what I am trying to do. However, it does not have a file upload feature where I can assign a picture to an item and have it displayed.
I am hoping that someone might be able to help me with this. I am thinking that there has to be a way to add a script or something that would allow me to assign a picture to an item.
The database is located at
http://baseportal.com/cgi-bin/baseporta ... alton/main
If you look, everything else is nice, but I really need pictures so people can see what they are looking at.
If anyone has an idea or wants to help, please let me know. I would be willing to pay someone for their help.
Contact me at cpwalton@yahoo.com with any ideas.
Stephanie
cpwalton@yahoo.com
Need help With Database
Moderator: General Moderators
-
nutstretch
- Forum Contributor
- Posts: 104
- Joined: Sun Jan 11, 2004 11:46 am
- Location: Leicester
are your images in the same place as your database?
What i did to keep the size of my database down was to put the path of the images in the database in the image field and then used
while ($row = mysql_fetch_array($resultID, MYSQL_ASSOC))
{
print "<tr>";
print "<td>".$row['ID']."</td>";
print "<td>".$row['Name']."</td>";
print "<td>".$row['gender']."</td>";
print "<td>".$row['brand']."</td>";
print "<td>".$row['colour']."</td>";
print "<td><img src=\"".$row['image']."\" ></td>";
print "</tr>";
}
(This is in a table) and that shows the image along with the rest of the data in that record.
NOt sure if it will work with what you are doing. I am a newbie too
What i did to keep the size of my database down was to put the path of the images in the database in the image field and then used
while ($row = mysql_fetch_array($resultID, MYSQL_ASSOC))
{
print "<tr>";
print "<td>".$row['ID']."</td>";
print "<td>".$row['Name']."</td>";
print "<td>".$row['gender']."</td>";
print "<td>".$row['brand']."</td>";
print "<td>".$row['colour']."</td>";
print "<td><img src=\"".$row['image']."\" ></td>";
print "</tr>";
}
(This is in a table) and that shows the image along with the rest of the data in that record.
NOt sure if it will work with what you are doing. I am a newbie too
-
codetalker
- Forum Newbie
- Posts: 2
- Joined: Fri Sep 26, 2003 5:39 pm
One perfect solution for you
WebDB application builder - http://www.allaboutweb.ca
Build database web site with most features: add, update, delete, browse, sort,search, image upload.
Build database web site with most features: add, update, delete, browse, sort,search, image upload.