Jason,
Remove all copies of php.ini on your system except for the one in your
system root (in your case C:\WINNT).
Try that and see what happens.
Tom Hearn
Software Engineer
/n Software
We are releasing IPWorks! for PHP Soon! Ask me for more information!
- Original
file that there is a
whole list of other extensions to be loaded. Add it to the last line under
these entries if it is not already.
Tom Hearn
Software Engineer
/n Software
We are releasing IPWorks! for PHP Soon! Ask me for more information!
- Original Message -
>*** I don&
When you use phpinfo(); does the extension show up as loaded?
Tom Hearn
Software Engineer
/n Software
We are releasing IPWorks! for PHP Soon! Ask me for more information!
- Original Message -
>I have this line in my php.ini file.
>
>[PHP_IBM_DB2]
>extension
You also could be having issues with dependencies. There is no real easy
way to diagnose dependency problems if that is indeed the case, just look
into your system event logs and php error logs.
Tom Hearn
Software Engineer
/n Software
We are releasing IPWorks! for PHP Soon! Ask me for
you sure that your web server host file is not configured to
limit access to certain users or IP addresses in some way, or is your
firewall blocking a specific IP address range?
3. Are you sure that the file is in the correct path to be loaded from
default.php?
Tom Hearn
Software Engineer
/n
e_name"]
or $_POST["table_name"]?
Cheers,
Tom Hearn
Software Engineer
N Software
http://www.nsoftware.com
-Original Message-
From: Mark Abrams [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 01, 2007 9:59 AM
To: php-windows@lists.php.net
Subject: [PHP-WIN] Solved - Re:
ith 4 different options, I don't really know how you
want it called, but you could call it in the query string.
For example:
And your url would be http://www.someurl.com/picture.php?imagenumber=4
I think that is what you wanted.
Tom
-Original Message-
From: Aleksandar Vojnovic [mai
bly I have some of the configeration wrong, but I don't know where to
start looking for the problem. Does anyone have a suggestion?
Thanks
-Tom
I would have something like this:
Your validation page has this:
...
Essentially, just put the variable as value, or if it's a pull down list:
13-17
18-25
26-35
36-45
46-55
56-60
61-75
76+
That should work...other than that, it's just a copy of "form.php"
inside of "validate.php"...or whatever
On 22 Sep 2004 Jim Bailey wrote:
> No, DocumentRoot is set in httpd.conf?
Hmmm, I'm confused, was that a question or a statement???
Are you trying to run PGP as CGI or via SAPI (Apache module)?
--
Tom
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www
GastóN Quiroga wrote:
Gracias Gerardo por tu respuesta...
estuve investigando mas a fondo el problema y saqué algunas conclusiones:
La línea de la clase es
$a-> Attach(,, )
donde es el nombre del archivo con el fullpath, es el tipo de
attach (text/plain, application/rtf, etc) y es la forma en qu
echo "no drives found\n";
}
print_r($drives);
(if you need a working version of php_w32api.dll let me know)
Tom
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Thursday, April 29, 2004, 10:08:27 AM, you wrote:
TR> The header has line breaks you will need to nl2br() to view them in
TR> html
TR> --
TR> regards,
TR> Tom
This should split up the header for you:
$http = "HTTP/1.1 200 OK\r\nDate: Tue, 20 Apr 2004 17:28:23 GMT\r
: " . substr("$pagedata", 0, 15) . "";
LG> | //echo substr("$pagedata", 16, 36) . "";
LG> | //echo substr("$pagedata", 52, 67) . "";
LG> |
LG> | }
LG> |
| ?>>
LG> |
LG> |
LG> `-
Don McFarland wrote:
Im using PHP version Version 5.0.0b4 on XP-Pro (php5isapi.dll) running
IIS 5.1 and have gotten the SQLite to work nicely. However, the when
trying to use an up-and-running MySQL server, the script is always
cut-off at the start with the error "Call to undefined function
mysql_c
egister_globals on
--
regards,
Tom
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
DO> mailto:[EMAIL PROTECTED]
The output function is wrong it should be
function generateSelectField() {
$theOutput = "name."\">\n";
foreach($this->value as $key=>$val) {
$theOutput .= "".$val."\n"; //this line
}
$theOutput .= "\n";
Return $theOutput;
}
--
regards,
Tom
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Security Info=False"
where the variable is:
Application("AccessPath") = "d:\inetpub\wwwroot\helpdesk\db\helpdesk.mdb"
Remember to put the connection string all on one line.
Hope this helps,
Tom
> -Original Message-
> From: Svensson, B.A.T. (HKG) [mailto
Yo,
I hace recently installed PHP with PWS 4 on my PC and I am only able to run
*.php documents in the browser. *.php3 extensioned files will display code
as text in the browser window.
Can anybody tell me how to configure things, so it also runs *.php3
extensions?
Help is appreciated... To
More information:
Both installations work. The php test file, , works on
both the workstation running IIS and Win2K Pro and the server running WinNT.
To get up and running quickly, I used the Windows installer version on the
server (which I understand runs under CGI). However, I also understand
I've installed the windows installer version of php on a NT server. I've
also installed the windows binary on my Windows 2000 pro workstation.
Everything works fine on the CGI-Windows installer version on the server,
but I can't get the same applications to run from my Win2KPro workstation (I
get
hi,
try this.
put it in your *.php file, where your mail() function is located.
i got the same probs.
W2K and IIS5 don't work with the smtp
[mail function] in php.ini.
tom
"George Pitcher" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
008201c1b470$41373b00$630
Is there a version of Merlin and/or php that works out of the box?
I have spent days -- days and more days -- just trying to get the
infrastructure of a single programming language to work. with no success.
after three days I finally got Merlin to serve a localhost file. the docs
did not adequate
content entirely. I
want to browse to d:\test.php, for instance -- without using the w2k server
stuff, just browse to file.
I thought the php download of windows binaries was supposed to fix this, but
I can't get it to do anything.
Tom
--
PHP Windows Mailing List (http://www.php.net
found
a 'global' statement in the documentation but it didn't seem to like
taking an array as a parameter. I had it looking something like this:
global $incident_array[];
Any help would be appreciated.
Tom Tsongas
--
PHP Windows Mailing List (http://www.php.net/)
To unsubsc
This is down to an issue in phpmyadmin (or should that be PhpMyAdmin?). If
you create the tables from the MySQL console (or put the create statements
in a file and then run this form the console) the case sensitivity will be
retained.
Tom
Paul Meagher wrote:
> I am creating tables in Mysql
}
It's not ideal, but it should get you up and running!
Tom
Bob Sears wrote:
> I am probably driving everyone ballistic, but I am going to get to the
> bottom of this code problem with PHP/Javascript
> because I don't want to rewrite the application in HTML/ASP/Oracle, if a
Still not a flame, just a gripe against MS to think about!
>
> Actually, one thing that I REALLY like about the newer VB development
> environment is that it will automatically correct/adjust the case of your
> variables/functions to match their definition. This allows me to define
> them accor
Where I have the choice on WinNT I always use Apache module, never had any
problems with a qualified release version.
Tom
Tim Uckun wrote:
> At 12:13 PM 5/9/2001 -0700, Flint Doungchak wrote:
> >Tim,
> >
> >Unfortunately, the ISAPI module just isn't stable on this pl
he case if you know that the variable is set and could contain
a value of true (>0) or false (0).)
Tom
Jerry Nelson wrote:
> We have two developers that are just learning PHP. Working with the
> following code I do not have any problems. However, the other person gets
> the error
but neither is
particularly secure and both are extremely clunky, but that's the wonders of
windoze!
Tom
Jourden Parks wrote:
> I have to port alot of php code from linux to windows. This code is
> all about using symlinks. Does anyone have any ideas what to do
> in windows when sy
record
1001 - you will never compare the two?
Also, unless you particularly want to look at all of the records, if you do a
self join on the field that you suspect could have duplicates, then you need
only display those records that are suspect.
Tom
"Asendorf, John" wrote:
> I'm
and his buddies,a nd I'll post it here first for review, but until then
that's more than enough waffle from me!
Tom
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
OK
Forget this - I managed to get onto php.net this morning and noticed the
helpful comment from Bernard Blundell - if anyone else has this problem, just
add the constant , ORA_FETCHINTO_NULLS, to the ora_fetch_into() function: -
ora_fetch_into($cursor, &a, ORA_FETCHINTO_NULLS)
Tom Mat
any null values in the
table, the fetch returns the previous good value from that column
instead.
Anyone else seen this or (preferably) know a solution? The same doesn't
appear to happen using OCI_Fetch on my own server.
Cheers
Tom
--
PHP Windows Mailing List (http://www.php.net/)
To
n by index (ie
not
while (ora_fetch_into($curs, &$row1)){
$name=$row1[0];
$desc=$row1[2];
echo"$name$desc";
)
Thanks
Tom
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact th
Johannes is correct, but if you're woried about security remember that MD5 is a
one way algorithm - you don't need a key to unscramble it.
Tom
Johannes Janson wrote:
> Hi,
>
> a simple INSERT would do the job.
> To encrypt password use md5().
>
> Johannes
>
&
Check with your ISP what access rights you have to the MySQL db - if you
don't have create table rights, then you won't be able to crete temporary
tables either.
Tom
John Morrison wrote:
> Hi
>
> I have cobbled together my first PHP/MySQL site which
> checks out OK o
1) Command line console is always installed with MySQL - telnet to the
remote machine and you should be able to run it with no problems.
2) GUI - I reccommend phpmyadmin - get it from the MySQL site. It has a lot
of limitations, but the basic functionality is all fine.
Tom
edwin wrote:
>
javascript.
Tom
Robert Trembath wrote:
> A little help from anyone please.
>
> I know this was discussed before but I can't find it now that I need it. I
> want to dynamically populate a pulldown list from a mysql query based on
> what is selected from another pulldown list p
True enough, but life's just a bitch sometimes! I don't create the problems,
just work around them.
"Svensson, B.A.T." wrote:
> >Using quotes (and remebering to escape them) may or may not cure the
> problem - it
> >seems to be a bit intermittent. It's more reliable just to hard code the
> tabl
s you have a table named 'vendors', but
not one named'$tablename'!
Using quotes (and remebering to escape them) may or may not cure the problem - it
seems to be a bit intermittent. It's more reliable just to hard code the tablename
instead.
Tom
Bob Sears wrote:
> I am n
If you're not too fussed about security, then the easiest way is to create a
cookie and then check for it at the beginning of each page
(ie if (!ISSET(CookieName) {})
Tom
Synopsis wrote:
> any one here , know how to pass the login data to each page a user gose on,
> and that page
Thanks all, I was trying the . operator as a concatenator before - must have got my
languages mixed up!
Tom
Tom Mathews wrote:
> Window(IDent)
> {
>
>msgWindow=window.open("ContentsWindow.php3?ID=IDent","displayWindow","menubar=no,width=500,height=
t;,"displayWindow","menubar=no,width=500,height=300")
}
The IDent that is passed into the funtion is an integer, and that bit is
fine, but how do I dereference it in the querystring so that what gets
passed to the new window is along the lines of (say the value of IDent
is
browsing disabled)
Just some thoughts!
Tom
Christoph Winkler wrote:
> Hi! I am using PHP4 on Apache 1.3.6 under Windoze Me. When I'm calling my ip
> or localhost. The page cannot be found. There's no Error msg from Apache.
> Can anyone help? Thank you!
>
> --
> PHP Wind
Flint
Yeh, that's about the right syntax, but if you are sending duplicate messages
from a web server, I'd strongly recommned bcc: in the header instead of cc:
Tom
Flint Doungchak wrote:
> Randall,
>
> I'm not sure on this so I may need some correction, in theory, you
would take you to c:\bollox\ if you had the
following in http.conf: -
Alias /bollox/ "C:/bollox/"
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
Tom
Rayon Pinnock wrote:
> I am running Apache 1.3.19 web serve
Have you set your path to include the php directory - or are you in the php
directory?
Tom
John wrote:
> I just get "Bad command or file name"
>
> Phil Driscoll wrote:
> >
> > >When I type php.exe -i at a ms-dos prompt, I get no response.
> > Wha
Has anyone out there had any success with connecting to a Microsoft
Access database using the following config?
Server - Apache on Solaris
Access database location - Solaris NFS
I know that its a bit hopeful, but I thought that I'd ask anyway!
Cheers
Tom
--
PHP Windows Mailing List
hat's another story - look
in the archives of this list over the last couple of weeks for some answers
on that one,
Tom
Zachary Harris wrote:
> I have a project that a I am working on and have come across a major
> snafu. It is my first time using PHP for a project and I have been
> asked
Yep - Apache bug - upgrade it!
Aleksey Filimonov wrote:
> Hi all,
>
> I have some problems installing php-4.0.4pl1 on apache-1.3.14 on win98...
> The apache server is running fine before adding this line in httpd.conf:
> LoadModule php4_module c:/php/sapi/php4apache.dll
> After adding module apa
It sounds an obvious question, but is it a new script you are trying to run, or
is it one that could be sitting in the browser cache and you aren't refreshing
it properly?
Antonio Lopez wrote:
> I installed PHP404pl1 with the automatic installer, and all works right.
>
> Now, i want to install P
;re after
Tom
Dream wrote:
> Any idea of how to get information from a form (not a form controlled by me,
> through GET method, i.e. info coming with the URL, like this
> http://www.xxx.com/xxx.cgi?result=1&age=23&name=john) and print it through
> php v.3?
>
> I don't
Mark Tipton wrote:
> Any ideas on what could be causing such
> poor performance?
>
Microsoft!
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail
Depends which versionof PHP your ISP is running. Prior to v4.x, MySQL module
was not included in the standard compilations but had to be deliberately put
in. Easiest way to check is to run a script containing phpinfo() on your
hosting site.
Tom
Mark Taylor wrote:
> hi all,
>
>
This is a segment taken straight from Julie Meloni's PHP Essentials. I've
used a variation of this on my WinNT dev pc with no problems at all.
Tom
' -o $crypted -a $clear");
unlink("$clear");
?>
Antonio Lopez wrote:
> Can an
try the unlink() command
Glenn wrote:
> hallo!
> how can i removing files from my upload folder on the server whit php
>
> Best regards.
> /Glenn
>
> _
> Free email with personality! Over 200 domains!
> http://www.MyOwnEmail.com
>
> --
> PHP Windows Ma
line terminator
eg
LOAD DATA LOCAL INFILE "countries.txt" INTO TABLE Countries LINES TERMINATED BY
' \n';
(the syntax I've exampled will terminate lines when it encounters the
space_newline combination)
Tom
Mitchell Kirschner wrote:
> If you're unable to ge
will take - I'll post an answer when I've worked it
out.
Tom
(alternatively, if you have distiller and have time to play, do something like create
a document containing one character and save it. Save a new copy with the attibutes
that you want set and do a binary comparrisson of th
pdf file. (The user can of course turn this off it they
download the file locally, but that's up to them!)
Tom
Antonio Lopez wrote:
> When i create a PDF file with PHP, this file is editable with Acrobat Reader:
> I.e. i can select all the text and copy & paste to another text proce
write
three pages for every one that you wish to display - a far neater solution
is to use relative sizes in stylesheets to define your text and image size -
I think that there's a good example on WebMonkey - if not I'll double check
where I saw a really neat one.
Tom
Ben Cairns wrote
don't like being picky, but you may be thinking of MySQL where
% is the multiple character wildcard (eg select 'David!' LIKE '%D%v%';)
_ is the single character wildcard (eg select 'David' LIKE 'Davi_';
Tom
Ben Cairns wrote:
> The wildcard i
How is your file delimited? This could impact on whether elemdata is a string
or actually a real array.
That may not be helpful, but here's a handy tip when using file() - remember
that it retains the newline character, so you have to be careful about mixing
and matching dos/windows type files wi
SELECT SUM(Row_x) FROM Table_y;
Tom
Ben Cairns wrote:
> I have a slight problem with this
>
> I am returning numerical values (i.e. 22.64, 2.54 etc. All with two Decimal
> Places) from a database. I then want to add these together.
>
> But, I don't know how many ro
I've never tried, but I'm wandering if it is related to the GIF licensing issue
that forced GIF's out of the GD libraries - does anyone know if the same
happenned to the PDF libraries?
Tom
Jason Hoover wrote:
> Rainer,
>
> Here is sample code for placing a .jpg image i
Manuela.
I tried this for a while, and found that it was actually a problem at one of my
ISP's end that they were unable to resolve, so I gave up and installed
phpmyadmin on my remote site as well (its not very big if you pare down the
unwanted bits).
You may have the same problem
Tom
Ma
ay of doing things when I get some time, but it
ain't going to be for a couple of weeks I guess.
Tom
[EMAIL PROTECTED] wrote:
> Mathews, could you dig out that script please? I think I might need
> it.
>
> Bikes
>
>
>
> -Original Message-
> From: Tom
Easier to diagnose if you tell us what the error was?
Winston Valenzuela wrote:
> I'm using ODBC to connect to my Interbase 6 database. Using the code:
>
> $post_stmt = "Insert into
> MSGTABLE(firstname,middlename,lastname,msg_subject,msgbody,remote_ip)
> values('$fname','$mname','$lname','$subj
e's
and then use the ID to pull out the relevent image and text.
By the way, it is possible to use javascript variables in php - I've got
some script I can dig out to show you how if you need it.
Tom
John Morrison wrote:
> Hi.
>
> I have just discovered server side scripting
n the responsibility.
Tom
[EMAIL PROTECTED] wrote:
> Simple answer, you were randomly selected from our recently purchased
> opt-in lists. OK so why are we giving away money you ask?
>
> Another simple answer. We want you to discover what 10,000's of other
> people just like you already k
Had the same problem with LDAP and GD, but not with any of the others.
I tried copying stuff into different paths, but that didn't seem to help
either.
Eventually I gave up and just used the module instead of the CGI (faster
as well!)
Tom
Erik Ableson wrote:
>
>
> I'm se
es it thinks about it and then works badly,
sometimes it thinks about it and then ignores the whole section!
Tom
Doug Brewer wrote:
> I am experiencing a long delay from Netscape (4.76, Win) when setting
> cookies. The user submits the form, and it takes 15-20 seconds for a
> response. The
, either from php or you rdbms? Hard to tell what's wrong
without a
bit more info.
Tom
Piotr Fetras wrote:
> hi all !
>
> I have problems while executing SQL with aggregation functions, even simple
>
> SELECT COUNT(*) FROM aTable
>
> stalls. It seems to be a problem
ss plug-in that someone has kindly written to convert data and
structure from Access 2000 MDB to MySQL (I've not tried them, but I think it also
allows dbase conversion and a few others).
Tom
Dan Malcolm wrote:
> I see in the posts, that a lot of people are using Apache on NT instead of
found have been to use the array as a global (make sure globals are set!) or
to put it into a temporary db table and then pull it out again from the page
that needs it!
Tom
Doug Brewer wrote:
> try
> $foo //array with serialized objects in it
> $foo = rawurlencode($foo);
> $url
Can't remember the syntax off hand, but if you look under the file handling
stuff in the manual, you will see that there is a function which allows you to
put a tab delimited file into an array. From there you can do what you want
with each of the elements.
Ben Cairns wrote:
> I have a file wher
.. or www.mysql.com/downloads/contributions - there's a whole class in there to
handle HTML with MySQL
phobo wrote:
> see http://www.php.net/manual/en/function.nl2br.php
>
> siggy
>
> - Original Message -
> From: "Bikes" <[EMAIL PROTECTED]>
> To: "'Robert Trembath '" <[EMAIL PROTECTED]>;
have any records on your DB?
Tom
Toby Miller wrote:
> There seems to be a problem with your database connection. Can we see the
> header include?
>
> -Toby
>
> - Original Message -
> From: "Robert Trembath" <[EMAIL PROTECTED]>
> To: <[EMAIL PRO
I suggest we leave this thread until end of play on Monday (then the weekenders
can have a chance to see it as well).
If no-one has any info about a FAQ by then, then maybe we should go ahead with
the kill-9 idea?
Tom
[EMAIL PROTECTED] wrote:
> I would put something like that up on www.kil
27;s loads of
people out there (hopefully including me) who are more than willing to try
and give answers, but a FAQ really would help to filter out the 'How can I
run PHP on Windows 98' RTFM! type of things.
Tom
Simon Willison wrote:
> Does this mailing list have an FAQ anywhere?
I agree with Simon
It is actually possible to work three tiers with PHP, but not so obviously as
JSP does.
The hit you take is performance, so it depends on what the application is
whether to use JSP or PHP.
Personally, for any e-commerce work I use PHP. It's very easy to get it hosted
and those
Ta
I forgot about the 'expose PHP' directive
Tom
Ryan Grove wrote:
> Comment out line 113 (or thereabouts) of your php.ini file. That
> should do the trick.
>
> --
> Ryan Grove
> [EMAIL P
I've just installed PHP 4-04pl1 on a new NT/Apache box and can't
remember how to turn off the very irritating
"X-Powered-By: PHP/4.0.4pl1 Content-type: text/html "
message that appears at the top of any script generated page.
Can anyone please remind me how to get rid o
This issue cropped up with us a little while ago, but in a slightly different
context.
We have documents that are created using Word (PC users) and FrameMaker (die
hard Unix users that do not want anyone else to be able to edit their work
without first taking a degree in pontlessness). All of thes
> It may be that you need to uncoemment the ldap line in you r php.ini
> file.
Ok, I have mdified the line.
I put ldap.so. But now my problem is: I haven't got any ldap.so on my
hard drive ! Argh ! How am I supposed to have that file ?
I'm in a hurry, I must have finished this work for tonigh. ;-
Hi
I want to use an object which looks like the Windows Explorer File Tree
in a database application. Does anhone have any code to do this (or know
of the COM object or whatever that can be used to build it - I will also
want to enable left and right click events at some stage)
Cheers
Tom
$variable_name=$PATH_INFO
Depending on how you handle it next, you may want to stripslashes() or
URL_encode() it
Tom
"[EMAIL PROTECTED]" wrote:
> Hi all,
>
> I'm working on a little code snippet that invites a person to mail the url
> of the current page to a frien
m a string (which could be the whole file if you felt like
it)
Tom
[EMAIL PROTECTED] wrote:
> That sounds the way to go. Yes the sites I have looked at so far put their
> data into tables. Is there a PHP command that performs a replace all with ""
> until first occurrence of k
really be pretty trivial!)
Alternatively, you could spend a considerable amount of time trying to get a
generic XML parser to work and rebuild a DOM which would no doubt improve your
XML skills immeasurably, but you would probably die trying!
Tom
James Duncan wrote:
> Thanks Tom. Yes you have i
;
type of construct.
Note that you will want to strip out the beginning and end of the file first as
well. This may sound like a bit of work, but you only have to do it once, as the
file format will always be the same (barring the addition of new stocks).
Tom
James Duncan wrote:
> I don'
Depends on why you want to lop it down to a single line? Is this to make your
code tidier, or to improve execution time (the latter I doubt, as it won't
take long to perform the code you describe!).
The neat solution would obviously be a function (maybe even in javascript!)
that takes the paramet
By 'Doesn't seem to work' what do you mean?
Does it return no results (and how do you know that this is the case and that
its not some typo elsewhere) or does it give an error message - if so , what?
Tom
Ben Cairns wrote:
> I have a web board script that I need to imp
ve to say about
limitations and non-ansi SQL implementation/extensions, but this can take some
time!)
Tom
"samsom, debra" wrote:
> I am writing some PHP code with calls to Mysql. I am trying to do a Inner
> join and I am not getting any results back from my query (and no errors).
$Percent=sprintf("%0.2f",$Percent);
afan wrote:
> Hi all,
> short and simple question:
>
> >From total of 123 elements 79 are ok. What percent?
>
> $Total = 123;
> $ok = 78;
> $Percent = (100 / 123) * 78; //63.41463414...
>
> But I need just two decimal: 63.41
> I'm doing it this way:
>
95 matches
Mail list logo