I have a form
Name : i.e in form (name = "detail[name]")
Address : i.e in form (name = "detail[address]")
Email : i.e in form (name = "detail[email]")
I fetched the data as follows in php:
$data = array_map('ucwords', $_POST['detail']);
I got all the values with capitalized first letter in my database after using insert query
Then I have realized that email should not be in caps so I thought of converting it to lowercase while making sure other values remains constant
And I failed ... so anyone interested to help me is most welcomed :D
Thanks in advance