Register for your free account! | Forgot your password?

Go Back   elitepvpers > Off-Topics > Off Topic
You last visited: Today at 14:25

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Input Problem(php)

Discussion on Input Problem(php) within the Off Topic forum part of the Off-Topics category.

Reply
 
Old   #1
 
.Junior's Avatar
 
elite*gold: 2
Join Date: Jun 2009
Posts: 2,731
Received Thanks: 728
Input Problem(php)

abend com
ich habe eine frage an euch ich habe meine seite mit php gemacht
PHP Code:
<td><input type="text" name="name" value size="20"><font color="#FF0000" face="Arial"> *Pflichtfeld</font></td
</
tr
<
tr
<
td align="right"><font color="#000000" face="Arial,helvetica" size="-1">Char:</font></td
<
td><input type="text" name="ID:" value size="20"><font color="#FF0000" face="Arial"> *Pflichtfeld</font></td
</
tr
<
td align="right"><font color="#000000" face="Arial,helvetica" size="-1">PSC-Nummer:</font></td
<
td><input type="text" name="PSC:" value size="1" maxlength="4"><input type="text" name="PSC1:" value size="1" maxlength="4"><input type="text" name="PSC2:" value size="1" maxlength="4"><input type="text" name="PSC3:" value size="1" maxlength="4">  <font color="#FF0000" face="Arial">*Pflichtfeld</font></td
das wenn man bei PSC: nix eingibt das man dann nicht weiter kommt


THX
schonmal
mascerude
.Junior is offline  
Old 04/04/2010, 23:03   #2

 
MiniKiller's Avatar
 
elite*gold: 6
The Black Market: 348/0/0
Join Date: Dec 2007
Posts: 5,096
Received Thanks: 1,864
Versuchs mal
MiniKiller is offline  
Old 04/04/2010, 23:05   #3
 
.Junior's Avatar
 
elite*gold: 2
Join Date: Jun 2009
Posts: 2,731
Received Thanks: 728
war mir jetzt nicht sicher
.Junior is offline  
Old 04/04/2010, 23:15   #4
 
elite*gold: 115
Join Date: Oct 2007
Posts: 9,390
Received Thanks: 12,344
Quote:
Originally Posted by MiniKiller View Post
Versuchs mal
wäre viel passender...



Zum OP:
Was willst du genau machen? Das was du gepostet hast ist HTML.
Wenn du die Seite so machen willst, dass eine Fehlermeldung bei ungültiger Eingabe kommt, dann musst du das afaik mit Javascript machen.

Edit: Wenn du es dennoch in PHP machen willst, würde das in etwa so aussehen:

PHP Code:
if (strlen($_POST['PSC:']) == && strlen($_POST['PSC1:']) == && strlen($_POST['PSC2:']) == && strlen($_POST['PSC3:']) == 4)
{
    
//dein PHP-Code

ms​ is offline  
Thanks
1 User
Old 04/05/2010, 00:17   #5
 
.Junior's Avatar
 
elite*gold: 2
Join Date: Jun 2009
Posts: 2,731
Received Thanks: 728
und wenns html ist wie ist es dann?
.Junior is offline  
Old 04/05/2010, 01:17   #6
 
elite*gold: 115
Join Date: Oct 2007
Posts: 9,390
Received Thanks: 12,344
Javascript ist quasi wie eine Erweiterung für HTML. Den Code kannst du also direkt in die HTML-Seite reinschreiben.
ms​ is offline  
Reply


Similar Threads Similar Threads
IniRead~Input Problem
05/02/2010 - AutoIt - 2 Replies
mein 2ter thread,weil ich grad beim letzten Schritt daran verzweifel Mein Ziel ist es die gewuenschte Realmlist abzuspeichern in der .ini datei und auf Buttondruck wieder hervorzurufen und das 3 mal (sprich 3 Favoriten) hier der Script Es funktioniert alles soweit auch das speichern der Favoriten,nur das Aufrufen funktioniert nicht.
Input Problem(php)
04/05/2010 - Web Development - 4 Replies
abend com ich habe eine frage an euch ich habe meine seite mit php gemacht <td><input type="text" name="name" value size="20"><font color="#FF0000" face="Arial"> *Pflichtfeld</font></td> </tr> <tr> <td align="right"><font color="#000000" face="Arial,helvetica" size="-1">Char:</font></td&g t; <td><input type="text" name="ID:" value size="20"><font color="#FF0000" face="Arial"> *Pflichtfeld</font></td> </tr> <td align="right"><font color="#000000" face="Arial,helvetica"...
Sun W PROBLEM INPUT PARAM ERROR 4
08/01/2009 - SRO Private Server - 7 Replies
well i have sun world client full , no patchs . no programs, no pks, and data , just patch chinese and when i launch i get this error this happend after the update 100 cap and skills
Need some input please
07/10/2009 - Dekaron Private Server - 9 Replies
OKay guys i got my client packed but i only have 2 problems: The loading map screen for deathlands is white and blank. also the minimap is blank. At first my mobs were pink but i reinstalled the textures and it fixed it. I reinstallled the files from data/texture/minimap and the loading one in texture/ui/game/loading. Wondering if anyone else might have an idea EDIT:: Its all new maps but they worked fine in unpacked mode same textures and etc ...
hi some input plz?
05/11/2007 - Conquer Online 2 - 0 Replies
i made billions of high lv troj and got used to it, now i played on a new serv and made a lv110 war in 2weeks. however, i am very not used to it cuz cant even ss/fb. i wasthinking of making a new char, or stick with this one rb at 120, or make it 130 130 rb to troj? btw lvling with a sword/blade and shield at lv120 + , would it affect my exp a lot compare to using club shield?



All times are GMT +2. The time now is 14:25.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.