Scrolling News

Scrolling News

am 22.12.2005 21:38:58 von Alex Major

Hi there.
I'm trying to make a scrolling news box for my website. Basically I would
like this news box to get information from a column in my database called
'news_title' and display it in a scrolling news box.
The reason I'd like it to do this is because there is already a news page on
my website, which stores 'news_date' , 'news_poster' , 'news_title' ,
'news_description' , 'news_content' in a table on my database. I'd just like
to increase the functionality of this by having this news box on my front
page, which scrolls the 'news_title'.

Any suggestions for how to go about doing this? I'm still very new to php.

Regards,
Alex.

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Scrolling News

am 22.12.2005 22:12:37 von Unknown Unknown

------=_Part_8528_20874787.1135285957401
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,
just to tell you scrolling text boxes are javascript, PHP is server side no=
t
client side, PHP can only get the data from the table and javascript will
display it



On 12/22/05, Alex Major wrote:
>
> Hi there.
> I'm trying to make a scrolling news box for my website. Basically I would
> like this news box to get information from a column in my database called
> 'news_title' and display it in a scrolling news box.
> The reason I'd like it to do this is because there is already a news page
> on
> my website, which stores 'news_date' , 'news_poster' , 'news_title' ,
> 'news_description' , 'news_content' in a table on my database. I'd just
> like
> to increase the functionality of this by having this news box on my front
> page, which scrolls the 'news_title'.
>
> Any suggestions for how to go about doing this? I'm still very new to php=
..
>
> Regards,
> Alex.
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--
Hi Everyone, I am running PHP 5 on Windosws XP SP2 with MySQL5, Bye Now!

------=_Part_8528_20874787.1135285957401--

Re: Scrolling News

am 22.12.2005 22:22:32 von John Meyer

On Thursday 22 December 2005 1:38 pm, Alex Major wrote:
> Hi there.
> I'm trying to make a scrolling news box for my website. Basically I would
> like this news box to get information from a column in my database called
> 'news_title' and display it in a scrolling news box.
> The reason I'd like it to do this is because there is already a news page
> on my website, which stores 'news_date' , 'news_poster' , 'news_title' ,
> 'news_description' , 'news_content' in a table on my database. I'd just
> like to increase the functionality of this by having this news box on my
> front page, which scrolls the 'news_title'.
>
> Any suggestions for how to go about doing this? I'm still very new to php.
>
> Regards,
> Alex.


If you're thinking about a scroller (which is what I think you're hinting at),
you'll need to combine javascript and PHP. Essentially this is how I'd go
about it:

1. Find a scrolling news box written in Javascript.
2. Where the static content is, rewrite it so that PHP writes out the
Javascript.

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Scrolling News

am 22.12.2005 22:36:29 von Alex Major

Sounds great, I'll start looking for a scroller on google.
Anyone have any recommendations while I'm searching?

Regards,
Alex

On 22/12/05 21:22, "John Meyer" wrote:

> On Thursday 22 December 2005 1:38 pm, Alex Major wrote:
>> Hi there.
>> I'm trying to make a scrolling news box for my website. Basically I would
>> like this news box to get information from a column in my database called
>> 'news_title' and display it in a scrolling news box.
>> The reason I'd like it to do this is because there is already a news page
>> on my website, which stores 'news_date' , 'news_poster' , 'news_title' ,
>> 'news_description' , 'news_content' in a table on my database. I'd just
>> like to increase the functionality of this by having this news box on my
>> front page, which scrolls the 'news_title'.
>>
>> Any suggestions for how to go about doing this? I'm still very new to php.
>>
>> Regards,
>> Alex.
>
>
> If you're thinking about a scroller (which is what I think you're hinting at),
> you'll need to combine javascript and PHP. Essentially this is how I'd go
> about it:
>
> 1. Find a scrolling news box written in Javascript.
> 2. Where the static content is, rewrite it so that PHP writes out the
> Javascript.

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Scrolling News

am 24.12.2005 12:09:55 von El Bekko

PHP Superman wrote:
> Hi,
> just to tell you scrolling text boxes are javascript, PHP is server side not
> client side, PHP can only get the data from the table and javascript will
> display it
>
>
>
> On 12/22/05, Alex Major wrote:
>
>>Hi there.
>>I'm trying to make a scrolling news box for my website. Basically I would
>>like this news box to get information from a column in my database called
>>'news_title' and display it in a scrolling news box.
>>The reason I'd like it to do this is because there is already a news page
>>on
>>my website, which stores 'news_date' , 'news_poster' , 'news_title' ,
>>'news_description' , 'news_content' in a table on my database. I'd just
>>like
>>to increase the functionality of this by having this news box on my front
>>page, which scrolls the 'news_title'.
>>
>>Any suggestions for how to go about doing this? I'm still very new to php.
>>
>>Regards,
>>Alex.
>>
>>--
>>PHP Database Mailing List (http://www.php.net/)
>>To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
>
>
> --
> Hi Everyone, I am running PHP 5 on Windosws XP SP2 with MySQL5, Bye Now!
>
If you want an easy way of letting text scroll, use tags

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php