dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: Use JS to display MySQL info

  1. #1
    Join Date
    Feb 2009
    Posts
    3

    Question Use JS to display MySQL info

    I mostly use PHP, and not familiar with javascript, so you'll have to excuse me if this seems like a simple question.

    I'm looking to setup something so people can put something from my website on theirs. I know this can be done, because of things like website counters. What I need to put on the page is a couple images, a link and some dynamic & static text. This information is in a MySQL database. I'm not looking for anything like AJAX since nothing really has to be updated dynamically.

  2. #2
    Join Date
    Dec 2003
    Location
    Bucharest, ROMANIA
    Posts
    15,428
    Javascript can not reach a DB. Javascript is a client-side language. The only think you can do is to use a server-side application to make a query in a MySQL DB. Probably written in php.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles