La Spiaggia del Dragone

  • Dicembre 06, 2025, 04:46:51 am
  • Benvenuto, Visitatore
Effettua l'accesso o una nuova registrazione.

Inserisci il nome utente, la password e la durata della sessione.
Ricerca avanzata  
Pagine: [1]

Autore Topic: Aiuto per PHP e SQL  (Letto 6972 volte)

0 Utenti e 1 Visitatore stanno visualizzando questo topic.

fedyfausto

  • Offline Offline
  • Post: 4
Aiuto per PHP e SQL
« il: Novembre 25, 2009, 12:09:26 am »

ho questa parte di codice:
Codice: [Seleziona]
<?php 


$insertSQL 
sprintf("INSERT INTO forumcategory_cod4 (id_section_forumcategory_cod4, name_forumcategory_cod4, description_forumcategory_cod4, private_forumcategory_cod4, country_forumcategory_cod4, icon_forumcategory_cod4) VALUES (".$row_sezione_pubblica['id_forumsection_cod4'].", ".$categoria_reclutazione.", ".$desc_categoria_reclutazione.", 0 , ".$row_sezione_pubblica['country_forumsection_cod4']." , ".$icona_categoria_reclutazione." )",
$Result1 mysql_query($insertSQL$database_cod4) or die(mysql_error());

$insertSQL sprintf("INSERT INTO forumcategory_cod4 (id_section_forumcategory_cod4, name_forumcategory_cod4, description_forumcategory_cod4, private_forumcategory_cod4, country_forumcategory_cod4, icon_forumcategory_cod4) VALUES (".$row_sezione_pubblica['id_forumsection_cod4'].", ".$categoria_clanwars.", ".$desc_categoria_clanwars.", 0 , ".$row_sezione_pubblica['country_forumsection_cod4']." , ".$icona_categoria_clanwars." )",
$Result2 mysql_query($insertSQL$database_cod4) or die(mysql_error());


$insertSQL sprintf("INSERT INTO forumcategory_cod4 (id_section_forumcategory_cod4, name_forumcategory_cod4, description_forumcategory_cod4, private_forumcategory_cod4, country_forumcategory_cod4, icon_forumcategory_cod4) VALUES (".$row_sezione_privata['id_forumsection_cod4'].", ".$categoria_benvenuti.", ".$desc_categoria_benvenuti.", 0 , ".$row_sezione_privata['country_forumsection_cod4']." , ".$icona_categoria_benvenuti." )",
$Result3 mysql_query($insertSQL$database_cod4) or die(mysql_error());

$insertSQL sprintf("INSERT INTO forumcategory_cod4 (id_section_forumcategory_cod4, name_forumcategory_cod4, description_forumcategory_cod4, private_forumcategory_cod4, country_forumcategory_cod4, icon_forumcategory_cod4) VALUES (".$row_sezione_privata['id_forumsection_cod4'].", ".$categoria_offtopic.", ".$desc_categoria_offtopic.", 0 , ".$row_sezione_privata['country_forumsection_cod4']." , ".$icona_categoria_offtopic." )",
$Result4 mysql_query($insertSQL$database_cod4) or die(mysql_error());

$insertSQL sprintf("INSERT INTO forumcategory_cod4 (id_section_forumcategory_cod4, name_forumcategory_cod4, description_forumcategory_cod4, private_forumcategory_cod4, country_forumcategory_cod4, icon_forumcategory_cod4) VALUES (".$row_sezione_privata['id_forumsection_cod4'].", ".$categoria_strategieallenamenti.", ".$desc_categoria_strategieallenamenti.", 0 , ".$row_sezione_privata['country_forumsection_cod4']." , ".$icona_categoria_strategieallenamenti." )",
$Result5 mysql_query($insertSQL$database_cod4) or die(mysql_error());

$insertSQL sprintf("INSERT INTO forumcategory_cod4 (id_section_forumcategory_cod4, name_forumcategory_cod4, description_forumcategory_cod4, private_forumcategory_cod4, country_forumcategory_cod4, icon_forumcategory_cod4) VALUES (".$row_sezione_privata['id_forumsection_cod4'].", ".$categoria_tattiche.", ".$desc_categoria_tattiche.", 0 , ".$row_sezione_privata['country_forumsection_cod4']." , ".$icona_categoria_tattiche." )",
$Result6 mysql_query($insertSQL$database_cod4) or die(mysql_error());

header("location: myclan.php"); 

?>



pero sembra darmi errore Parse Error : qualcuno sa trovare xke è un giorno che ci sbatto

blkwr

  • Offline Offline
  • Post: 317
Re: Aiuto per PHP e SQL
« Risposta #1 il: Novembre 25, 2009, 08:31:44 am »

$icona_categoria_reclutazione." )",



n00b, go to make shit, fucking bitch!! :*
Connesso

Aluerese

  • Offline Offline
  • Post: 2739
Re: Aiuto per PHP e SQL
« Risposta #2 il: Novembre 25, 2009, 01:36:45 pm »

MA VAFFANCULO
Connesso

thanks to b4, the pro designer.

blkwr

  • Offline Offline
  • Post: 317
Re: Aiuto per PHP e SQL
« Risposta #3 il: Novembre 25, 2009, 03:56:26 pm »

ueheuhe ma poi ci stava roba peggiore, almeno ora funziona :look:

povero piccolo fedy, così giovine e inesperto
Connesso

Aluerese

  • Offline Offline
  • Post: 2739
Re: Aiuto per PHP e SQL
« Risposta #4 il: Novembre 25, 2009, 05:04:38 pm »

in realta non so neanche di cosa cazzo state parlando :)
Connesso

thanks to b4, the pro designer.

blkwr

  • Offline Offline
  • Post: 317
Re: Aiuto per PHP e SQL
« Risposta #5 il: Novembre 25, 2009, 05:18:48 pm »

devi solo sapere che lagat s'e' scordato di spiegargli l'uso del ;

:sisi:
Connesso
Pagine: [1]