|
You last visited: Today at 05:15
Advertisement
PHP-Mysql _ query
Discussion on PHP-Mysql _ query within the Web Development forum part of the Coders Den category.
06/08/2012, 20:31
|
#1
|
elite*gold: 0
Join Date: Apr 2010
Posts: 1,674
Received Thanks: 229
|
PHP-Mysql _ query
Hallo meine frage/problem wie kriege ich es hin das diese anfragen mit einem query abgesendet werden?
PHP Code:
$eintrag = "INSERT INTO lions_aateilnahme (Event,Freund,Personen,EssenFleisch, EssenFisch,EssenVeg,Kommen,Bemerkung) VALUES ('$id','$name', '$teilnehmer','$norm', '$fisch','$veg','$kommen','$bemerkung')"; $eintragen = mysql_query($eintrag); if(!empty($int)){ $intt= "INSERT INTO lions_aateilnahme (IntAntwort1) VALUES('$int')"; $eintragen = mysql_query($intt); } if(!empty($int2)){ $string = "INSERT INTO lions_aateilnahme (CharAntwort1) VALUES('$int2')"; $eintragen = mysql_query($string); } if(!empty($char)){ $string = "INSERT INTO lions_aateilnahme (CharAntwort1) VALUES('$string')"; $eintragen = mysql_query($string); } if(!empty($char2)){ $string = "INSERT INTO lions_aateilnahme (CharAntwort1) VALUES('$char2')"; $eintragen = mysql_query($string); }
hat sich geklärt ..
|
|
|
|
Similar Threads
|
PHP/MySQL Help - Is this MySQL Query correct?
09/23/2011 - CO2 Programming - 1 Replies
$rank = mysql_query("SELECT Name,Level,Class,Online FROM entities ORDER BY Level DESC LIMIT $limit");
I'm pretty sure that is right... whenever I do
while ($row = mysql_fetch_array($rank)) { ... }
It always gives me a mysql_fetch_array error. I've checked and the database is populated, the columns exist, so what could be the issue?
|
Auf der Suche nach einem MySQL Query
01/02/2011 - Metin2 Private Server - 16 Replies
Liebe E*pvp Com,
nach langer Zeit, brauche ich nun mal wieder eure Hilfe.
Ich kenne mich nicht allzu gut mit MySQL Querys aus,
daher würde ich gerne fragen, ob mir jemand einen
MySQL Query geben kann, der das Yang der
User um eine Stelle kürzt. Dass beispielsweise
aus 100kk, 10kk werden.
Schon einmal Danke für eure Hilfe :)
|
V14 DB mit Navicat/MySQL Query Browser
09/12/2010 - Flyff Private Server - 4 Replies
Ich habe mal nee Frage.
Ich habe mir mal einen PServer mit V13 gemacht. I-Wann habe ich dann auf V14 gemacht. Und auf der Seite wo ich die files und so her hab, steht dass man die DB mit SQL Server Management öffnen muss.
Kann ich die DB nicht vllt. i-wie mit Navicat oder MySQL Query Browser öffenen. Denn mit Server Management komme ich nicht zurecht.
|
[Tut]How to make a Shop w/ mySQL query browser
10/18/2009 - MapleStory - 0 Replies
Okay so, this is how to make a shop using mySQL query browser
Step one:
Choose an NPC and find it's id.
Then, find a shop ID that isn't being used, by going to a resultset and clicking on "Shops"
Choose a shop id.
then, create a new script and insert this in
|
Problem: MySQL Query Error
09/10/2008 - Flyff Private Server - 2 Replies
Hi,
ich hab heute die Serverfiles (rev_1) gedownloadet und auch wie in dem Guide konfiguriert.
Sprich: MySQL installiert, Navicat installiert, .inis abgeändert, SQLs in Navicat eingefügt, neuz.ini abgeändert...
Ich kann mich auch einloggen, aber bei der Charaktererstellung kommt immer folgendes Problem, egal welche Datenbank ich benutze...:
MySQL Query Error 'Field' 'channelnum' doesn't have a default value'
Btw: Ich hab auch schon probiert einen beliebigen Wert in der Tabelle...
|
All times are GMT +2. The time now is 05:15.
|
|