/    Sign up×
Community /Pin to ProfileBookmark

Hi all,

I’ve a problem which I hope anyone of you experts out there can render your expertise to help me provide a solution.I’m a newbie….so pls excuse my ignorance.

Below is part of the news.php

<form action=news.php method=post>

<table border=0>

<tr> <td> (Password): </td><td> <input type=password name=passwd zize=20> </td></tr>

<tr> <td> Subject: </td><td> <input type=text name=subject size=50> </td></tr>

<tr> <td> Article ID: </td><td> <input type=text name=article_id value=<? echo date(“j-m-Y”); ?> size=30> </td></tr>

<tr> <td> Date/Author: </td><td> <textarea name=date rows=2 cols=50 wrap=soft><? echo date(“M j, Yn”); ?>Author: </textarea> </td></tr>

<tr> <td> Summary: </td><td> <textarea name=summary rows=5 cols=50 wrap=soft></textarea> </td></tr>

<tr> <td> Body: </td><td> <textarea name=body rows=15 cols=50></textarea> </td></tr>

</table>

<input type=submit name=submit value=Add>

</form>

??? I don’t want this Body:<textarea> part and instead want a table of 5 rows & 5 cols. with input from user ? I am unable to Add the value.

Some helps from gurus out there.

Thanks

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@ray326Jul 11.2005 — Replace the textarea with something sort of like this.
<i>
</i>&lt;table&gt;
&lt;tr&gt;&lt;td&gt;&lt;input&gt;&lt;/td&gt;&lt;td&gt;&lt;input&gt;&lt;/td&gt;&lt;td&gt;&lt;input&gt;&lt;/td&gt;&lt;td&gt;&lt;input&gt;&lt;/td&gt;&lt;td&gt;&lt;input&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;input&gt;&lt;/td&gt;&lt;td&gt;&lt;input&gt;&lt;/td&gt;&lt;td&gt;&lt;input&gt;&lt;/td&gt;&lt;td&gt;&lt;input&gt;&lt;/td&gt;&lt;td&gt;&lt;input&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;input&gt;&lt;/td&gt;&lt;td&gt;&lt;input&gt;&lt;/td&gt;&lt;td&gt;&lt;input&gt;&lt;/td&gt;&lt;td&gt;&lt;input&gt;&lt;/td&gt;&lt;td&gt;&lt;input&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;input&gt;&lt;/td&gt;&lt;td&gt;&lt;input&gt;&lt;/td&gt;&lt;td&gt;&lt;input&gt;&lt;/td&gt;&lt;td&gt;&lt;input&gt;&lt;/td&gt;&lt;td&gt;&lt;input&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;input&gt;&lt;/td&gt;&lt;td&gt;&lt;input&gt;&lt;/td&gt;&lt;td&gt;&lt;input&gt;&lt;/td&gt;&lt;td&gt;&lt;input&gt;&lt;/td&gt;&lt;td&gt;&lt;input&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;

You'll have to complete all the inputs but that's the gist of it.
Copy linkTweet thisAlerts:
@fareenauthorJul 14.2005 — Thanks for the reply

I did this.

<table>

...<input name="r1c1">...<input name="r1c2">...

.

.

.

...<input name="r5c5">

</table>

<input type=submit name=submit value=Add>

</form>

? but still unable to add value. Pl. suggest me.

Thanking you in advance.
Copy linkTweet thisAlerts:
@ray326Jul 15.2005 — ? but still unable to add value. Pl. suggest me.[/QUOTE]
I guess you'll have to explain that. You want to add (+) the numerical values represented by the text in the input boxes?
×

Success!

Help @fareen spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...