number_format():
http://ca.php.net/manual/en/function.number-format.php
On Thu, 2002-10-17 at 14:52, Manoj Japher wrote:
> hi,
> I would like to format my output. I would like to represent my
> integer outputs as 2,000 instead of 2000 which it prints by
> default.
>
> For e.g. I want 200
http://www.php.net/manual/en/function.number-format.php
number_format($number);
<>< Ryan
-Original Message-
From: Manoj Japher [mailto:manojjapher@;rediffmail.com]
Sent: Thursday, October 17, 2002 12:52 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Number Conversion
hi,
I would like
hi,
thanks ryan, marco and matias for your quick response. Solved
my
problem. Thanks once again.
Best Regards,
Manoj
On Fri, 18 Oct 2002 Marco Tabini wrote :
number_format():
http://ca.php.net/manual/en/function.number-format.php
On Thu, 2002-10-17 at 14:52, Manoj Japher wrote:
> hi,
> I
f
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
You can open the DBF file in Excel and the first column is the name, so if
you want to know the structure you can use DBU.exe that is included in
clipper.
"Suzerain.Studios" <[EMAIL PROTECTED]> escribió en el mensaje
news:a05111a52b9c64fa4b608@;[192.168.2.5]...
> Hi there.
>
> I'm not famili
Hi!
Im new to PHP programming and need some help,
I want to put an event calendar on my site...
Functions I would like:
Customizeable, so i can make it fit my design
Calendar view:
A small month view on the side with clickabel days to view the event for
that day.
Event view:
Date, time, event
Ad
sorry about the message, I accidently sent it
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
Has anyone got a sample script that updates/adds and deletes records on an
ms access database or can point me to a resource that will have one?
Regards
Steve Dodkins
IMPORTANT NOTICE The information in this e-mail is confidential and should
only be read by those persons to whom it is address
Hi:
I am new to this list.
Maybe this has been covered here already several time, and if it has I apologize. I
tried searching, but it yielded nothing.
Here's what I'd like to know: Is there a PHP function for easily finding and removing
a line from a flat file of data. And, if not, is there
Thank you all for your help :)
I found a script that needs som rewriteng (got permission to:) )
Chers :)
"Joran" <[EMAIL PROTECTED]> wrote in message
news:20021017103821.13351.qmail@;pb1.pair.com...
> Hi!
> Im new to PHP programming and need some help,
> I want to put an event calendar on my site
Hi all,
im trying to retrieve data from my db (postgresql) and display it (an ad).
now when i don't try to enter it to a display code of flash ("embed src=..." and so
on) it display the flash fine just in the biggest proportion it can get and it
overwrite on the rest of the html.
when i tried to
Check out http://www.hotscripts.com and click on PHP, then Calendars
Gary Every
Sr. UNIX Administrator
Ingram Entertainment
(615) 287-4876
"Pay It Forward"
mailto:gary.every@;ingramentertainment.com
http://accessingram.com
-Original Message-
From: Joran [mailto:joran.sorbo@;teleweb.no]
hi,
I would like to format my output. I would like to represent my
integer outputs as 2,000 instead of 2000 which it prints by
default.
For e.g. I want 200 to be printed as 2,000,000
Do we have any functions which does that?
Thanks in advance,
Best Regards,
Manoj
"Life,it is not a pro
> Here's what I'd like to know: Is there a PHP function for easily finding
and removing a line >from a flat file of data. And, if not, is there a way
to remove a line (or lines) after finding them >using fget()?
Easy way to do this is with file(). It'll read the entire file into an
array, with eac
Ok.. I'm not a newbie I thought.. I do have experience with PHP, but I
never suffered from this error.
I used on my own redhat 8.0 server the following test-script:
if($action=="test"){ echo "Test";}
I tried it to run with: 127.0.0.1/index.php?action=test
It doesn't print anything. (which m
Check your register_globals setting in your php.ini file. This used to
default to 'yes', but now defaults to 'no'.
On Fri, 2002-10-18 at 06:26, Michel Bakkenes - bakkenes.net wrote:
> Ok.. I'm not a newbie I thought.. I do have experience with PHP, but I
> never suffered from this error.
>
> I
On Fri, 18 Oct 2002 13:26:20 +0200
"Michel Bakkenes - bakkenes.net" <[EMAIL PROTECTED]> wrote:
> Ok.. I'm not a newbie I thought.. I do have experience with PHP, but I
> never suffered from this error.
>
> I used on my own redhat 8.0 server the following test-script:
>
> if($action=="test"){ e
Hi
I Am using the latest PHP version 4.2.3 with MySQL 3.23.51-max. I use
InnoDB tables for transactions and everything works fine with Rollback and
Commit. But when the user presses cancel in the browser or the script stops
due to an error in the script all open transactions are committed inste
> I Am using the latest PHP version 4.2.3 with MySQL 3.23.51-max. I use
> InnoDB tables for transactions and everything works fine with Rollback
and
> Commit. But when the user presses cancel in the browser or the script
> stops
> due to an error in the script all open transactions are committed
in
Perhaps , $action is not equal to "test". Try initializing the $action
variable - instead of leaving it uninitialized.
-Original Message-
From: Michel Bakkenes - bakkenes.net <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Friday, October 18, 2002 6:26 AM
Subject: [
Hi All
I have created a function and insde that function it dose a standard
select, fetch_arry, while loop.
I get a error from mysql saying not a vaild resource but if I take the
statemnet out of the function all works fine and dandy.
Are there things I should be aware of when trying to include
i'm certainly no expert, but here are my thoughts:
the variable $tbn2 probabyl has no value inside of your function. so the
query is really just "select name from". i'd suggest you pass the $tbn2
value to the function.
also, it is generally a bad idea to have a echo statements in function.
rather y
Dave,
I'd agree with Rob especially about returning the results.
Plus it's always a good idea to add error checking to your SQL statement.
Try replacing your existing line of code with this to make sure you query is
actually returning valid results before trying to operate on them.
$gnlistres =
I am trying to tweak an application that I have developed. The
application is our "On-Call Log". This application consists of three pages;
one page to input new entries, one page to edit existing entries, and
finally a log view page. The log view page displays all entries for the
past 5
Try instead:
if( $_POST['action'] =="test" ){ echo "Test";}
HTH
Ignatius
- Original Message -
From: "Michel Bakkenes - bakkenes.net" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 18, 2002 1:26 PM
Subject: [PHP-DB] Variable
On Saturday 19 October 2002 00:09, NIPP, SCOTT V (SBCSI) wrote:
> I am trying to tweak an application that I have developed. The
> application is our "On-Call Log". This application consists of three
> pages; one page to input new entries, one page to edit existing entries,
> and finally a log vi
Yeah, this is the exact fix I am trying to avoid. Thanks for the
feedback, but I prefer to keep the items chronological ascending order. I
know there has to be a way to simply default the display to the last page of
the dataset.
-Original Message-
From: Jason Wong [mailto:phplist
on 10/18/02 1:03 PM, NIPP, SCOTT V (SBCSI) at [EMAIL PROTECTED] appended the
following bits to my mbox:
> Yeah, this is the exact fix I am trying to avoid. Thanks for the
> feedback, but I prefer to keep the items chronological ascending order. I
> know there has to be a way to simply default th
Dear Robertson,
Try something like this with a simple table, create it like this in mysql:
CREATE TABLE HITS (
IDNR INTEGER AUTO_INCREMENT PRIMARY KEY,
REFFER VARCHAR(255),
HIT_DATE TIMESTAMP(8)
);
And the as a .php file, try something like this:
With psql you can get all your output in HTML format. Anyone know of a way
to do this in PHP?
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Saturday 19 October 2002 01:02, Edwin Robertson wrote:
> With psql you can get all your output in HTML format. Anyone know of a way
> to do this in PHP?
The usual way is to write some code to do it.
If you don't want to write your own code search for some ready-made ones,
ADOdb springs to mi
Edwin Robertson wrote:
(B> With psql you can get all your output in HTML format. Anyone know of a way
(B> to do this in PHP?
(B
(BIt's psql feature and there is no automatic HTML format
(Bin PHP's pgsql module.
(B
(BIf really would like, you can use passthru() and psql.
(B
(B
(B
(Bwhere
If you need to dump query result for debugging purpose, etc.
(BTry something like,
(B
(B\n";
(Bvar_dump(pg_fetch_all($result));
(Becho "\n";
(B
(B?>
(B
(BYou need PHP 4.3.0-dev or later for pg_fetch_all().
(B
(B--
(BYasuo Ohgaki
(B
(BYasuo Ohgaki wrote:
(B> Edwin Robertson wrote:
(B
PHP 4.3 handles this correctly. Give a snapshot from snaps.php.net a try.
-Rasmus
On Fri, 18 Oct 2002, Benjamin Schleinzer wrote:
> Hi
>
> I Am using the latest PHP version 4.2.3 with MySQL 3.23.51-max. I use
> InnoDB tables for transactions and everything works fine with Rollback and
> Commit.
Hello,
On 10/18/2002 08:47 AM, Benjamin Schleinzer wrote:
Hi
I Am using the latest PHP version 4.2.3 with MySQL 3.23.51-max. I use
InnoDB tables for transactions and everything works fine with Rollback
and Commit. But when the user presses cancel in the browser or the
script stops due to an e
Hi,
Saturday, October 19, 2002, 2:48:14 PM, you wrote:
SM> Have a question that im trying to figure out how to resolve. I have a field type
in mysql that is of the enum type. Unless youre familiar with Dungeons and Dragons,
you wont get what the values
SM> mean, but hopefully youll get the gist
Have a question that im trying to figure out how to resolve. I have a field type in
mysql that is of the enum type. Unless youre familiar with Dungeons and Dragons, you
wont get what the values mean, but hopefully youll get the gist anyway. I have a
column labelled school which holds an enum dat
You know, I didn't even think about serializing the array. I have a
table set up for spells, one for schools, and a linking table using the
spell id and the school id(s). I could have done without the linking
table. Some of you people are pretty freakin' smart. :)
One note though, when you p
Hi David,.
> Http authentication is probly not what you would want to
> use. Especially if you want to program in timeouts, you
> would be better off using session based login variables.
> Cookies are even better with an encrypted pasword that has a
> windows of time that you have to goto o
39 matches
Mail list logo