MySQL Forums
Forum List  »  PHP

Re: Select Correct Video Source from Select Dropdown List
Posted by: Barry Galbraith
Date: November 19, 2017 04:51PM

This line
<source src="user_video_path" name="user_video_path"></source>
will be displayed in html exactly as is.
Do you really want
src="user_video_path"
??
If you want substitution for the string "user_video_path" then you'll need to get php to do it.

FWIW, earlier in the script you set data-user_video_path.
If you mean that to be a php variable, then it needs to be $data-user_video_path.

But then, you don't use that variable anywhere??

Good luck,
Barry.

Options: ReplyQuote


Subject
Written By
Posted
Re: Select Correct Video Source from Select Dropdown List
November 19, 2017 04:51PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.