English
PHP, HTML & JavaScript- Forum

Buttons inquire in PHP

 

Thomas
Zielinski
Hello people,
I such a eleganteren lane, Buttons in PHP abzufragen. yet wants I it so solve:
CompileMarkSeparation
<h1>Neu Registrieren</h1>
<form action="" method="POST">
<table>
<tr><td>Name:</td><td><input type="text" name="newname"></td></tr>
<tr><td>Passwort:</td><td><input type="password" name="newpassword"></td></tr>
<tr><td>Passwort best&auml;tigen:</td><td><input type="password" name="newtwopassword"></td></tr>
<tr><td>Gruppe:</td><td><select name="newgruppe"><option>Betatest</option></select></td></tr>
<tr><td><input type="submit" value="Login" name="neuregistrieren"></td><td>Viel Spa&szlig;!</td></tr>
</table>
</form>
<?php

while ($i == 1):

    If (isset($_POST[neuregistrieren]))://Um Diese stelle hier geht es mir hauptsächlich

         $newname=$_POST[newname];
         $newpassword=$_POST[newpassword];
         $newtwopassword=$_POST[newtwopassword];
         $newgruppe=$_POST[newgruppe];
        Echo "Ob es wohl geht";
        Echo $newname.$newpassword.$newtwopassword.$newgruppe;
         $i = 2;
        EndIf;
        endwhile;

gives it there too another Possibility whom Button "neuregistrieren" abzufragen?

Greeting Thomas
 
XProfan X4; Win10 x64
Der Kuchen ist eine lüge!
11/27/07  
 



now $_POST & $_GET are so assoziative Arrays befüllt with the Values the Formelemente. I nutzte with one Button well isset or compared whom Value.

in the meantime check I none Button More, definitive are The Datas The arrive. (something tougher but safer)

whether one form Real is can You by Sessiondatas detect because You hidden inputs anlegst which (dynamic) data carry The only this a form fit. (Flood-, SpamSchutz)

Nachtrag: if mmj php need only say...
 
11/27/07  
 




Thomas
Zielinski
thanks! Mmj need yet no php. was in eigener thing.
Greeting Thomas
 
XProfan X4; Win10 x64
Der Kuchen ist eine lüge!
11/27/07  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

3.776 Views

Untitledvor 0 min.
Peter Max Müller vor 14 Tagen
Michael W.05/03/18
Georg Teles09/06/14
GDL05/27/13
More...

Themeninformationen

this Topic has 2 subscriber:

Thomas Zielinski (2x)
iF (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie