![]() |
<select> problem
HTML Code:
<form action="new_isy.php" method="POST"> PHP Code:
Thanks in advance Niklas |
Give each option a "value" attribute.
Also, perish the thought of using raw user data in queries. Escape it always. |
HTML Code:
<form action="new_isy.php" method="POST"> And what do you mean by "raw user data in queries"? Thanks |
anyone?
|
Quote:
(security risk) |
Quote:
|
bump
|
take a look into a general vb-file, especially how they user $vbulletin->gpc and these parts of code :)
|
hmmm how would that string of code help me when I have no idea what any of you are talking about? I think you have forgotten what its like to not understand ;)
|
well, sorry but we can't teach you coding by posting on this forum.
we can just give you examples of how good code looks like, and i said, you should take any vb-file as an example, and will see that nowhere a $_POST is entered directly into the db, but all results are sanitized by the $vbulletin->gpc_cleaner |
All times are GMT. The time now is 04:56 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|