You are here: Re: Counter syntax problem « PHP Programming Language « IT news, forums, messages
Re: Counter syntax problem

Posted by milahu on 11/17/74 11:45

First of all, relying on register_globals=on is just soo bad; Please
use $_GET['varnam'] resp. $_POST['varnam'] for accessing script
parameters instead.

Concerning your problem: You can pass arrays via the GET method by
using array[index] as varname. Use array[] for auto increment of the
index. To print a value, use
<?php=$_GET['array']['index']?>

PS: Use $op++ instead of $po = $po + 1 :)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация