This is a simple question, yes I am very new at php but practicing with all my might lol
Recently when writing queries to php I keep running into problems in the line of writing $sql=insert.... Some books I have say to use quotes or single quotes where I find that using them sometimes works sometimes don't. So far this is what I have been able to get done writing NEW input to the database:
$sql="insert into table_customers (company,firstname,surname,email,telephone,fax,address1,town,county,postcode,country,username,password,startdate)
Now my question is, I now want to write a form field where the form writes or updates a specific field in the table. For example, update their firstname and surname with new changes....
How exactly do I do both, call on the table and field then tell it to write??????
Any help is much appreciated 🙂