![]() |
Database Query Question
Hello,
I have people sign up using there Real Name on my forum. I am using this code to pull some info from the database. PHP Code:
Thanks, Itworx4me |
Quote:
As for a php loop, you could have it slit the username into two arrays at the space and return an order like that. Honestly I don't know the details on coding something like that myself, but I would think it can be done. Probably not worth the work unless it's EXTREMELY important. |
Try this,
Code:
SELECT |
ok I tried this code:
PHP Code:
Code:
Database error in vBulletin 3.6.4: Itworx4me |
Hm... MySQL version? Try "substring" instead of "substr".
|
Thanks for the code SirAdrain. It worked.
Thanks, Itworx4me |
very nice man, I did not know you could do that!
|
All times are GMT. The time now is 11:47 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|