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
Return to the default flat view Create a new topic Submit Reply
Re: image and youtube links in array [message #177999 is a reply to message #177998] Thu, 10 May 2012 03:54 Go to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 5/9/2012 10:21 PM, richard wrote:
> On Thu, 10 May 2012 09:48:27 +1000, Jeff North wrote:
>
>> On Wed, 9 May 2012 11:14:23 -0400, in comp.lang.php richard
>> <member(at)newsguy(dot)com>
>> <17c37aytbt0sv(dot)jfrgge29dzk3(dot)dlg(at)40tude(dot)net> 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.
>>> |
>>> | yeah well then is this guy wrong?
>>> | http://www.codeproject.com/Articles/200739/PHP-Iterative-Array-Viewer-and-H TML-Viewer
>>
>> No.
>> Think of it this way - php holds the structure and html formats the
>> output.
>> If you look at the code you will notice that there are lots of<div>
>> and<span> and other html elements.
>> To see what is happening try this:
>> <?php
>> echo "pic1.jpg";
>> echo "<img src='pic1.jpg'>";
>> ?>
>> If you load the above into a browser you will get the text "pic1.jpg"
>> then the actual image of pic1.jpg.
>> HTH
>
> Thank you.
> http://1littleworld.net/echo1.php
>
> That was all I wanted to know. So obviously, the answer to my question is
> yes it can be done.

I never said it couldn't be done. It's just not a PHP problem.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: image and youtube links in array
Next Topic: Re: Windows binaries 64bit for PHP
Goto Forum:
  

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

Current Time: Tue Nov 26 03:58:13 GMT 2024

Total time taken to generate the page: 0.04452 seconds