sql recherche nom prenom
SELECT *
FROM personne
WHERE nom LIKE '".$debut."%'
OR prenom LIKE '".$debut."%'
OR CONCAT(prenom, ' ', nom) LIKE '".$debut."%'
sql recherche nom prenom
SELECT *
FROM personne
WHERE nom LIKE '".$debut."%'
OR prenom LIKE '".$debut."%'
OR CONCAT(prenom, ' ', nom) LIKE '".$debut."%'
sql query
$meta_query_args = array(
'relation' => 'OR', // Optional, defaults to "AND"
array(
'key' => '_my_custom_key',
'value' => 'Value I am looking for',
'compare' => '='
),
array(
'relation' => 'AND',
array(
'key' => '_my_custom_key_2',
'value' => 'Value I am looking for 2',
'compare' => '='
),
array(
'key' => '_my_custom_key_3',
'value' => 'Value I am looking for 3',
'compare' => '='
)
)
);
$meta_query = new WP_Meta_Query( $meta_query_args );
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us