MySQL Forums
Forum List  »  German

Re: Formular encrypt
Posted by: Peter Brawley
Date: November 14, 2020 04:01PM

> $insert->execute();
...
> $select->execute();

Dieser Code ignoriert eventuell aufgetretene Fehler. Jeder solche Aufruf von MySQL erfordert eine Fehlerverfolgung.

> $sql = "INSERT INTO test (Vorname, Name, email)";
> $sql .= " VALUES ('" . $form_vorname . "','" . $form_name . "','" . $form_email;
> $sql .= "')";

Das Skript speichert die SQL in einer Variablen, führt sie jedoch nicht aus.

Options: ReplyQuote


Subject
Views
Written By
Posted
725
November 14, 2020 08:14AM
290
November 14, 2020 11:21AM
320
November 14, 2020 12:15PM
Re: Formular encrypt
316
November 14, 2020 04:01PM
1300
November 15, 2020 03:41AM
1317
November 15, 2020 10:59AM
317
November 15, 2020 12:53PM
316
November 15, 2020 02:27PM
345
November 15, 2020 04:07PM
279
November 15, 2020 06:15PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.