Hi folks..
Which would be the syntax for a MySQL query that does something like this:
"SELECT * FROM domains WHERE domain STARTS WITH 'a'"
I mean, select something where the value starts with a given letter.
Thanks in advance!
| SitePoint Sponsor |
Hi folks..
Which would be the syntax for a MySQL query that does something like this:
"SELECT * FROM domains WHERE domain STARTS WITH 'a'"
I mean, select something where the value starts with a given letter.
Thanks in advance!




I believe thats it.PHP Code:"SELECT * FROM domains WHERE domain LIKE 'a%'"
Yep, that was it... thanks dude!![]()
Bookmarks