Hi
I'm having issue with editing the Input Type in 2 different position. I want to edit and add input text in the img. I also want to edit and add input text in the content. What I want to learn is how to add 2 Input Type areas in the same form action
Example:
<a href="photo.php">
<img src="images/image_1.jpg" style="width:400px" />
<p id="caption">One to remember </p>
</a>
My db name is photography
My table is
CREATE TABLE 'photography' (
`id` int(13) NOT NULL auto_increment,
`title` varchar(255) NOT NULL,
`content` text NOT NULL,
PRIMARY KEY(`id`)
);
This is my code so far and I'm having issue on how to write it correctly:
<form action="photoimage.php" method="post">
Photo: <input type="" name"" valve=" />
<br />
Caption: <input type="" name"" valve="" />
<br />
</form>
This is my output looks like this:
<a href="photo.php">
<img src="images/<?php echo $title; ?>" style="width:400px" />
<p id="caption"><?php echo $content; ?></p>
</a>
I really appreciate if someone explain to me how write input type correctly. Thanks!