I am having trouble getting the search form in iUI to work. I have
built an application that displays browsable information. If you
click on the search button in the upper right it brings down the
search panel. If you enter a search all it does is scroll over to a
blank page. It doesn't seem to send any information over POST or
GET.
As a test case I built the following.
index.php includes the following search form, which displays properly:
<form id="searchForm" class="dialog" action="search.php"
method="get">
<fieldset>
<h1>Search Logs</h1>
<a class="button leftButton" type="cancel">Cancel</a>
<a class="button blueButton" type="submit">Search</a>
<label>Search:</label>
<input id="s" type="text" name="s" />
</fieldset>
</form>
I wrote a simple search.php page to output the search term:
<?php
echo "search term is " . $_GET["s"];
?>
I can't get the search form in the index page to take me to search.php?
s=searchterm and it instead just shows me a blank page, not
search.php.
This is probably incredibly simple but I can't figure out what I'm
missing.
Any help would be appreciated.
Thanks.
Dan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---