1 2 3 4 5 6 7 8 9 10 11
|
$sql = "INSERT INTO adnnonces (category, userid, user, name, surname, street, zip, city, state, country, phone1, phone2, email, web,
ad_type, ad_headline, ad_text, ad_condition, ad_price, ad_liv, date_created, date_lastmodified,
flag_featured, flag_top, flag_commercial, published
)
VALUES (
'$category', '$userid', '$username', '$name', '$surname', '$street', '$zip', '$city', '$state', '$country',
'$phone1', '$phone2', '$email', '$web', '$ad_type', '$ad_headline', '$ad_text',
'$ad_condition', '$ad_price','$ad_liv', CURRENT_DATE(), CURRENT_DATE(),
'$flagFeatured', '$flagTop', '$flagCommercial', '$publishAd'
)"; |
Partager