re: sending results to a new page

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

cembert
Forum Newbie
Posts: 11
Joined: Tue Jul 03, 2007 11:29 am

Post by cembert »

Out of curiosity, I placed both files on my server. (linux)
search-functions.php
results.php

Search functions shows nothing, blank browser window.
results.php does the same.

I created search.html
input form which calls search-functions.php

Still nothing....blank window.
Assuming functions still have to be their own file (Utilities)

Read your markup and I will play with it more.
Regards,
Chris

P.S. This script was e-mailed to me by a friend, knowing that I was looking for a quick and basic search engine. If you have any recommendations regarding a more updated search engine script with relevent code, please let me know....I want to try and learn the current language. I am hopeful that by learning this old source I will learn a few things, like integers not needing quotes and the basics of Functions.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

What you have is horribly outdated and incorrectly coded. I cleaned a little bit of it, but there is a lot of work to be done to get it to work the way it should on today's systems.

If I can clean it up a little more I will try. I am busier than crud today though, so I may not get around to it at all.
cembert
Forum Newbie
Posts: 11
Joined: Tue Jul 03, 2007 11:29 am

Post by cembert »

Really not a big deal.

I have a few active searches running.
My only issue with most of the scripts is getting a new page with results.

I am not use to developing with php.

I'll see what I can come up with.
Thanks for your help.

-Chris
Post Reply