Reply to How to do an array?

Your name:

Reply:


Posted by Dave Kelly on 04/08/07 02:48

I am going to ask this here. Part belongs in this users group and part
in another.
I have a html file that consists of several hundred lines such as the
group below.
To store the data on the server, am I correct to say an array is created
and for
this example the array has a name of 'describe[]'?

<div style="text-align: center;"><h2>Personal Data</h2></div>
<p>Your Name:&nbsp;&nbsp;<input type=text name=describe[] size="40%"
maxlength=256>
Tel:&nbsp;&nbsp;<input type=text name=describe[] size="30%" maxlength=16>
Date of Report:&nbsp;&nbsp;<input type=text name=describe[] size="10%"
maxlength=16></p>
<p>Your Address:&nbsp;&nbsp;<input type=text name=describe[] size="60%"
maxlength=1024>
E-Mail:&nbsp;&nbsp;<input type=text name=describe[] size="30%"
maxlength=1024></p>
</body>

I need to fill the [] with a number. I had wanted to write a shell script
to do that. I have googled for 2 days and have yet to discover how
to increment a numerical variable in 'sed'.

Can someone help me or more importantly, tell me where the tutorial is
that will
answer these question.

TIA
Dave

--
A little rum in the morning coffee. Just to clear the cobwebs, ya know.

[Back to original 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

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