Welcome Guest, Not a member yet? Register   Sign In
Iframe and Forms
#1

[eluser]Unknown[/eluser]
<iframe src="demo_iframe.htm"></iframe>
Frames
<frameset cols="25%,75%">
<frame src="page1.htm" />
<frame src="page2.htm" />
</frameset>

<form action="http://www.example.com/test.asp" method="post/get">
<input type="text" name="email" size="40" maxlength="50" />
<input type="password" />
<input type="checkbox" checked="checked" />
<input type="radio" checked="checked" />
<input type="submit" value="Send" />
<input type="reset" />
<input type="hidden" />

<select>
<option>Apples</option>
<option selected="selected">Bananas</option>
<option>Cherries</option>
</select>
&lt;textarea name="comment" rows="60" cols="20"&gt;&lt;/textarea>

&lt;/form&gt;
Something missing here, it doesnt work
technically
it may appear correct but functionally it doesnt work.
#2

[eluser]TWP Marketing[/eluser]
First, please enclose your code in code tags to make it easier for us to read it.
Second, your question is really related to HTML coding, not CI or PHP
Third, I think your form method may be EITHER "get" or "post" but not both:
Code:
&lt;form action=“http://www.example.com/test.asp” method=“post/get”&gt;

[EDIT] Your select element needs at least the "name" attribute if you are going to be able to reference the POSTed selection.




Theme © iAndrew 2016 - Forum software by © MyBB