0

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

2
  • 1
    Do you mean an HTML table or do you mean a MySQL table? Commented Oct 19, 2009 at 16:46
  • Try one of the numerous jquery tutorials. This question seems to be a request for some very basic information. Commented Oct 19, 2009 at 16:49

2 Answers 2

4

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"></script>';
Sign up to request clarification or add additional context in comments.

Comments

1

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.