Using ucfirst(strtolower with INSERT INTO table

Home Forums Quform PHP Using ucfirst(strtolower with INSERT INTO table

This topic is: resolved
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #8723
    CubicalWeb
    Participant

    PLEASE DELETE POST – I forgot to change the name to first_name

    —————————————-
    I have read in another questions about how to make a name proper in an email, but I’m trying to make sure certain fields are entered into the database with the proper case. Below is the code that isn’t working. Can you tell me what I’m doing wrong?


    $query .= "'first_name' = '" . mysql_real_escape_string(ucfirst(strtolower($form->getValue('name')))) . "',";

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy