![]() |
why would i want an admin script to be xhtml compliant?
besides surely that's the do as the second parameter in the function definition? and the reason i would like it is because the form needs to get processed somehow and i got the main script/form as confessions_moderate.php and it has proved to work quicker if i put that part of the processing on another part of the script. |
> why would i want an admin script to be xhtml compliant?
You want this so that compliant browsers can display the page. If there was a 101% compliant browser it would reject the page as being invalid ;) > besides surely that's the do as the second parameter in the function definition? As I said, look at adminfunctions.php. > and the reason i would like it is because the form needs to get processed somehow Sure. And where's the problem in processing the form? File demo.php PHP Code:
|
Quote:
|
Quote:
PHP Code:
HTML Code:
<form action="moderate.php?do=WHATEVER" name="confessions" method="post"> basically, am i being told that it's impossible? |
PHP Code:
PHP Code:
HTML Code:
<form action="moderate.php" name="cpform" method="post"> Yes, this is not possible with the standard functions to create CP-forms, although you could do it manually. But as I already said earlier, this is not needed and AFAIK it's not valid at all. |
thanks for your help kirby
|
yay it's all working fine, my only problem now is this
PHP Code:
|
Hmm ... what's the problem with this line (except that it should be & to be XHTML compliant)?
|
lol well basically it should do this in one line
PHP Code:
the query that makes the array is PHP Code:
|
And where do you select a userid and username in your query? I can only see confessionid and text ...
|
All times are GMT. The time now is 06:34 AM. |
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:
|