Hi all,
is there a way to sort a HTML Drop down list array alphabetic ?
I tried the following, but it doesn't work !
Can anyone help me ?
Olli
<select name="position[]">
<option value="Artist"<?=$aa;?>>Artist</option>
<option...
OK :) i want to output the value of the "hidden form field".
When I hit submit, the the value is put to the hidden form field. when I hit the submitbutton a second time the value of the hidden field is dispalyed. Is there a way to display the value on the first submit
Olli
Hi all,
is there a way to output hidden form fields on the first submit:
I need it to output error messages on the top of my script!
<form action=<?=$_SERVER['PHP_SELF'];?> method=post>
<input type=hidden name=collect value=<?=$_POST['collect']?>>
<?PHP
echo $_POST['collect'];
?>
<...
I actually don't know how that happen. I had about 5 different forms in one script (add mail, delete mail, send to selected. All this as put in a layer). I suppose that was the bug ?
none well formed HTML;)
Oops - I forgot to put in the subject ...
Hi all,
I'm storing contents of a textfile in the array 'emails[]'
and try to output $_POST['emails'];
The array emails is empty and I don't know what I did wrong
Can anyone help me ?
$i=0;
while(!feof($fp))
{
$emails = fgets($fp,620)
<input...
Hi all,
I'm storing contents of a textfile in the array 'emails[]'
and try to output $_POST['emails'];
The array emails is empty and I don't know what I did wrong
Can anyone help me ?
$i=0;
while(!feof($fp))
{
$emails = fgets($fp,620)
<input type=checkbox name=emails[] value=$i>
$i++;
}...
Your code:
$fp = fopen("https://select.worldpay.com/wcc/info?op=rates-latest&instId=54321";,"r");
You may delete that ";" after "...nstId=54321"
Hi all,
I have a problem concerning the $_POST array. In my script I display checkboxes as much emails my textfiles contains.
It's normaly stored in the $_POST array. Now I make a mark on the email's checkboxes to output - and it doesn't work. The array $_POST['emails'] is totally empty...
The problem is that:
Warning: Wrong datatype for second argument in call to in_array in c:\inetpub\wwwroot\MEDIA-LOOK\_admin\rundmailer.php4 on line 191
By the way i corrected the error with semail[]. I'v put $emails in and it's still not working ...
print'<input type="checkbox" name="semails[]" value="'.$i.'">'.$emails.'<br>';
There is still an error message regarding the is_array() command. Wehen it tries to compare the emails, it fails
But everything looks good so far. Register:globals is on
Olli
hehe - I understand your script ;)
You use $_POST. Is it possible via a function() too (without using $_POST ?
I tried to store the $emails[$i] in a function. But guess: There is also an error somewhere ... sorry ;)
The script is :
fp = fopen($reader,"r");
function rt($damails)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.