Re: [PHP-DB] Scrolling News

2005-12-24 Thread 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 [EMAIL PROTECTED] 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 marquee tags

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



Re: [PHP-DB] Scrolling News

2005-12-22 Thread 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: [PHP-DB] Scrolling News

2005-12-22 Thread 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 [EMAIL PROTECTED] 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: [PHP-DB] Scrolling News

2005-12-22 Thread PHP Superman
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 [EMAIL PROTECTED] 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!