Forum: PHP Sep 7th, 2008 |
| Replies: 1 Views: 375 I have two forms - the first shows a list of advertisers, with the options to Add New (goes to the formsc.php) for a totally new advertiser, and edit or delete based on the advertiser id. When I... |
Forum: PHP Sep 7th, 2008 |
| Replies: 12 Views: 1,766 I agree. I'm guessing the field in the db is a path to the image. Like images/imagename.jpg
Have you tried changing to the url for the image? |
Forum: PHP Aug 16th, 2008 |
| Replies: 6 Views: 1,732 Thanks, langsor. I don't have to scale or resize - the images will be 100% of whatever they are. I just need to have the width and height in the img tag so the browser knows what to expect.
Donna |
Forum: PHP Aug 15th, 2008 |
| Replies: 6 Views: 1,732 Thanks, langsor. I'll see if I can figure all that out. I can certainly add the fields to the db - since I'm still in testing I only have about 30 images to work out. I had seen some people using the... |
Forum: PHP Aug 15th, 2008 |
| Replies: 6 Views: 1,732 I have a page that does load images from mysql db - but they don't go to the anchor. The first page is listings that just has text, and the second shows image(s) for those. After refresh the category... |
Forum: HTML and CSS Jul 30th, 2008 |
| Replies: 2 Views: 897 I can't see why my left and right cols are falling below the main col.
Here's some of the html (using dtd xhtml 1 transitional)
<link rel="stylesheet" href="cg3col.css" type="text/css" />... |
Forum: PHP Jul 26th, 2008 |
| Replies: 3 Views: 584 Thanks. I managed to add to a row to use the actual category name rather than just the id. Not sure if this is the cleanest way, but I duplicated and it does output.
<?php
$query = "select *... |
Forum: PHP Jul 26th, 2008 |
| Replies: 3 Views: 584 I've a mySQL db with two tables - advertisers and category. If the advertiser is active, I'd like to have the category name appear, with all active advertisers below, and then the following category,... |
Forum: PHP Jul 26th, 2008 |
| Replies: 2 Views: 458 Thanks - that gets me in the right direction.
I thought some join would be necessary, but was getting confused with the types.
Donna |
Forum: Community Introductions Jul 25th, 2008 |
| Replies: 4 Views: 360 I'm new to the scripting and database stuff, and am trying to learn the right way to do things. I've taken some video courses through SNIPPED, and have some background with html and css. I've seen... |
Forum: PHP Jul 25th, 2008 |
| Replies: 2 Views: 458 Very new to this.
I've set up a MySQL db with two tables.
Structure is
table_ads with fields id, category_id, name, sort_name, img1, img2, and active
table_categories with fields id,... |