Jump to content

prestashop 1.6.1.18 interfacciarsi al database


overbags

Recommended Posts

ciao a tutti ... devo inserire uno script che mi hanno dato online in una pagina php di prestashop però volevo sapere come interfacciarlo al database

   $query 'UPDATE '._DB_PREFIX_.'customer
                   SET email1 =  IF(email2="" OR email2 is null, email1, email2)
                   WHERE id_customer = ' 
.$this->id;
  
// esegui la query...non conosco come ti interfacci al database :-)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...