Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. kusarigama

    sorting a HTML drop down menu array alphabetic

    It's quiet big but very helpful - Thanks ! olli
  2. kusarigama

    sorting a HTML drop down menu array alphabetic

    Thanks ;). Is there also a way to sort it in the Dropdownbox itself. Sorry to bug you again ;) Olli
  3. kusarigama

    sorting a HTML drop down menu array alphabetic

    ...and how should it look like ;). I really tried all - but in vain ... Olli
  4. kusarigama

    sorting a HTML drop down menu array alphabetic

    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=&quot;position[]&quot;> <option value=&quot;Artist&quot;<?=$aa;?>>Artist</option> <option...
  5. kusarigama

    hidden form field

    OK :) i want to output the value of the &quot;hidden form field&quot;. 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
  6. kusarigama

    hidden form field

    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']; ?> <...
  7. kusarigama

    empty $_POST array

    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;)
  8. kusarigama

    empty $_POST array

    Problem has been solved :). There where to much Form Tags in the script. Olli
  9. kusarigama

    empty $_POST array

    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...
  10. kusarigama

    Hi all, I'm storing contents of

    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++; }...
  11. kusarigama

    Open a file accross HTTPS

    Your code: $fp = fopen(&quot;https://select.worldpay.com/wcc/info?op=rates-latest&instId=54321&quot;;,&quot;r&quot;); You may delete that &quot;;&quot; after &quot;...nstId=54321&quot;
  12. kusarigama

    Hi all, I have a problem concer

    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...
  13. kusarigama

    display certain contents of an array, selected by checkbox

    They have Linux running on the server ...
  14. kusarigama

    display certain contents of an array, selected by checkbox

    I'm using PHp 4.2 ---webserver:Puretec OS: WinXP. I test it via //locahost/..
  15. kusarigama

    display certain contents of an array, selected by checkbox

    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
  16. kusarigama

    display certain contents of an array, selected by checkbox

    By the way i corrected the error with semail[]. I'v put $emails in and it's still not working ... print'<input type=&quot;checkbox&quot; name=&quot;semails[]&quot; value=&quot;'.$i.'&quot;>'.$emails.'<br>';
  17. kusarigama

    display certain contents of an array, selected by checkbox

    Uhh -forgo teh code, here it is ... $fp = fopen($reader,&quot;r&quot;); if(isset($_POST['email_sel'])) { for($i=0; !feof($fp); $i++) { $emails = chop(fgets($fp,260)); if(empty($emails)) { continue; } if...
  18. kusarigama

    display certain contents of an array, selected by checkbox

    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
  19. kusarigama

    display certain contents of an array, selected by checkbox

    Ohh that was my mistake. I deleted that &quot;!&quot; by mistake.
  20. kusarigama

    display certain contents of an array, selected by checkbox

    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,&quot;r&quot;); function rt($damails)...

Part and Inventory Search

Back
Top