Jump to content

[SOLVED] Wildcard in SELECT query


master82

Recommended Posts

I have a query, something similat to below...

[code]
SELECT * FROM table WHERE field1 = value AND field2= 'start text wildcard'
[/code]

Now what I need if possible is to use a wildcard type thing that selects only the values in that field that start with a certain value..

...for example select all the rows that have 'Welcome to' at the beginning

Is it possible?
Link to comment
https://forums.phpfreaks.com/topic/32500-solved-wildcard-in-select-query/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.