Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Simple Search Form

New Here ,
Jun 26, 2009 Jun 26, 2009

I am having a really annoying problem with my single field search form. When I search for results I want it to load a page with a form with all the fields filled in.

I have this method working on another page.

The form is on member_search.php and the form field is name 'mid'. I have the form action set to member_search2.php which has the complete member profile form on it.

I have a recordet on member_search2.php with the filter is mid = form varriable mid and have all the fields dynamic.

But when I search it loads the member_search2.php with all fields blank.

Any help is wonderful!

Thanks,

Nicole

TOPICS
Server side applications
466
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 26, 2009 Jun 26, 2009

What is your form Method set to? If it's set to POST, form variable is correct, but if it's set to GET, you should use URL parameter as your filter.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 26, 2009 Jun 26, 2009

It is set to POST.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jun 28, 2009 Jun 28, 2009
LATEST

I guess u should name the text field where u want to search it as 'mid' instead of that form.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines