|
Re: changing video source from youtube to my site [message #181317 is a reply to message #181316] |
Fri, 10 May 2013 10:25 |
SwissCheese
Messages: 17 Registered: December 2012
Karma: 0
|
Junior Member |
|
|
On 05/10/2013 05:28 AM, richard wrote:
> I have a long long list of videos on my site all stored in a database.
> The way I have it structured in the php code is for all the videos to be
> played in the supplied youtube's <iframe> scheme.
> But what if I want to have a video source on my site?
> In BASIC, I could easily say if left$(x$,4)="this" then do this.
> So I need some kind of trigger that tells php this video is handled
> differently.
> What string handler can I use to check the trigger with?
>
http://php.net/manual/en/ref.strings.php
--
Norman
Registered Linux user #461062
-Have you been to www.php.net yet?-
|
|
|
Re: changing video source from youtube to my site [message #181318 is a reply to message #181316] |
Fri, 10 May 2013 17:49 |
M. Strobel
Messages: 386 Registered: December 2011
Karma: 0
|
Senior Member |
|
|
Am 10.05.2013 11:28, schrieb richard:
> I have a long long list of videos on my site all stored in a database.
> The way I have it structured in the php code is for all the videos to be
> played in the supplied youtube's <iframe> scheme.
> But what if I want to have a video source on my site?
> In BASIC, I could easily say if left$(x$,4)="this" then do this.
> So I need some kind of trigger that tells php this video is handled
> differently.
> What string handler can I use to check the trigger with?
>
the video source should be in the database, it is an essential attribute of the video.
/Str.
|
|
|