|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Advanced mysql querys
Hi.
I was wondering: Is there any way to query a db-row where you only query for the first letter in the rowname ? ei. PHP Code:
- Pheifel |
|
#2
|
||||
|
||||
|
PHP Code:
I presume you'd want to select where username is like rather than where username is equal to the first character. The code above will do so.
__________________
Please don't PM me asking for solutions outside the scope of a thread. Keeping all responses in a thread stands to help others who come along later, which is after all what this forum's all about. |
![]() |
| Viewing: Dev Articles Community Forums > Databases > MySQL Development > Advanced mysql querys |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|