FAQ
•
Search
•
User Groups
•
Forum Admins
•
Smilies List
•
Statistics
•
Rules
•
Login
•
Register
H
ome
FAQs
L
inks
N
ews
Online Tools
phpBB
Scripts
T
utorials
A
bout us
C
ontact us
Contribute
Credits
Link to us
Adding values from $row[whatever] function
Forum Index
»
Server-Side Coding
Author
Message
Triumph Of Steel
Junior WebHelper
Joined: 14 Feb 2002
Posts: 10
Location: Italy
Posted: Fri Feb 15, 2002 10:40 am (17 years ago)
Don't tested.. try it:
echo ".$row[fulltimehome] - $row[fulltimeaway]."
or with "( )"
________________________________
==================
~ The Triumph Of Steel ~
==================
zodiak
Junior WebHelper
Joined: 15 Feb 2002
Posts: 2
Location: Portugal
Posted: Sat Feb 16, 2002 8:10 am (17 years ago)
Quote:
or with "( )"
yes, Triumph Of Steel is right. This should work:
Code:
echo "<font face=\"$fontf\" size=\"$fonts\">".($row[fulltimehome]-$row[fulltimeaway])."</font>";
Rui Alves
[php-db.com]
szo2
Junior WebHelper
Joined: 10 Jan 2002
Posts: 18
Location: Hong Kong
Posted: Sat Mar 02, 2002 5:39 pm (16 years, 11 months ago)
Yeah, you used a literal "-" string...
Also as a reminder, $row[fulltimehome] is
not exactly correct
.
Display posts from previous:
All Posts
1 Day
7 Days
2 Weeks
1 Month
3 Months
6 Months
1 Year
Oldest First
Newest First
Forum Index
»
Server-Side Coding
Jump to:
Select a Forum
» 4WebHelp
Announcements
Our Site: Feedback & Questions
» General
Chit Chat
Freedom2Surf
Advertisements
» Support
General
Website Reviews
Client-Side Coding
Server-Side Coding
Databases
Web Servers
Hosting & Domain Names
Graphics & Flash
You
cannot
post new topics in this forum.
You
cannot
reply to topics in this forum.
You
cannot
edit your posts in this forum.
You
cannot
delete your posts in this forum.
You
cannot
vote in polls in this forum.
Page generation time: 0.05758 seconds :: 21 queries executed :: All Times are GMT
Powered by
phpBB
2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme