Jump to content
php.lv forumi

Pasūtijumu forma.


http://localhost

Recommended Posts

http://localhost --> veidojot Web lapas ar PHP shii 'problema' ir ljoti izplatiita --> sastopama 90% web lapaas ...

Saucaas FORMU apstrade .....

Gatavu skriptu nav un nebuus , jo katrs gadijums ir vairak vai mazaak indviduals ......

princips ir gauzaam vienkarsh ....

HTML dalja

<form method="POST" action="apstrade.php">
<input type="text" name="aaa"><input type="submit" name="bbb" value=" OK ">
</form>

PHP dalja apstrade.php

 <?php echo $_POST['aaa']; ?>

----

talak jau viss izejot no shiem pamatiem.....

gan sanjemto datu parbaude, gan apstrade un saglabasana (DB, vai teksta failaa ) ....

Taa ka naksies vien kjerties pie PHP manualja.....

P.S. nu protams arii pei HTML macisanas --> sadalja form ......

Edited by Grey_Wolf
Link to comment
Share on other sites

×
×
  • Create New...