Jump to content

JovanLo

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Everything posted by JovanLo

  1. you can use wget tool to download your images. A cron job to wget the images at specified intervals will work. http://pages.interlog.com/~tcharron/wgetwin.html http://gnuwin32.sourceforge.net/packages/wget.htm
  2. if the name of the above form is "test" then, you can access the value of the third checkbox element by using the following line (javascript) var id_cat="cat_id[]"; var third_val =document.test[id_cat]["2"].value;
  3. try this : echo $item will print the selected values. <? $cat_id_array=$_POST["cat_id"]; foreach($cat_id_array as $key=>$item){ echo $item; } ?> <html> <form method="post" action""> <label><input type='checkbox' name='cat_id[]' value='1'/>Food</label> <label><input type='checkbox' name='cat_id[]' value='2'/>Gas</label> <label><input type='checkbox' name='cat_id[]' value='3'/>Religion</label> <label><input type='checkbox' name='cat_id[]' value='4'/>Chips</label> <label><input type='checkbox' name='cat_id[]' value='5'/>Drinks</label> <input type="submit" value="submit"> </form> </html>
  4. i hope this is what you are looking for.. foreach($arActive as $key=>$value){ $value_array=explode("_",$value); $key_next=$value_array[1]; $final[]=$arMyServers[$key_next]; }
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.