java script and php

i am mixing php with a java script tabbed panels and i am getting problems. can i mix java script with php?

 
err.png
LVL 1
helpchrisplzAsked:
Who is Participating?
 
Lukasz ChmielewskiConnect With a Mentor Commented:
So I assume the tabbed panel does not work ?
Try to move the top php section with text outputs AFTER <body> tag, leaving the functions at the top.

I recommend using jQuery library - easy to use with just a few lines. Also has a built in tabbed pages functionality:
http://jqueryui.com/demos/tabs/
0
 
Lukasz ChmielewskiCommented:
Yes you can, you have to remember to put php inside <?php and ?> tags.
Is the query outputted intentionally ?
0
 
helpchrisplzAuthor Commented:
i do have it in  <?php and ?> tags.  
i do have a echo message that is outputted with out posting to new page ye
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
helpchrisplzAuthor Commented:
here is the page
index.php
0
 
helpchrisplzAuthor Commented:
oh my server was down to handle the php so thats y the php was showing at the top

tabs not working though. will look at the link
0
 
helpchrisplzAuthor Commented:
ooo ye that look good now check out the style i got as well
gsdgfsd.png
0
 
helpchrisplzAuthor Commented:
very good
0
 
Lukasz ChmielewskiCommented:
Nice, so you got it working with jQuery ?
0
 
helpchrisplzAuthor Commented:
yes
0
All Courses

From novice to tech pro — start learning today.