General Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingGeneral Programming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old October 13th, 2002, 02:34 PM
cemlouis cemlouis is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 49 cemlouis User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
echo ml_ftime(_DATETIMEBRIEF, (GetUserTime(time()))); problem...

The output for echo ml_ftime(_DATETIMEBRIEF, (GetUserTime(time()))); is written in black in html, how can I get white output for this???

Reply With Quote
  #2  
Old October 13th, 2002, 07:34 PM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Im not too sure what your trying to say here, but i think this is what you mean, let me know if ive missunderstood?!?

<font color="#FFFFFF"><?=echo ml_ftime(_DATETIMEBRIEF, (GetUserTime(time())))?></font>

Reply With Quote
  #3  
Old October 13th, 2002, 10:32 PM
crazytrain81 crazytrain81 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 232 crazytrain81 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
bad ben

don't teach people to use deprecated tags!
PHP Code:
<span style="color:white">
<?=echo 
ml_ftime(_DATETIMEBRIEF, (GetUserTime(time())))?>
</span> 

Reply With Quote
  #4  
Old October 13th, 2002, 10:33 PM
crazytrain81 crazytrain81 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 232 crazytrain81 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
oh on a further note

zend suggests using <?php because <? may not be recognized in future versions =o

Reply With Quote
  #5  
Old October 13th, 2002, 11:18 PM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
crazytrain81, i appricate your constructive critritism, but i was just giving a basic example of what to do.

Reply With Quote
  #6  
Old October 14th, 2002, 04:35 AM
cemlouis cemlouis is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 49 cemlouis User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Not working...

Ben Rowe and Crazytrain81 i tried your codes but they are nor working i tried also:

echo "<span style=\"color:white\">";
<?=echo ml_ftime(_DATETIMEBRIEF, (GetUserTime(time())))?>
echo "</span>";

but it is not working again. Another info for you i am using in a php file...

Reply With Quote
  #7  
Old October 14th, 2002, 05:21 AM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
could you take a screenshot of whats actually happening?

Reply With Quote
  #8  
Old October 14th, 2002, 07:31 AM
cemlouis cemlouis is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 49 cemlouis User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
the screenshot...

When I use

<font color="#FFFFFF"><?=echo ml_ftime(_DATETIMEBRIEF, (GetUserTime(time())))?></font>

instead of

echo ml_ftime(_DATETIMEBRIEF, (GetUserTime(time())));

the error is:

Parse error: parse error, unexpected '<' in /www/users/www.mysite.com/html/theme.php on line 124

Fatal error: Call to undefined function: themeheader() in /www/users/www.mysite.com/html/header.php on line 151

the line 124 in theme.php is the code line, i mean the line of echo ml_ftime(_DATETIMEBRIEF, (GetUserTime(time())));

otherwise when i use:

<span style="color:white">

<?=echo ml_ftime(_DATETIMEBRIEF, (GetUserTime(time())))?>

</span>

instead of

echo ml_ftime(_DATETIMEBRIEF, (GetUserTime(time())));

the error is:

Parse error: parse error, unexpected '<' in /www/users/www.mysite.com/html/theme.php on line 124

Fatal error: Call to undefined function: themeheader() in /www/users/www.mysite.com/html/header.php on line 151

Reply With Quote
  #9  
Old October 14th, 2002, 09:57 AM
texdc texdc is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Location: Nashville, TN
Posts: 23 texdc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Re: the screenshot...

eh, are you escaping your quotes? eg:

PHP Code:
print ("<span style=\"color: white\">" ml_ftime(_DATETIMEBRIEF, (GetUserTime(time()))) . "</span>"); 

Reply With Quote
  #10  
Old October 14th, 2002, 10:38 AM
cemlouis cemlouis is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 49 cemlouis User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
yahooooooo

Thankx it is working...

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingGeneral Programming Help > echo ml_ftime(_DATETIMEBRIEF, (GetUserTime(time()))); problem...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway