Search results

  1. W

    Here is my php code. Where did I go wrong?

    Here is the php code i am using, but it doesn't work. The idea was to have 4 results then stop. <?php include 'database_conn.php'; // make db connection $result = mysql_query( "SELECT * FROM rugs;") or die("SELECT Error: ".mysql_error()); print "<table width=100% border=0>\n"; while...
  2. W

    html form, can i get it to generate a random number?

    I have a html form that submits information to a database. Excellent, yes? ...No. I need a random number to be generated in the form that can also be submitted. But how?
  3. W

    image uploaded via form, but how do i link my database to it?

    I use a form to upload an image, and then it has a random number generated for its name. It's then moved into a folder named uploads. How can I reference a particular item in my database with an image in the uploads folder? Basically, i have a database full of product information, and I want...
  4. W

    php used to upload an image to file. It gets renamed, but how do I work with the

    newly named image? I have a form that includes an upload image button. The php then renames the image to a random number to ensure it is unique, and places it into a folder named uploads. The rest of the form information goes off into a database. I need the random image number to be copied...
  5. W

    php code, retrieving database information. How to organise it?

    I am using a PHP code to retrieve database content. It works, I have impressed myself :) However, I do not know how to tell the database to only display 8 products on a page. 4 on the top row, and 4 on the bottom. The next 8 results would need to appear on another page. Can anyone help me...
  6. W

    Display my database via PHP - Can you help?

    I have a database and want to display it's content in this manner: [Prod 1] [Prod 2] [Prod 3] [Prod 4] [Prod 5] [Prod 6] [Prod 7] [Prod 8] Just 8 results per page is all I need. Here is what my code is like at the moment. <? include 'database_conn.php'; // make db connection...
  7. W

    CSS/HTML - I would like a mouseover link description. Any ideas?

    The title says it all really. I am creating a website, but would like to add a description to links upon mouseover. Does anyone know how to do this in CSS or HTML? Thanks in adcance!
  8. W

    HTML CSS coding - image slideshow how to?

    I have created a website, but instead of having one static image on the main page, i would rather have it still for a few seconds, then another image slide in. I feel it keeps the website fresh. Please help, Tom.
  9. W

    photoshop - saving image for web?

    I am wanting to create a logo (I have done that already), but when it has been saved, it is not as smooth as when I view it on PhotoShop. It's more bumpy and raw. How can I keep it smooth like it shows on PhotoShop.
Back
Top