Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Where do you write the jquery codes

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31791
    fahad
    Member

    hi

    Im new to web design and i was wondering if anyone can tell me where do you write down all the php codes?? Most of the jquery plugins requires writing some html code, css which i am fine with…..but i don’t really get it when it comes to the php codes. Do you place them in the header.php?

    sorry for sounding so clueless but your help is much appreciated

    #57988
    Sirlon
    Member

    Your question is where or how to place the javascript or the php ?

    In case of php, it depends on what you wish to accomplish.
    php scripts are wrapped in php tags

    maybe you should search for tutorials and take a look at http://www.php.net

    In case of javascript (jQuery is Javascript), you can write it in the header or also in the body as inline script
    or if it is a bigger script by an own .js file and including it

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Back End’ is closed to new topics and replies.