FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Re: image and youtube links in array
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Re: image and youtube links in array [message #177979] Wed, 09 May 2012 14:57 Go to next message
richard is currently offline  richard   
Messages: 213
Registered: June 2013
Karma: 0
Senior Member
On Wed, 09 May 2012 10:35:57 -0400, Jerry Stuckle wrote:

> On 5/9/2012 10:13 AM, richard wrote:
>> I want to create an array in php that would have a list of several hundred
>> items.
>> Each item would have ten seperate fields.
>> One of those fields would be a link to an image, and another, a link to a
>> youtube video.
>> youtube now has a simpler method of using an iframe rather than using their
>> old embedding code.
>>
>> I do not want just the page link from the url. I want to show the video on
>> my page.
>>
>> The idea being, left column shows basic list of names.
>> Right column shows images, video and more information.
>>
>> Oh and Beau, either shut the fuck up or contribute in a civil manner.
>
> Linking to a video vs. showing a video has nothing to do with PHP.

then how do forums do it?
I've seen the main page source code for simple machines and it is nothing
but pure php. No html in it.
So how do they embed links and that into the output?
Re: image and youtube links in array [message #177983 is a reply to message #177979] Wed, 09 May 2012 16:24 Go to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 5/9/2012 10:57 AM, richard wrote:
> On Wed, 09 May 2012 10:35:57 -0400, Jerry Stuckle wrote:
>
>> On 5/9/2012 10:13 AM, richard wrote:
>>> I want to create an array in php that would have a list of several hundred
>>> items.
>>> Each item would have ten seperate fields.
>>> One of those fields would be a link to an image, and another, a link to a
>>> youtube video.
>>> youtube now has a simpler method of using an iframe rather than using their
>>> old embedding code.
>>>
>>> I do not want just the page link from the url. I want to show the video on
>>> my page.
>>>
>>> The idea being, left column shows basic list of names.
>>> Right column shows images, video and more information.
>>>
>>> Oh and Beau, either shut the fuck up or contribute in a civil manner.
>>
>> Linking to a video vs. showing a video has nothing to do with PHP.
>
> then how do forums do it?
> I've seen the main page source code for simple machines and it is nothing
> but pure php. No html in it.
> So how do they embed links and that into the output?

They generate the proper HTML to do it.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Windows binaries 64bit for PHP
Next Topic: Re: image and youtube links in array
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 23:19:38 GMT 2024

Total time taken to generate the page: 0.02294 seconds