Bir adı aramak için GİBİ kullanma

0 Cevap php

Ben iletişim bilgilerini içeren bir tablo var. Bu tablo adları ile ilgili 1 sütun vardır. Bu şuna benzer:

Sort Name:
Doe, John
Clinton, Bill
Dooby Doo, Scooby

Sadly, there are no first name / last name columns, and they can't be added. If a user enters the search term "john doe", is there any way I can get mysql to return the column for "Doe, John" as my result?

Edit: Bir RHSeeger tarafından cevap takip, ben yapmak için ne yapardınız

john doe 

içine

$name(0=>'john', 1=>'doe')

php kullanarak

Yardımın için teşekkürler şimdiye kadar

0 Cevap