Results 1 to 3 of 3

Thread: mySQL / php

  1. #1
    Join Date
    Aug 2005
    Posts
    174
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default mySQL / php

    I want to be able to find out a products model number/name by taking away the full name of the product, by the name of the manufacture...

    for e.g. the full name of a product is Nokia N80... and the make/manufcature is Nokia. If you take away the make, you are left with the model number... N80

    The fields "product" and "make" are pulled up from a mySQL database...
    Can this be done using a php script?

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Sure.
    That's really not complex at all.
    There are various ways to do it.
    One would be to split at the space character; another would be to split after the keyword of the model, depending on your you're doing this.
    Or, since I couldn't tell from the way you phrase it, if you want to put it together, that's really easy.

    Just get some basic ideas about php and mysql and you'll be fine.
    http://php-mysql-tutorial.com
    that should get you started with most of what you need to know. easy to follow... worked for me.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •