Risultati della ricerca

  1. G

    sql.txt problemi nella creazione delle tabelle

    Ho un file sql.txt che mi dà una serie di problemi nella creazione delle tabelle. questo è il file CREATE DATABASE RegistrationForm DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci; create user RegForm_user; grant all on RegistrationForm.* to 'RegForm_user'@'localhost' identified...
  2. G

    Google recaptcha in verify.php - dove inserire il codice

    Questo è il mio file PHP che inserisce i dati nel DB <?php $error = 0; $success = 0; if (isset($_POST['register'])) { $lastname = $_POST["last_name"]; $name = $_POST["name"]; $phone = $_POST["phone"]; $address = $_POST["address"]; $postcode =...
  3. G

    [Javascript] jQuery PHP MySql - inserire variabile nel DataBase

    In un file jQuery ho questa selezione click: function () { //Click event if (this.status() == 'available') { //optional seat var maxSeats = 3; var ms = sc.find('selected').length; //alert(ms); if (ms < maxSeats) { price...
  4. G

    [Javascript] Ricalcolo Totale jQuery

    Sono nuovo a jQuery quindi vado per tentativi e chiedo a chi è più esperto un aiuto. Questa è la parte di codice incriminata click: function () { //Click event if (this.status() == 'available') { //optional seat var maxSeats = 3; var ms = sc.find('selected').length; //alert(ms)...
  5. G

    [Javascript] prenotazione posti a teatro jQuery-Seat-Charts

    Ho un progetto php che prenota dei posti a teatro utilizzando una personalizzazione di questo plugin JQuery https://github.com/mateuszmarkowski/jQuery-Seat-Charts Questi sono i codici dei file utilizzati nel progetto. booking.js presonalizzazione di jQuery-Seat-Charts var price = 10; //prezzo...
  6. G

    [PHP] Warning: Cannot modify header information - headers already sent by

    ricevo questo warning, problema alla riga 92 Warning: Cannot modify header information - headers already sent by (output started at /home/ilguitto/domains/ilguitto.org/public_html/book/register.php:17) in /home/ilguitto/domains/ilguitto.org/public_html/book/register.php on line 92 Qui sotto...
  7. G

    [PHP] Problema - Warning: session_start() [function.session-start]

    Ricevo il seguente warning appena mi collego alla pagina index.php Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/ilguitto/domains/ilguitto.org/public_html/book/index.php:14) in...
  8. G

    Warning: mysql_num_rows() che problema è?

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/ilguitto/domains/ilguitto.org/public_html/book/register.php on line 82 Could not insert to the register: No database selected ricevo questo errore alla riga in questione : $num_rows =...