Thursday, October 23, 2008

Using functions in form file

So I recently ran into the problem of trying to grab $_REQUEST variables from a page and use them in a function on the same page. My error was Fatal error: Call to undefined function myFunction...

The structure of my code was check if the request had been submitted and perform page logic, otherwise display the form. The apparent problem was that my function was inside the page logic after the if statement checked for the request. Because it was after the if statement it never got parsed ahead of time and therefore never really existed before the call was made.

To fix the problem I simply moved my function to the top of my pHp code (before the if statement) and everything works fine.

Wednesday, October 22, 2008

Party Fun 411 - a party directory

My most recent project at SEO Webworks is Party Fun 411. Party Fun 411 is a party directory where you can find any kind of service you would need for any city or state in the US. Only the cities that have vendors listed though will show up so you don't waste your time looking through empty directories. I discovered vendors for types of companies I didn't even know existed such as chocolate fountains. Did you know there are vendors out there that let you rent them? I didn't. You can also find any of your normal party services such as Limousines or "Party Buses" and Planners for things like weddings or even corporate events.

Party Fun also helps out the small vendor companies that offer party services because it allows them to build PR (Google's page ranking system). Our site helps focus keywords such as wedding planning to vendors for wedding planning so even the little guys have a chance at being found.

I think that Party Fun 411 has a lot of potential to grow and be that much more valuable to its customers and vendors.