i'm working on my site and i'm running into a few problems.
i'm making a video information form that includes a 3 inputs for url's to different extensions of the video (.wmv .mov and .avi) for the admins of my site to use to submit info to the database easily and display for every one else to see and download. everything submits to the database just fine, its just when i go to echo the url like this:
echo $myrow['linkwmv'];
it should print out a text version of the url. but instead i get nothing. not exactly sure whats wrong there
also i'm trying to make an if statement that will make it so if a link input area is left blank it prints a message saying there's that video type isn't available. instead of printing out a blank url. i know its probly wrong but here is one of the if statements:
if($myrow['linkwmv'] = "") {
echo "No .wmv version at this time<br>";
}
else {
echo "<a href=\"";
echo $myrow['linkwmv'];
echo "\">";
echo $myrow['vidname'];
echo "(wmv version)</a> - (right click, save target as)<br>";
}
the wierd thing is, when i try this, i get a link to my forums on each version of the video.. even if the input was left blank. any help is appreciated.