views:

51

answers:

2

I am currently creating a table with php and data from a mysql db...

So I need to use Jquery in the table....

How can I do this? Im guessing I have to import the library somehow?

Thanks

+3  A: 

Place this somewhere in the HTML Header area of your PHP file:

echo '<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"&gt;&lt;/script&gt;';
powtac
+1  A: 

PHP and JQuery have nothing to do with each other. PHP generates HTML and JS that can contain JQuery. You embed JQuery as you would in a normal HTML page.

Pekka