me102
-
Posts
43 -
Joined
-
Last visited
Posts posted by me102
-
-
echo number_format(2.2, 2);
//2.20
"How would I get it to put a / ever 1000?"
Uhhh, I don't understand what you're asking.
This is how the number comes out 6000.50 this is what it should look like 6,000.50
-
How would I get it to put a / ever 1000?
$total = number_format($total, 2, '.', '');
-
I have a problem with my numbers they come out like this 6.1 but I want them to come out like this 6.10.
-
Replace line 56 with
echo "<div id=\"navcontainer\">";
-
You could use cookies, make a cookie and make it expire when you want to allow the person to insert more data.
-
Ok heres what I want to do, I have a mysql table called settings which has 3 fields id, name, value I want to use $settings['title'] to get the row named title and out put the value.
-
Nvm I got it thank you.
-
Now how would I make that a global setting?
-
How would I get a setting from mysql using this $settings['title']
-
Thanks so much.
-
Yes that what I was looking for but I need it to come out to be 2007-08-14
-
I made a little billing system but ran into a big problem how to find out the next month using the date() I have tryed everything. Can someone link me to a tut or tell me how to do this? ??? ??? ???
-
Thanks that worked greate.
-
Would I put?
substr("abcdef", 0, ;
-
Helllo everyone, I was wondering how i would trim down some text to 8 chars. For ex. sdf54sf5d4f would be trimed down to sdf54sf5 and qweqwoehqw would be trim down to qweqwoeh.
-
No what I mean is I dont want to write this out,
[code]
$set_ip = $row["ip"];
$set_userid = $row["userid"];
$set_id2 = $row["id2"];
[/code] -
My question is there an easyer way to get larg amounts of data from a sql database heres the code i'm using now.
[code]
$SQL = "select * from online_logs where forumid='$forum_id' order by `id` desc limit 1";
$result = mysql_query( $SQL );
while( $row = mysql_fetch_array( $result ) )
{
$set_ip = $row["ip"];
$set_userid = $row["userid"];
$set_id2 = $row["id2"];
}
[/code]
instead of listing each row and giving them a value for ex. $set_ip = $row["ip"];
Any ideas?
[SOLVED] 6.1 to 6.00
in PHP Coding Help
Posted
Thank you.