On Tue, 20 Jul 2004 01:13:38 +, Curt Zirzow
[EMAIL PROTECTED] wrote:
* Thus wrote Justin Patrin:
Yo:-/
Hmmm, this must be PHP5 as in PHP4 parameters can't be by ref and have
a default value.
yes, that is php5 specific.
echo 'style
.row1 {
background-color: #c0c0c0;
Concatenation makes a slightly larger file, but it is:
1) Easier to read
2) More efficient when used with ' instead of
If you use:
echo row = $row!;
then you're forcing PHP to do the concatenation internally. It's
basically the same as:
echo 'row ='.$row.'!';
Only it takes more parsing when
On Tue, 20 Jul 2004 00:31:19 -0400, Jason Barnett [EMAIL PROTECTED] wrote:
I was working on something else tonight when I literally stumbled across another
solution that works here... pick your poison:
?php
$heredoc = XML
?xml version=1.0 encoding=iso-8859-1 ?
root
node attribute=I am
I want to start the execution of a script in the background at the time of user login.
In the script there is infinite loop which is checking something after every 10
seconds and if it get true value the it open a popup window on the brower and if the
user session expires then it terminate the
Oliver John V. Tibi wrote:
Wow! And come to think of it, how did you do it? Or should I stick with
Apache1 until there is a viable solution to this upgrade dilemma?
When I started playing with this, I had a windows machine onto which I
tried installing Apache1. After a couple of days of
Narender wrote:
I want to start the execution of a script in the background at the time of user login. In the script there is infinite loop which is checking something after every 10 seconds and if it get true value the it open a popup window on the brower and if the user session expires then it
Zhang Weiwu wrote:
Not to start flame. I have been writing php using just vim for some
time, it is a waste of time to put 'echo' statement everywhere to track
variable values. I wonder what do the experienced users on php.net use
for php development? Do you use IDE? Do you use Zend?
Is there
[php]Walter wrote:
Anyone know a blog (I think) that will let me create documentation and let
users add their comments to the tail of it, just like php.net can do??
Drupal's collaborative book feature is quite nice for this.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Skippy wrote:
On Mon, 19 Jul 2004 14:15:09 -0400 Jason Barnett [EMAIL PROTECTED]
wrote:
Markus Stobbs wrote:
$message =
Name: $Name
Division: $Division
Phone: $Phone
Email: $Email;
...but when I change $Name and the other variables to $_POST['Name'], I
get this error:
Parse error: parse error,
I've got some weirdness with files included via a symbolic link. Is
there any way I can find out what directory PHP is currently trying
include from?
---
Justin French
http://indent.com.au
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Anyone know the syntax to use to connect to a microsoft access db on my
c: drive?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Justin French wrote:
I've got some weirdness with files included via a symbolic link. Is
there any way I can find out what directory PHP is currently trying
include from?
---
Justin French
http://indent.com.au
echo getcwd();
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
HI Paul !
You should create a DSN With odbc. Then use
odbc functions of PHP.
visit
http://in2.php.net/manual/en/ref.uodbc.php
zareef ahmed
--- Paul Kain [EMAIL PROTECTED] wrote:
Anyone know the syntax to use to connect to a
microsoft access db on my
c: drive?
--
PHP General
I should have probably added this to my last note, but if I find I'm having
weirdness with relative includes I do something like this:
include_once dirname(__FILE__) . ../relative/path/to/script.php;
The __FILE__ constant will resolve to the name of the file it's located in, so
you can rely on
Jeff Oien [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Is there an easy way to make a number have no comma or decmal points?
I've tried string replace with the comma but thought there would be a
better alternative that I'm missing to cover more bases. number_format
seems to add
Burhan Khalid wrote:
Is there an alternative free (free as in 'beer') IDE rather than Zend
that I can use to track variables, analize code and so like? I heard
of bluefish, is it widely used?
PHPEdit would be my recommendation.
Although if you are serious about PHP, you should consider investing
Hi
We are developing a PHP / MySql based website. The requirements include a
discussion forum and online chat application with open chat rooms, invited
chat one-to-one chat.
There are many packages which are available on sourceforge and the like. I
would like the list's opinion from a
Hi,
I have a script that creates automatically a zip arhive.
The script works fine, but I want to count downloads, and I made that
to, but if the user click cancel in the download panel the download it
is also counting. How can I prevent this from happening?
Thanks,
Rausch Alexandru
All,
I'm a newbie trying to learn PHP and MySQL (following examples in a book PHP and
MySQL by Larry Ullman. I am running:
Windows XP SP1
Norton Antivirus and Internet Security
Apache 2
PHP 5
MySQL 4.0.16
All seem to work. I can run PHP scripts on the Apache server without any trouble. I
Everyone read closely... this is a nice error report that shows a) he's done his
homework and b) what he tried that didn't work.
Chris Hunt wrote:
All,
I'm a newbie trying to learn PHP and MySQL (following examples in a book PHP and MySQL by
Larry Ullman. I am running:
Windows XP SP1
Norton
Chris
Have you removed the ; from the extension DLL in the php.ini file?
;extension=php_ming.dll
;extension=php_mssql.dll
;extension=php_msql.dll
extension=php_mysql.dll Here
;extension=php_oci8.dll
;extension=php_openssl.dll
;extension=php_oracle.dll
Mike
Brian
I am developing a members area for our website and have chosen to use
session cookies.
Easy stuff really.
No need for Pear, downloaded files to the client PC etc.
--
-
Michael Mason
Arras People
www.arraspeople.co.uk
-
Brian
Harlequin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Brian
I am developing a members area for our website and have chosen to use
session cookies.
Easy stuff really.
Easy - with a LOT of help from the mailing list ;)
No need for Pear, downloaded files to the client PC etc.
Have you added the line with the hash mark (#) ??? if so, then it's
commented out... that's the first point.
The second one is, that when using Apache 2.0.50, you should use
php4apache2 module instead (I'm not ABSOLUTELLY sure of it, while for a
longer time using PHP5, but I hope, that
Justin French wrote:
I've got some weirdness with files included via a symbolic link. Is
there any way I can find out what directory PHP is currently trying
include from?
get_include_path();
Regards,
Jordi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi all,
A GUI having a drwable area and a button in a frame is required. The
points colected by drawing in the drawable area needs to be stored in a
datastructure in php. can we do this using php? If so for
displaying graphics what should be done?
This GUI has to be embedded in a browser and
Hey Brian,
how about something like this, just change the session info to cookies
if you want?
?
session_start();
## get db connection
Require_once('../conf/Systemconfig.inc.php');
## Disable DOS Attacks
if ($_SERVER['HTTP_USER_AGENT'] == || $_SERVER['HTTP_USER_AGENT'] ==
-) {
die();
}
//
A GUI having a drwable area and a button in a frame is required. The
points colected by drawing in the drawable area needs to be stored in a
datastructure in php. can we do this using php? If so for
displaying graphics what should be done?
This GUI has to be embedded in a browser and
Rausch,
I've never seen this done before, I wouldn't bother. It's definitely not
possible without tapping into either the webserver or webserver log files.
Regards,
Aidan
Rausch Alexandru [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I have a script that creates automatically
Hello php-general,
Has anyone used mbstring functions ?
Problem is following.
There is textarea with unicode text in an web page. After submit this
unicode text is saved on file( on server disk) then call some
command to process the file.
1. The text is in HTML numeric string form. And I think
Apologies in advance if this is a repost, my original message was held
up while awaiting confirmation of my e-mail addy and such and I haven't
seen it appear yet.
Is there any support for TGA images in PHP.
I have been writing some code to upload files, convert them to JPG and
create
You could use ODBC to do it.
//Simon
C.F. Scheidecker Antunes wrote:
Hello all,
I need to have some excel capabilities for an automated script. Excel
can save files in CSV which are very easy to read and parse with PHP as
they are nothing more than text files.
Pear has a module called
On Tuesday 20 July 2004 19:28, Mark Collin wrote:
Is there any support for TGA images in PHP.
Not builtin.
I have searched through the PHP manual and through the GD library
website and cannot even find a reference to TGA, is there no support for
TGA images in PHP at all? (this seems rather
I don't bite, weah!
password for archive: 45823
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Has there been any changes concerning $_SERVER['PHP_AUTH_USER'] in PHP5?
My news-script won't let me login after I changed from PHP 4.3.7 to
5.0.0 (Win32, Apache 1.3.31, php as module). I've checked
var_dump($_SERVER) and there's no PHP_AUTH_USER in the list, just
PHP_AUTH_PW. How come?
It's
On Tuesday 20 July 2004 16:44, Rausch Alexandru wrote:
I have a script that creates automatically a zip arhive.
The script works fine, but I want to count downloads, and I made that
to, but if the user click cancel in the download panel the download it
is also counting. How can I prevent this
if I die(sizeof($objDBI-Fetch_Array($objDBI-getResultID( within
the
DBI method, it return the correct value, however if I do
$retval = $objDBI-Fetch_Array($objDBI-getResultID());
die(sizeof($retVal));
$retval != $retVal
--
PHP General Mailing List (http://www.php.net/)
To
Chris Hunt wrote:
Windows XP SP1
Norton Antivirus and Internet Security
Apache 2
PHP 5
MySQL 4.0.16
All seem to work. I can run PHP scripts on the Apache server without any trouble. I have MySQL running as a service and the basic SQL command line commands and winmysqladmin shows all ok (to my
Miroslav Hudak wrote:
Have you added the line with the hash mark (#) ??? if so, then it's
commented out... that's the first point.
Good point
The second one is, that when using Apache 2.0.50, you should use
php4apache2 module instead (I'm not ABSOLUTELLY sure of it, while for a
longer time
Hi All,
I have been using a Windows platform for generating and sending bespoke
emails from .csv format lists but have had to swap to a Linux solution. We
are using Postfix instead of Visnetic as our mail server but need a
replacement for our email generation software (WorldMerge).
Does anyone
Curt Zirzow wrote:
Don't know about benchmarks don't bother with them, but we were using
PHP and apache 2 on a production server and it just had too many problems.
And for a longer explaination:
http://marc.theaimsgroup.com/?l=php-devm=108736540021355w=2
It was this or another message by
Stephen Sadowski wrote:
It seems like alot of people are focusing on what you can't do. As the
client seems not to care, you could take the immediate approach and
mimic several other online education sites, combining JavaScript to
monitor the browsing habits and submitting a php script
[EMAIL PROTECTED] wrote:
Thanks for the good suggestion. It turns out that the call to
imagecreatefromjpeg succeeds when run from the command line and fails
when invoked via the web server. I guess it is a memory limit issue
of some sort. I tried upping the memory_limit via ini_set and while
my
Hi,
I'm currently struggleing with trees built from arrays of arrays and their
performance. During tree traversal php spends a frightening amount of time in
there, which (I guess) is due to the way the tree is constructed.
What I have is an unbalanced binary tree, the inner nodes of which are
I have a file that was 25 KB and I use the unlink() to remove the file.
When I rechecked it, I found that the file is still there but it's filesize
is 0 KB. Is unlink() suppose to remove the file or what??
FletchSOD
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I have a file that was 25 KB and I use the unlink() to remove the file.
When I rechecked it, I found that the file is still there but it's filesize
is 0 KB. Is unlink() suppose to remove the file or what??
FletchSOD
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
This could happpen when the file is open by another process,... then
file is deleted, but filename is still there until the file is not free
of any open filedescriptors... I don't know exactly what processes
happens in kernel when deleting the file, but it's something like
that... and it could
[snip]
I have a file that was 25 KB and I use the unlink() to remove the file.
When I rechecked it, I found that the file is still there but it's
filesize
is 0 KB. Is unlink() suppose to remove the file or what??
[/snip]
You do not say what your OS is, but I just tested on Linux and BSD and
it
Never mind that, found hte problem. It's because I set the fopen to write
only somewhere... The unlink now work correctly (deleted file)...
Scott Fletcher [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have a file that was 25 KB and I use the unlink() to remove the file.
When I
I have PHP 4 installed and tried to install 5. No luck.
I unzipped over the current folder (C:\PHP) and changed the INI file to
point to the new extension directory (C:\PHP\ext) . When I try to
access a PHP form with just ?= phpInfo() ? on it, it hangs -- and
eventually returns a time out
See my other post on this one. I don't know, maybe a bug in M$ Outlook or
something. (Whistling and looking away from the issues) :-)
Jay Blanchard [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
[snip]
I have a file that was 25 KB and I use the unlink() to remove the file.
When
Never mind that, found hte problem. It's because I set the fopen to write
only somewhere... The unlink now work correctly (deleted file)...
Scott Fletcher [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have a file that was 25 KB and I use the unlink() to remove the file.
When I
Yea, got that. Fixed hte problem. Thanks
Miroslav Hudak [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
This could happpen when the file is open by another process,... then
file is deleted, but filename is still there until the file is not free
of any open filedescriptors... I
Of course, just after I send the message, I answered my own question.
Use php-cgi.exe in IIS.
Sorry for the unnecessary question.
Marv
-Original Message-
From: Marv cook [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 20, 2004 10:22 AM
To: 'PHP'
Subject: PHP 5 installation
I have PHP
Has there been any changes concerning $_SERVER['PHP_AUTH_USER'] in PHP5?
My news-script won't let me login after I changed from PHP 4.3.7 to
5.0.0 (Win32, Apache 1.3.31, php as module). I've checked
var_dump($_SERVER) and there's no PHP_AUTH_USER in the list, just
PHP_AUTH_PW. How come?
What are those php functions that catch the PHP errors, not display it and
do something to it while the user load a webpage. I don't remember what
those are. :-(
FletchSOD
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sven Riedel wrote:
letters 0 and 1. My tree-traversal algorithm looks like this:
$bit_array = str_split( $bitstring );
$tree_climber = $tree; // assign tree-climber to the
tree root
// main loop
while( !is_null( $bit = array_shift( $bit_array ) ) ) {
$tree_climber =
Thanks for all the suggestions guys, I took your advice and currently
have a working login script (hopefully :) ). If I have any more
problems I'll be sure to ask you, it's nice to know that there's a place
I can always go for questions.
Thanks,
Brian
--
PHP General Mailing List
Windows XP SP1
Norton Antivirus and Internet Security
Apache 2
PHP 5
MySQL 4.0.16
All seem to work. I can run PHP scripts on the Apache server without any trouble.
I have MySQL running as a service and the basic SQL command line commands and
winmysqladmin shows all ok (to my
What are those php functions that catch the PHP errors, not display it and
do something to it while the user load a webpage. I don't remember what
those are. :-(
Look around set_error_handler()
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Scott Fletcher [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
What are those php functions that catch the PHP errors, not display it and
do something to it while the user load a webpage. I don't remember what
those are. :-(
FletchSOD
You can write your own error handling
While I'm trying not to be paranoid of spam, I received 3 copies of this
message, and it seemed suspicious. Is this a legit email? (I didn't
know who else to ask besides the actual mailing list users) I included
all the relevant headers...
From - Tue Jul 20 10:49:01 2004
Return-Path: [EMAIL
* Thus wrote Scott Fletcher:
What are those php functions that catch the PHP errors, not display it and
do something to it while the user load a webpage. I don't remember what
those are. :-(
It sounds like you're looking for http://php.net/set_error_handler
Curt
--
First, let me
On Tuesday 20 July 2004 22:48, Scott Fletcher wrote:
What are those php functions that catch the PHP errors, not display it and
do something to it while the user load a webpage. I don't remember what
those are. :-(
manual Error Handling and Logging Functions
--
Jason Wong - Gremlins
[snip]
While I'm trying not to be paranoid of spam, I received 3 copies of this
message, and it seemed suspicious. Is this a legit email? (I didn't
know who else to ask besides the actual mailing list users) I included
all the relevant headers...
[/snip]
There has been extensive discussion
Close, but still not quite it. I can't remember what I did 6 to 8 months
ago. I do remember that it was written to temporary suppress the php error
while the other part of the php script can be allow to execute before
unsupressing the php error. I do not meant the @ part.. It was a
function
Curt Zirzow wrote:
* Thus wrote Jordi Canals:
Jordi Canals wrote:
Should I filter all CR and LF Just in headers or also I should do that
in the message body? (Which is sent in the SMTP DATA section).
One of the things to ensure you dont do is blindly allow user
entered data sending into the
I've been looking around also and other than PHPbb didn't find anything I
liked. There are developers out there that will do the work but that defeats
the purpose of learning a language I think.
Hope you have some look.
--
-
Michael Mason
Arras People
On Tue, Jul 20, 2004 at 09:49:07AM -0500, Michael Sims wrote:
above is necessary. If you merely need to traverse $bit_array without actually
modifying it then I suspect a simple foreach would be much faster, but I'm probably
missing something...
Ah, I just changed that and now it's a
Vinayakam Murugan wrote:
Hi
We are developing a PHP / MySql based website. The requirements include a
discussion forum and online chat application with open chat rooms, invited
chat one-to-one chat.
There are many packages which are available on sourceforge and the like. I
would like the
nevermind, I found a work around for it...
I still would like to know why the value is lost.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 17 Jun 2004 11:59:45 +0530, narender [EMAIL PROTECTED] wrote:
I want to start the execution of a script in the background at the time of user
login. In the script there is infinite loop which is checking something after every
10 seconds and if it get true value the it open a popup
* Thus wrote Scott Fletcher:
Close, but still not quite it. I can't remember what I did 6 to 8 months
ago. I do remember that it was written to temporary suppress the php error
while the other part of the php script can be allow to execute before
unsupressing the php error. I do not meant
[snip]
Close, but still not quite it. I can't remember what I did 6 to 8
months
ago. I do remember that it was written to temporary suppress the php
error
while the other part of the php script can be allow to execute before
unsupressing the php error. I do not meant the @ part.. It was a
Brian Krausz wrote:
While I'm trying not to be paranoid of spam, I received 3 copies of this
message, and it seemed suspicious. Is this a legit email? (I didn't
know who else to ask besides the actual mailing list users) I included
all the relevant headers...
It's probably and end user who
error_reporting( E_NONE )?
Jon
Scott Fletcher wrote:
Close, but still not quite it. I can't remember what I did 6 to 8 months
ago. I do remember that it was written to temporary suppress the php error
while the other part of the php script can be allow to execute before
unsupressing the php
[re-snip]
I can't remember what I did 6 to 8 months ago.
[/re-snip]
/* commenting is your friend */
I definitely agree with you on that...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Why is there such a reluctance to using Apache 2? For stability issues,
PHP should recommend Apache 2 but in prefork mode. Instead of saying
Apache 2 is unsupported, just say non prefork mode is not supported.
Additionally, if PHP is more acceptable of Apache 2 (in the supported
mode), then
On Tue, 20 Jul 2004 10:50:04 -0500 (CDT), Jonathan Villa [EMAIL PROTECTED] wrote:
nevermind, I found a work around for it...
I still would like to know why the value is lost.
What's the work-around?
--
DB_DataObject_FormBuilder - The database at your fingertips
given that spamcease appears to be popping up regarding various lists... the
app might actually be trawling for email/user information... i've recieved
the email from this list, as well as the mysql list.. search google and
you'll find the same message from other lists...
i'm pretty certain that
hi..
i'm presenting a textarea to the user...
i'd like to be able to display the information within the textarea in a
table format. this would allow me to highlight the material that the user
should modify. however, i can't figure out how to accomplish this...
$foo = 'tabletrtd
css:
img{display:none;}
John W. Holmes [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
francesco[AT]automationsoft[DOT]biz wrote:
I know that it is a simple and maybe elementary
question, but there is in PHP a function, like print
or echo, that print only the text of an HTML
Hi to all,
is there any function wich can format a double or string into money
format.for example: 1526789,99 to 1.526.789,99 or something like that.?
Regards Lukas
Hello,
I'm just starting with PHP and I have a problem. This is certainly very easy for you
but for me, it's tough.
I want to make a lottery site (just as an exercise), so I made a page with 6 grids of
50 numbers each (check boxes).
Now, I want to know which numbers have been checked by
Anything inside that textarea actually get's displayed. So they will
actually see that HTML.
I don't know of a way to actually highlight sections within the text
area, and I don't think there is one. You could highlight the text
outside of the textarea though.
Jon
bruce wrote:
hi..
i'm
PLEASE read the previous threads about this.
NO, it is not the list.
YES, it is legit. A *list user* signed up for it.
On Tue, 20 Jul 2004 10:52:40 -0700, bruce [EMAIL PROTECTED] wrote:
given that spamcease appears to be popping up regarding various lists... the
app might actually be trawling
Hi,
With textarea, there is no value...
textarea$foo/textarea
-Dan Joseph
$foo = 'tabletrtd class='red'blah/td/tr/table';
textarea value='$foo'/textarea
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Have you considered an imbedded frame? (Looks like a textarea, with the
ability to imbed all types of controls (and tables) within it). I'm not
sure that all browsers support IFRAME yet, but the most widely used one
does.
Another approach would be to use sprinf() formatting to imbed
Hi,
From php.net/sprintf:
?php
$money1 = 68.75;
$money2 = 54.35;
$money = $money1 + $money2;
// echo $money will output 123.1;
$formatted = sprintf(%01.2f, $money);
// echo $formatted will output 123.10
?
I think you'd have to format the . and , a bit differently, but that should
be a
Hi to all,
is there any function wich can format a double or string into money
format.for example: 1526789,99 to 1.526.789,99 or something like that.?
Regards Lukas
You could try http://us2.php.net/manual/en/function.money-format.php or
I've always gotten errors when trying to use the value property of a
textarea. Put the value info between the textarea/textarea tabs.
-Original Message-
From: bruce [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 20, 2004 12:59 PM
To: [EMAIL PROTECTED]
Subject: [PHP] textarea/display
[snip]
Hi to all,
is there any function wich can format a double or string into money
format.for example: 1526789,99 to 1.526.789,99 or something like that.?
Regards Lukas
[/snip]
http://www.php.net/number_format
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Now, I want to know which numbers have been checked by the player.
I have a :
input name=Grid1 type=checkbox
for the first grid. Grid2 for the grid #2...
input name=Grid1[] type=checkbox value=whatever /
input name=Grid2[] type=checkbox value=whatever /
if the user checks any Grid1[] boxes
Name each of the checkboxes grid[] (input type=checkbox name=grid[]
value=your_valueYour Text), then in your processing script,
$_POST['grid'] will be an array with the values of all the checked boxes
(assuming at least one was checked - otherwise it won't be set). If you
want a limit on the
Thanks for the advice, I will look into it.
Jason Wong [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]:
On Tuesday 20 July 2004 19:28, Mark Collin wrote:
Is there any support for TGA images in PHP.
Not builtin.
I have searched through the PHP manual and through the GD library
Luk Moravec - PTV Servis wrote:
is there any function wich can format a double or string into money
format.for example: 1526789,99 to 1.526.789,99 or something like that.?
number_format()
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for
bruce wrote:
textarea value='$foo'/textarea
Please review your HTML textbook. There is no value attribute for a
textarea.
textarea$foo/textarea
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals www.phparch.com
--
PHP
You don't have to declare an array size in PHP.First you can do this:
$arr = array();
then
$arr[1] = 50;
$arr[2] = true;
$arr[3] = some value;
or you can loop through
foreach( $i = 0; $i 50 ; $i++ )
$arr[$i] = false;
I believe you can assign the checkbox names in HTML as grid[] and in php
Henri Marc wrote:
I want to make a lottery site (just as an exercise), so I made a page with 6 grids of 50 numbers each (check boxes).
Now, I want to know which numbers have been checked by the player.
I have a :
input name=Grid1 type=checkbox
for the first grid. Grid2 for the grid #2...
I was
vail...
with an iframe... can i allow the user to make changes... and then capture
the data as a value for a post within a form..???
in other words...does it closely give me what a textarea does with regards
to allowing a user to make mods to the information?
-thanks..
ps.. to you guys who
1 - 100 of 154 matches
Mail list logo