-
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?
-
-
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
-
-
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks