Okay I'm trying to make a blog-type-thing where when the user wants to use a video it will take the info given and turn it into code. The code saying you want to use a video is this
[video title="video title" url="C:\...\video.flv" height="260" width="320"][/video]
But I cant figure out how to use PHP to get the title, url, height, and width. I tried using "preg_match()" but I cant get it to work. If you could give me a hand with this that would be awesome.
Thanks,
Daniel
[video title="video title" url="C:\...\video.flv" height="260" width="320"][/video]
But I cant figure out how to use PHP to get the title, url, height, and width. I tried using "preg_match()" but I cant get it to work. If you could give me a hand with this that would be awesome.
Thanks,
Daniel