A little about Vernon...

Hey there everybody, I’m Vernon. I’ve been a full-time freelance web designer since 2002 and can honestly say it’s been a great journey.

If you’re interested, take a look at my services site and let me help you with your project.

You are currently browsing the archives of the PHP - MySQL category.

0

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

jQPie is a jQuery PHP interface extension that provides a lightweight PHP interface to jQuery. The interface gives you multiple ways to interact and supports XML, HTML and JSON Handlers.

What can jQPie do?

  • Easily request and process data from php using $.getJSON
  • Inject php generated html into elements using $.(element).load
  • Call php functions directly from your web pages using $.jqpie
  • Call jQuery from php in respond to $.jqpie calls
  • Advanced autocomplete using jqpie_complete

Check out examples as well as the advanced autocomplete example.

jquery php autocomplete example

1

A lot of websites show the current date somewhere on the site whether it be in the header or sidebar area. Over on WebReference.com there is a long article about using Javascript to do this.

Granted, if you are trying to learn Javascript this is probably a good article to read. Yet, if you simply want to display the current date on your website PHP is the way to go.

Their are a couple of strengths of using PHP to display the current date. First, you don’t have to worry whether your visitors have Javascript turned on or off. Second, you can accomplish in one line of code what takes a good bit of Javascript to do.

Below are quite a few different ways to display the current date using PHP:

Example: February 6, 2007

< ?php echo date('F j, Y'); ?>

Example: Feb. 6th

< ?php echo date('M. jS'); ?>

Example: 06-02-2007 (d-m-y)

< ?php echo date('d-m-y'); ?>

There are many ways to use PHP to display the current date, and they are all simple as pie. Take a look at the PHP website to see all of the different ways that you can display the date using PHP.

0

The initial release of phpPaypalPro is now available for public download. The framework has a good offering of features that will simplify the process of integrating with the Website Payments Pro API from PayPal.

A key feature is that it allows you to add multiple items when performing the DoDirectPayment and DoExpressCheckoutPayment operations.

The operations that are currently supported includes:

  • DoDirectPayment
  • SetExpressCheckout
  • GetExpressCheckoutDetails
  • DoExpressCheckoutPayment

Check out the examples page.

Download the source code.

View the documentation.