www.webdeveloper.com

Search:

Type: Posts; User: evo190

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. I would use similar PHP as above but add this...

    I would use similar PHP as above but add this line:

    while($row = mysql_fetch_assoc($result))



    For the image in the table, you can just use:

    <img src="images/products/<?php echo...
  2. Sorry for the double post, I figure some people...

    Sorry for the double post, I figure some people probably gravitate to particular categories and I wanted to cover 'all the bases'!


    Criterion, It looks like your code will get the job done......
  3. Fang, thanks for the link The best comment...

    Fang, thanks for the link

    The best comment from that page is below, but I'm still stumped how to make the PHP piece dynamic based on the active link.

    I think a solution like this only works...
  4. $thisPage Help with regards to CSS & Navigation

    This question has a bit of PHP included but it's mostly about the CSS style.

    I have ONE page with a few links, but the links do not request a new file. It's like having only 'INDEX.html' for your...
  5. help w/link style - a:active won't work - some PHP

    This question has a bit of PHP included but it's mostly about the CSS style.

    I have ONE page with a few links, but the links do not request a new file. It's like having only 'INDEX.html' for your...
  6. Replies
    7
    Views
    1,076

    Here's how I understand CSS and the DIV vs CLASS...

    Here's how I understand CSS and the DIV vs CLASS thing...

    CSS

    DIV uses "#subnav"

    #subnav {
    text-align: center;
    }
    #subnav p {
  7. Replies
    16
    Views
    2,351

    AutoWeb, Skywalker - Thanks for the help figuring...

    AutoWeb, Skywalker - Thanks for the help figuring this out.

    I figured out how to incorporate both fields, and query both fields in a single .php file.

    <?php

    $db="db";
    $link =...
  8. Replies
    16
    Views
    2,351

    1st, many thanks for all the help so far. ...

    1st, many thanks for all the help so far.

    Sorry for not clearly explaining the two different fields (type, top). I'll try to keep this simple without being unclear.

    The landing page for...
  9. Replies
    16
    Views
    2,351

    type='$type' works fine AND top 1 does NOT...

    type='$type' works fine

    AND top <> 1 does NOT work, it only pulls data with no TYPE or TOP noted.
  10. Replies
    16
    Views
    2,351

    So how do I prevent the SQL injection? ...

    So how do I prevent the SQL injection?

    SHOPPING.PHP is the ONLY URL

    THE HOME PAGE (shopping.php)
    I want top=1 only

    SHOE QUERY (shopping.php?type=shoes)
    I want type=shoes BUT NOT top=1
  11. Replies
    16
    Views
    2,351

    @AUTO WEB Very nice job - it works! Now let...

    @AUTO WEB

    Very nice job - it works!

    Now let me ask you this, if I have two fields (type, top) how do edit the query part?

    Example:

    $type = $_GET['type'];
    $result = mysql_query( "SELECT *...
  12. Replies
    16
    Views
    2,351

    I tried a few different configurations maybe you...

    I tried a few different configurations maybe you can help.

    SHOPPING.PHP

    <?php

    $db="shopping";
    $link = mysql_connect("#","#","#");
    if (! $link)
    die("Couldn't connect to MySQL");
  13. Replies
    16
    Views
    2,351

    I'm not sure how to use the $_get in this...

    I'm not sure how to use the $_get in this scenario - I've only used it for forms.

    The shopping.php is 'type='shop0' with links HATS & SHOES

    <a href="shopping.php?type='shop1'">hats</a>
    <a...
  14. Replies
    5
    Views
    1,105

    As conanite said, its similar to other sites...

    As conanite said, its similar to other sites where it seems to list "popular" third-party sites. In order for that to stay interesting (with little work on your side) you'll need users to submit into...
  15. Replies
    5
    Views
    1,585

    I searched a few keywords and got bupkis. It will...

    I searched a few keywords and got bupkis. It will help if a search response is available for any keyword.
  16. Replies
    4
    Views
    1,076

    I would just ditch the text on the home page...

    I would just ditch the text on the home page altogether. Let the pictures tell the story; besides, it keeps users on the site longer if they have to dig around for info.

    Just my $0.02.
  17. Replies
    4
    Views
    1,077

    Your header is good. I like the drop shadow on...

    Your header is good. I like the drop shadow on the sides of the body. Overall the colors work.

    The navigation bar needs some spice, tho. I'd experiment with color or shadow. Same with the footer....
  18. Replies
    16
    Views
    2,351

    How do I change SQL query without a new .php?

    Let's say we have a web page about shopping. Since shopping is a very broad topic, within it you'd have a)clothes b)shoes c)hats, etc.

    Currently, in order to retrieve shoe data, I have a file...
  19. Replies
    1
    Views
    803

    Large Media Collection - HELP

    I have a large collection of MP3 files on a SBS2003 machine. Currently, I just have a raw web connection - meaning, I can browse all of my songs, but it's just text - no HTML, PHP.. nothing on the...
  20. Thread: PHP include

    by evo190
    Replies
    5
    Views
    841

    i could only get ' ' to work on my page... not...

    i could only get ' ' to work on my page... not sure why tho...
  21. Replies
    5
    Views
    918

    the 'search box' is just a text form field. ...

    the 'search box' is just a text form field.

    the 'advanced' part is the form action which will search your database and/or your indexed pages.
  22. Replies
    2
    Views
    783

    i actually don't care if a link reloads the same...

    i actually don't care if a link reloads the same page i.e. sort.php

    right now for A - Z i use sort.php and for Z - A i use sort_z.php. obviously the sort_z.php has DESC.

    i'd like for a link on...
  23. Replies
    2
    Views
    783

    SORT on same page???

    I'd like to sort alphabetically without going to another page with DESC. How do I sort on the same page?

    TIA
  24. Replies
    2
    Views
    4,983

    that's perrrfect thank you. have you seen...

    that's perrrfect thank you.

    have you seen anything with static previews that would work with php + mysql?

    the setup is like this:

    mysql holds the url's

    php displays them
  25. Replies
    2
    Views
    4,983

    External URL Preview

    I've seen it on ask.com, where the binoculars show a preview of the website. I'm looking for a similar script which looks to be created in CSS + JavaScript.

    Has anyone tried to show a thumbnail...
Results 1 to 25 of 29
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles