Yes, this is what is missed: enctype="multipart/form-data"
Thanks !
DT
At 11:20 AM 9/8/2004 +0600, raditha dissanayake wrote:
Deependra b. Tandukar wrote:
I tried this form to upload a file.
...
This very code works in my home computer. I tried this with my local
server at my office and my web se
John Smith wrote:
What's the most accurate way to get the byte count of
some text? Is strlen() accurate with Unicode, ASCII,
etc.?
John
strlen() is fine even for multibyte encodings, it does not know about
encoding and returns the "raw" size. If you wanted the number of
characters, you would need
On Wed, 8 Sep 2004, Marek Kilimajer wrote:
> John Smith wrote:
> > What's the most accurate way to get the byte count of
> > some text? Is strlen() accurate with Unicode, ASCII,
> > etc.?
> >
> > John
> >
>
> strlen() is fine even for multibyte encodings, it does not know about
> encoding and retur
> Is it bad practice for a class to have a variable and method of the same name?
Well, it's a matter of opinion what is and isn't bad practice, but
personally I would never give a variable and a function the same name
- if only to avoid confusion (PHP shouldn't mind if you do so though).
Paul
--
Hi All
(B
(Bi m using rsync command to transfer files from server to server.
(B
(Bi use the below code
(B
(Brsync --password-file .passfile ssh [EMAIL PROTECTED]:/remote/dir /localdir/dir/
(B
(Bwhere .passfile has the password...
(B
(BBut eventhough i have passed the password file it asks
Rasmus Lerdorf wrote:
On Wed, 8 Sep 2004, Marek Kilimajer wrote:
John Smith wrote:
What's the most accurate way to get the byte count of
some text? Is strlen() accurate with Unicode, ASCII,
etc.?
John
strlen() is fine even for multibyte encodings, it does not know about
encoding and returns the "ra
On Wednesday 08 September 2004 17:10, Syed Ghouse wrote:
(B
(B> i m using rsync command to transfer files from server to server.
(B>
(B> i use the below code
(B>
(B> rsync --password-file .passfile ssh [EMAIL PROTECTED]:/remote/dir
(B> /localdir/dir/
(B>
(B> where .passfile has the passwor
"Jed R. Brubaker" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Quick question here. Has anyone run into trouble with a variable reference
> to a class object?
>
> Here is the code:
> $_SESSION['database'] = new Database;
> $this->db = &$_SESSION['database'];
>
> Everything goes scr
"Jed R. Brubaker" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Quick question here. Has anyone run into trouble with a variable reference
> to a class object?
>
> Here is the code:
> $_SESSION['database'] = new Database;
> $this->db = &$_SESSION['database'];
>
> Everything goes scr
> Tell me how t use the rsync command with ssh and without prompting for password
A little bit of politeness (including the word 'please') would go a long way...
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
(BHi All
(B
(Bi m using rsync command to transfer files from server to server.
(B
(Bi use the below code
(B
(Brsync --password-file .passfile ssh [EMAIL PROTECTED]:/remote/dir
(B/localdir/dir/
(B
(Bwhere .passfile has the password...
(B
(BBut eventhough i have passed the password file
[snip]
I'm reading data. Can I open a connection within a connection and write
data to another $db.$table or do I have to write my data to an array. In
an array, how do I do this?
I've looked at array_push, but don't think this is what I want?
$authors = array();
array_push($singleauthor,$my
Syed Ghouse wrote:
Please anybody tell me how t use the rsync command with ssh and without
prompting for password
I must have missed the php part of this question.
Here, this is how to use rsync...
Ask on the proper list!
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP
* Jed R. Brubaker <[EMAIL PROTECTED]>:
> Quick question here. Has anyone run into trouble with a variable reference
> to a class object?
>
> Here is the code:
> $_SESSION['database'] = new Database;
> $this->db = &$_SESSION['database'];
>
> Everything goes screwy after a call like this.
You don't
> WHOHOO!
>
> up2date -i XFree86-devel
>
> ./configure --with-mysql=/usr/local/mysql
> --with-apxs=/etc/httpd/bin/apxs --with-gd --with-png
> --with-zlib-dir=/root/zlib-1.2.1 --enable-gd-native-ttf --with-ttf
> --with-jpeg-dir=/usr/local/lib/jpeg-6b/
> --with-freetype-dir=/usr/local/lib/freetype-2.
Hi,
I wonder if anyone experienced the same as I did the last few
days. If I call imap_open() on linux it takes less than 0.2s
to return, but if I try that on windows it needs about 5s! to
successfully connect to the imap server.
Is this behaviour naturally?
My connection string looks like the f
Michael Wallner wrote:
Hi,
I wonder if anyone experienced the same as I did the last few
days. If I call imap_open() on linux it takes less than 0.2s
to return, but if I try that on windows it needs about 5s! to
successfully connect to the imap server.
Is this behaviour naturally?
My connection st
Greetings,
The following code is from "Learning PHP5 [O'Reilly] on page 90. Example -
6.5:
I get a:
Warning: Invalid argument supplied for foreach() in
c:\apache\htdocs\or_6.4.php on line 15
after submitting the form.
I'm not sure why since the example uses the call to foreach() in which the
a
> Warning: Invalid argument supplied for foreach() in
> c:\apache\htdocs\or_6.4.php on line 15
do a print_r on $_POST to see what is in the array.
>
>
> BBQ Pork Bun
> Chicken Bun
> Lotus Seed Bun
> Bean Paste Bun
> Bird-Nest Bun
>
>
>
>
> Selected buns:
>
> foreach ($_POST['lunch'] as $c
But I get:
Warning: Variable passed to each() is not an array or object
I assume you have instantiated the $mylphp object with "new"?
Yes, in fact I'm using their demo files just to eliminate all the
possible variables. It seems to only be a problem on my development
server. Works fine in prod
Anthony Ritter wrote:
I get a:
Warning: Invalid argument supplied for foreach() in
c:\apache\htdocs\or_6.4.php on line 15
after submitting the form.
Hello Anthony!
As long as you don't submit the form with a single option selected there
will be no $_POST['lunch'], therefore foreach() won't be able
As far as I can tell there is not an easy way yet to create packages in
PHP5.
It seems the following is the best option:
include('classes/help/Search.inc');
// Inside Search.inc and in the same "package"
include('OtherClass.inc');
include('AnotherClass.inc');
Is there a better way?
Thanks!
-
Out of curiosity, how would you prefer it?
the way you mentioend is basically how i do though.
Jason
"Jed R. Brubaker" <[EMAIL PROTECTED]> wrote:
>
> As far as I can tell there is not an easy way yet to create packages in
> PHP5.
>
> It seems the following is the best option:
> include('clas
Oh - and naming conventions.
Do you define the class?:
class help.Search {
}
"Jed R. Brubaker" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> As far as I can tell there is not an easy way yet to create packages in
> PHP5.
>
> It seems the following is the best option:
> include(
> > It seems the following is the best option:
> > include('classes/help/Search.inc');
> >
> > // Inside Search.inc and in the same "package"
> > include('OtherClass.inc');
> > include('AnotherClass.inc');
> >
> > Is there a better way?
I do pretty much the same thing but with a config.php file.
Well, my OO experience comes from Java and ActionScript2.0, so there is
compilation going on and classes get refered to as named that assume files
(as you probably know).
As I just added to my original post, I am also wondering about naming
conventions:
Quote:
-
> As far as I can tell there is not an easy way yet to create packages in
> PHP5.
>
> It seems the following is the best option:
> include('classes/help/Search.inc');
>
> // Inside Search.inc and in the same "package"
> include('OtherClass.inc');
> include('AnotherClass.inc');
>
> Is there a better
Hi Raditha Dissanayake, you wrote:
> let me guess ip.ip.ip.ip=127.0.0.1 ? (when in linux)
Yes, that's true.
> if yes this behaviour isn't really worth worrying about.
So you say it'd take equally long to call imap_open() from
a remote linux machine? 5 seconds seem far too long for
me, though..
Michael Wallner wrote:
Hi Raditha Dissanayake, you wrote:
let me guess ip.ip.ip.ip=127.0.0.1 ? (when in linux)
Yes, that's true.
if yes this behaviour isn't really worth worrying about.
So you say it'd take equally long to call imap_open() from
a remote linux machine? 5 seconds see
> Do you define the class?:
>
> class help.Search {
> }
No..,
In your example you are defining the search class in the Help
namespace, just like you would in ActionScript.
I don't think you can do that in php.
You would just use;
class Search{
// do stuff here
}
You can extend the class us
> OK. Sounds like a genuine segfault to me. The CLI version will simply print
> "Segmentation fault" to the screen or "Segmentation fault (core dumped)"
> when configured with debugging enabled.
Thanks for the help Jim. I had to install gdb and recompile php, but
I was able to get consistant back
Here's the scenario...
First, my HTTP Server (Apache), PHP Server and MySQL Server are on the same
machine - an Apple Xserve.
Second, I've got a page with a long repeat region reflecting a recordset
queried out of a MySQL table. The region also displays information obtained
from fields in a re
Alex,
You suggestion about the config file is interesting, but while I go and
re-read your post, I am wondering how you would avoid class name conflicts.
Point and case, the only reason I am going after packages is because I have
a search class that is used for something else, and I want to not
> Thanks for the help Jim. I had to install gdb and recompile php, but
> I was able to get consistant backtraces from both systems. When the
> fault occured, the backtrace was identical every time. It appears to
> be an issue with memchr() in ftp_get():
>
> =
> Program received s
> ...and just for clarification... after re-reading my response to you it came
> to my attention that one might assume I'm somehow involved with PHP
> development.
You mean you won't be the person fixing this bug?? Man, I'm screwed
now! j/k ;-)
No worries!
--
PHP General Mailing List (http://
> Here's the question...
>
> I can either A) in the header or my page, generate a recordset of all of
> the records in the related table and then loop through the recordset
> creating an array of the fields I need and then later pull from it in the
> repeat region... or B) take the six lines of cod
> I can either A) in the header or my page, generate a recordset of all of
> the records in the related table and then loop through the recordset
> creating an array of the fields I need and then later pull from it in the
> repeat region... or B) take the six lines of code Dreamweaver generates to
Hi Raditha Dissanayake, you wrote:
> What I am saying is that opening a socket connection has plenty of
> over heads whether it's imap or not. It's for this reason that most
> clients (mail or otherwise) keep the connection open for short
> durations even if no data is exchanged. Don't lose hair o
--- Robb Kerr <[EMAIL PROTECTED]> wrote:
> Here's the question...
>
> I can either A) in the header or my page, generate a recordset
> of all of the records in the related table and then loop through
> the recordset creating an array of the fields I need and then
> later pull from it in the repeat
> You suggestion about the config file is interesting, but while I go and
> re-read your post, I am wondering how you would avoid class name conflicts.
I try to avoid using the same name for different classes.
> Point and case, the only reason I am going after packages is because I have
> a searc
It seems the problem is that port 1129 is blocked somewhere, which lphp
needs to communicate with Cardservice. Sorry for the noise, hope this
is helpful to someone else. :)
- Brian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Almost all the time (unless the data being worked with is extremely,
extremely large) PHP is much faster at manipulating data than MySQL. So
if you already have the record set pulled out of MySQL, you probably
want to go with PHP to manipulate it. Especially for repeating like
this, there is ze
I had SSH setup to require passwords when logging in, so that is why I
was having trouble trying to figure out how to get it to work. I now
have the two servers in question setup to auto login based on their
keys. I have successfully run the remote script from the CLI on server
1. Now I just ne
Does anyone have a nice clean way to provide data grids with php short
of simply creating a bunch of input boxes or using flash?
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 8 Sep 2004 10:30:59 -0500, Jim Grill wrote:
>> Here's the question...
>>
>> I can either A) in the header or my page, generate a recordset of all of
>> the records in the related table and then loop through the recordset
>> creating an array of the fields I need and then later pull from it
[snip]
I don't completely understand your terminology, but it's always faster
to get all of your data with a single query rather than a query per
loop. Of course, the difference is that it also requires more memory. In
general,
if you have the memory, use it. It will always be faster.
[/snip]
+1
From: "blackwater dev" <[EMAIL PROTECTED]>
Does anyone have a nice clean way to provide data grids with php short
of simply creating a bunch of input boxes or using flash?
You mean using HTML/DHTML/CSS, etc. instead of PHP. PHP just creates the
code to send to the browser.
To answer your question
Dears,
I need to create user for MySQL.
Please guide me..
=
-DIGITAL SIGNATURE---
///Mohsen Pahlevanzadeh
Network administrator & programmer
My home phone is: +98213810146
My email address is
On Wed, 2004-09-08 at 13:15, blackwater dev wrote:
> Does anyone have a nice clean way to provide data grids with php short
> of simply creating a bunch of input boxes or using flash?
What is a 'data grid' ?
--
Greg Donald
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visi
[snip]
Does anyone have a nice clean way to provide data grids with php short
of simply creating a bunch of input boxes or using flash?
[/snip]
Have you looked at GTK? http://gtk.php.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
That brings up another question which I know actually belongs over on
the MySQL board, but since the question arose here I thought I'd post
here. I understood that MyISAM tables could not be relational. Do you
mean that I can create JOINs between MyISAM tables? Maybe I need to do
some more r
From: "Robb Kerr" <[EMAIL PROTECTED]>
That brings up another question which I know actually belongs over on the
MySQL board, but since the question arose here I thought I'd post here. I
understood that MyISAM tables could not be relational. Do you mean that I
can create JOINs between MyISAM tables?
Michael Wallner wrote:
> Well, so here comes /the oddity/
>
> connecting from debian to windows/exchange ~0.5 seconds
> connecting from debian to debian/courier ~0.2 (assumed to be somewhere at 0.x
> seconds)
> connecting from windows to debian/courier ~5 seconds
> connecting from windows to win
On Wed, 2004-09-08 at 13:31, Robb Kerr wrote:
> That brings up another question which I know actually belongs over on the
> MySQL board, but since the question arose here I thought I'd post here. I
> understood that MyISAM tables could not be relational. Do you mean that I
> can create JOINs betwee
Pahlevanzadeh Mohsen wrote:
Dears,My code is :
echo "xxx";
echo "";
echo " ";
echo " ";
echo "";
echo "";
}
$username=$_POST['u'];
$password=$_POST['p'];
echo md5('mohsen');
$parameterforauth=array("dsn"=>"mysql://$username:[EMAIL PROTECTED]/mem",
"table"=>
Hi Michael Sims, you wrote:
> Anytime I see something like this, I suspect that the server (in this
> case, Courier IMAP) is attempting an ident lookup on the client, or
> is attempting a reverse DNS lookup.
Well, Courier did already run with -nodnslookup -noidentlookup.
It seems that it is waiti
On Wed, 8 Sep 2004 12:01:55 -0700 (PDT), Pahlevanzadeh Mohsen
<[EMAIL PROTECTED]> wrote:
> Dears,
> I need to create user for MySQL.
> Please guide me..
Please RTFM
http://dev.mysql.com/doc/mysql/en/Adding_users.html
--
Victor Saldaña D.
--
PHP General Mailing List (http://www.php.net/)
To
From: "Pahlevanzadeh Mohsen" <[EMAIL PROTECTED]>
I need to create user for MySQL.
Please guide me..
PHP != MySQL
http://dev.mysql.com/doc/mysql/en/index.html
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
yeah, it needs to be on a front end site where the users can enter
their data easily...I will play with the new flash data grid component
some more.
Thanks!
On Wed, 8 Sep 2004 15:06:55 -0400, John Holmes <[EMAIL PROTECTED]> wrote:
> From: "blackwater dev" <[EMAIL PROTECTED]>
>
>
>
> > Does an
[snip]
I need to create user for MySQL.
Please guide me..
[/snip]
I will guide you to the MySQL lists at http://lists.mysql.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
What is a 'data grid' ?
[/snip]
Like a spreadsheet where you can manuever from cell to cell.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 2004-09-08 at 14:01, Pahlevanzadeh Mohsen wrote:
> Dears,
> I need to create user for MySQL.
> Please guide me..
http://dev.mysql.com/doc/mysql/en/Adding_users.html
--
Greg Donald
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.ph
> That brings up another question which I know actually belongs over on the
> MySQL board, but since the question arose here I thought I'd post here. I
> understood that MyISAM tables could not be relational. Do you mean that I
> can create JOINs between MyISAM tables? Maybe I need to do some more
> Dears,
> I need to create user for MySQL.
> Please guide me..
>
> =
> -DIGITAL SIGNATURE---
> ///Mohsen Pahlevanzadeh
> Network administrator & programmer
> My home phone is: +98213810146
> My email address is
> PHP != MySQL
MySQL != RDBMS
http://www.postgresql.org
>
> http://dev.mysql.com/doc/mysql/en/index.html
>
> ---John Holmes...
>
>
--
Co-Founder
Command Prompt, Inc.
The wheel's spinning but the hamster's dead
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Pahlevanzadeh Mohsen wrote:
Dears,
I need to create user for MySQL.
Please guide me..
I keep forgetting that this it the MySQL list.
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
> -Original Message-
> From: Jay Blanchard [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 08, 2004 3:37 PM
> To: Pahlevanzadeh Mohsen; [EMAIL PROTECTED]
> Subject: RE: [PHP] Users of RDBMS
>
> [snip]
> I need to create user for MySQL.
> Please guide me..
> [/snip]
>
> I will
Hi,
> PHP != MySQL
>
> http://dev.mysql.com/doc/mysql/en/index.html
Shouldn't that be:
if ( PHP != MySQL )
{
Header( "Location:
http://dev.mysql.com/doc/mysql/en/index.html"; );
}
-Dan Joseph
--
PHP General Mailing List (http://www.php.net/)
To
Hi all,
I want to set up a delivery date and time for emails to be sent. (I'm
using phpmailer)
I'm coming up blank on how to do this. I thought that I could put a
timing condition on a page that I know will be accessed daily that
would look for the date then call the function that will do the ma
Hello,
I'm working with a system that draws a map from certain information.
Lambert's projection seems to suit well to our needs.
Now I should generate a function that converts the lat/lon coordinates
to the x,y coordinates using the Lambert's projection. As I couldn't
find any ready-to-use scr
Joshua D. Drake wrote:
PHP != MySQL
MySQL != RDBMS
Please tell me you're kidding.
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
John Nichel wrote:
Joshua D. Drake wrote:
PHP != MySQL
MySQL != RDBMS
Please tell me you're kidding.
that's a funny one... could've sworn it actually was one...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You can have the php script written so that it performs the functions
you want then setup a cron job to run that script at a given time or
interval. I do this with daily and weekly operations now. It works great.
Alex Hogan wrote:
Hi all,
I want to set up a delivery date and time for emails to b
Alex Hogan wrote:
Hi all,
I want to set up a delivery date and time for emails to be sent. (I'm
using phpmailer)
I'm coming up blank on how to do this. I thought that I could put a
timing condition on a page that I know will be accessed daily that
would look for the date then call the function tha
> Not necessarily outside of php, but outside of webserver. You need to
> setup a cron job that will execute the phpmailer script.
Gotcha..,
My webserver is a windows box, so I can just run a task schedule and give it;
php.exe myfile.php
and that should do it?
Would it be more efficient as a com
Copied and pasted the following sample script from the php manual and this
outputs:
...
bold";
echo htmlentities($str);
?>
..
// outputs: A 'quote' is bold
Not sure why the I am still getting the tags and spaces after the call to
htmlentities().
Thank you for any help.
TR
Hi all,
I need to use tidy for cleaning up html in my project, our hosting company
has php 4.3.8, so we need to install tidy and make the installation again.
After several times, the configure and make commands replied no error,
however, the phpinfo() doesn't show the package as installed and when
> I'm working with a system that draws a map from certain information.
> Lambert's projection seems to suit well to our needs.
...
> I found a formula explaining the projection at
> http://mathworld.wolfram.com/LambertConformalConicProjection.html .
> Unfortunately there is no explanation that wh
--- Anthony Ritter <[EMAIL PROTECTED]> wrote:
> Copied and pasted the following sample script from the php manual
> and this outputs:
>
> ...
> $str = "A 'quote' is bold";
> echo htmlentities($str);
>
> ?>
> ..
>
> // outputs: A 'quote' is bold
>
> Not sure why the I am sti
> Copied and pasted the following sample script from the php manual and this
> outputs:
>
> ...
> $str = "A 'quote' is bold";
> echo htmlentities($str);
>
> ?>
> ..
>
> // outputs: A 'quote' is bold
>
> Not sure why the I am still getting the tags and spaces after the call to
>
> Copied and pasted the following sample script from the php manual and this
> outputs:
>
> ...
> $str = "A 'quote' is bold";
> echo htmlentities($str);
>
> ?>
> ..
>
> // outputs: A 'quote' is bold
>
> Not sure why the I am still getting the tags and spaces after the call to
>
Anthony Ritter wrote:
bold";
echo htmlentities($str);
?>
..
// outputs: A 'quote' is bold
Not sure why the I am still getting the tags and spaces after the call to
htmlentities().
Check out the source code of the output. Maybe you want the strip_tags()
function ?
--
PHP General Mailin
Chris Shiflett wrote:
> View source, and I think you'll understand. Or, remove the call to
> htmlentities().
>
> Chris
..
Thank you all for your assistance.
Best...
TR
...
"...when a browser sees <, it prints out a < character instead of
thinking "OK here comes an HTML tag.
Hi,
Wednesday, September 8, 2004, 9:14:53 AM, you wrote:
M> Anyone! I'm out of online resources and answers. I guess this isn't possible
M> to do...
Here is a function/hack I use to clean up text for my php-gtk editor,
I still haven't found a clean solution yet but it may help.
function convert
M. Sokolewicz wrote:
John Nichel wrote:
Joshua D. Drake wrote:
PHP != MySQL
MySQL != RDBMS
Please tell me you're kidding.
that's a funny one... could've sworn it actually was one...
All this time the MySQL AB people have been lying to us. It's actually
an Excel spreadsheet. ;)
--
By-Tor.com
I
On Wed, 8 Sep 2004 13:14:57 -0700 (PDT), Joshua D. Drake
<[EMAIL PROTECTED]> wrote:
> MySQL != RDBMS
>
> http://www.postgresql.org
Yup.
I recently became a Postgres user after 5+ years using MySQL. I am
very impressed with it so far. The price is right and the license is
very friendly for all.
http://pear.php.net/package/Structures_DataGrid
"Blackwater Dev" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Does anyone have a nice clean way to provide data grids with php short
> of simply creating a bunch of input boxes or using flash?
>
> Thanks!
--
PHP General Mailing
This is what I've used in the past, it's pretty much compatible with all of
the major browsers that users will use.
http://www.activewidgets.com/
-Brent
- Original Message -
From: "blackwater dev" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 08, 2004 1:15 PM
Su
I'm not new to PHP, but I have very little experience with arrays. I have comma
separated values in a database, that I need to pull out, explode into an array, then
check certain checkboxes if they exist.
I have two variables:
$x = "2,10,34"
$y = "28,15,16"
I need to explode them both, so tha
HI,
--- Matt Winslow <[EMAIL PROTECTED]> wrote:
> I'm not new to PHP, but I have very little
> experience with arrays. I have comma separated
> values in a database, that I need to pull out,
> explode into an array, then check certain checkboxes
> if they exist.
>
> I have two variables:
>
> $
* Thus wrote Matt Winslow:
> I'm not new to PHP, but I have very little experience with arrays. I have comma
> separated values in a database, that I need to pull out, explode into an array, then
> check certain checkboxes if they exist.
>
> I have two variables:
>
> $x = "2,10,34"
> $y = "28,
* Thus wrote zareef ahmed:
> HI,
>
> >
> > I have two variables:
> >
> > $x = "2,10,34"
> > $y = "28,15,16"
> >
> > I need to explode them both, so that the values of
> > $x are they keys, and the values of $y are the
> > values. Is that possible?
>
> yes see array_combine function
>
> http:
I read in the docs several comments that $_SESSION is slower that other
arrays. One
comment even had benchmarking info indicating it was about half as
fast. I don't understand
why this should be. Isn't $_SESSION just a normal super global array
like any other, except
that it get serialized and wri
BlueShoes: PHP Framework and CMS
http://www.blueshoes.org/en/javascript/
Regards,
Nadim Attari
Alienworkers.com
"Blackwater Dev" <[EMAIL PROTECTED]> a écrit dans le message de
news:[EMAIL PROTECTED]
> Does anyone have a nice clean way to provide data grids with php short
> of simply creating a b
94 matches
Mail list logo