PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I'm in need of a wizards assistance. The problem I have is with the PHP script for the "movies / concerts / events" tabbed section on this website: http://universitycenters.ucsd.edu/new2/index.php . Now right off the bat, I dont have access to the MYSQL tables so that's super inhibiting. I have access to the CRUD pages where I can view, edit, and add new rows but I dont have the field names etc. like I would via phpMyAdmin or something. Anyways, my problem is that I can't get the rollover function for the movie posters working (ie. rollover the name of a movie and its poster pops-up to the right) and I can't get the "Watch Trailer Now" button working: it simply takes me to the directory where all the trailers are but doesn't open the trailer I've selected. I've tinkered with it a fair amount but most of this PHP is really beyond me and I need help from a master.
Below is the code from the include file for the movies section called 'mce-movies':
but do you know the fields, the database schema? I hate to sound obvious , but you url in the watch trailker is wrong. You need to get the correct path from the same place you get the image.
if you can connect to the database you can get all the info you need.
Is this a problem with the PHP or with the javascript? What does the source show you when you view source in your browser? Do you use the Firebug extension in Firefox for troubleshooting? Does the javascript console give you any warnings/errors if you are not using Firebug?