Using result data from PHP search
Posted: Thu Jun 03, 2010 5:12 pm
I am new to PHP. I have created an mysql database and used a search to successfully fetch data. I want to use this data (an flv file name) to subsequently run this flv file in my video player. How can I reference my result outside of the php script? Within php my result is in $bname and echos correctly as DarradServices.flv (A stored entry from my database retrieve). I cannot work out how to use this outside of php. My outside code is
href="www.database.com/videos/$bname" but of course $bname is not recognized! Can anyone suggest something?
href="www.database.com/videos/$bname" but of course $bname is not recognized! Can anyone suggest something?