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!
tags where approriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]
Hi - I am very new to php
I just need to use a mysql table to give me the "path" of a quicktime VR movie
so the movies are in say the folder tours - and the database has the path.
all I want is similar to this here
Can anyone please pick my beginers code an see what Ive done?
It is just making a template page while taking the path of the quicktime VR file from the mysql database - but doesn`t work yet!??!
thanks in advance
this is my crappy code:
first off, you weren't stepping out of the string when adding your variables.. next, you were missing at least one mysql_fetch_*. You may need to specify a WHERE clause for your $query so it can find a specific record, otherwise you're just going to use the first record it finds...