I'm hoping this is possible.
I have a textarea defined as follows. Works fine.
But I now want to assign a value to the name. Please tell me I can and how. Thanks !
print '<textarea rows="1" cols="20" name="newcmt'.$cmtid.'"></textarea>';
I'm hoping this is possible.
I have a textarea defined as follows. Works fine.
But I now want to assign a value to the name. Please tell me I can and how. Thanks !
print '<textarea rows="1" cols="20" name="newcmt'.$cmtid.'"></textarea>';
echo "<textarea rows=\"1\" cols=\"20\" name=\"newcmt{$cmtid}\"></textarea>";
or in html
<textarea rows="1" cols="20" name="newcmt<?php echo $cmtid;?>"></textarea>
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.