Here is a page with examples and easy to understand instructions too: http://www.learn-ajax-tuto
Main Topics
Browse All TopicsCan some one please point me in the right direction. I need to call data from a MYSQL database to a mouseover event.
Basically the user logs onto a php page where they update the db with information. At the moment the is shown in a small box on the homepage. But I think it's a bit cluttered so I want people to see the information when they hover over the departments rather than everybody's information shown.
I have tried onmouseover="box(<?php echo $row_callbox['dept']; ?>')" but have soon found out that wont work anyway. I have read that I need to use ajax but I have little knowledge of it.
Can someone maybe point me in the right direction or give a few tips?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Here is a page with examples and easy to understand instructions too: http://www.learn-ajax-tuto
nope this isnt working (my brain hurts).
Im increasing the points because i do not have much time to do this and really need answers.
Im posting the JS (which came from a website), PHP (which was created under dreamweaver) and MouseOver event. Can someone please help me write the code that will allow the php to be used under mouseover.
Business Accounts
Answer for Membership
by: mespinozaePosted on 2008-07-15 at 09:41:33ID: 22008567
You want ajax here.
p=34 jax/Defaul t.Asp
Here are a couple of links that might help you:
http://www.sematopia.com/?
http://www.w3schools.com/A
What you want to do is call a JS function on the mouseOver event, this JS function connects with an asynchronous call to the server (say a php file) and its output you can assign it to a div or an alert or anything you need.
Here you need a server side programming language (such as php), a JS function, connection to the database from the server side script and the event which is JS.
Hope it helps