Alvaro Martinez wrote:
Hi!
I'm a beginner. I want to redirect from one php page to another php page and
I dont know what method to use.
How can I do it?
Thanks
http://php.net/header says
http://www.php.net/";); /* Redirects the browser to the php website */
exit;/* make
while(ReadFile(hStdoutR,buf,sizeof(buf),&dwRead,NULL) && dwRead != 0){
printf(buf);
}
printf("|\n\nEND");
CloseHandle(hStdoutR);
getch();
return 0;
}
--
Thanks!
Jasper
ApexEleven
--
------>>
Jasper Howard :: Database Administration
Velocity7
1.530.470.9292
http://www.Velocity7.com/
<<--
"Aaron Todd" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have
i found this a bit confusing, why were you putting $$ infront of a variable
instead of just $?
--
-->>
Jasper Howard :: Database Administration
Velocity7
1.530.470.9292
http://www.Velocit
good to know
--
-->>
Jasper Howard :: Database Administration
Velocity7
1.530.470.9292
http://www.Velocity7.com/
<<--
"M. Sokolewicz" <[EMAIL PRO
;"');
readfile($dfile);
[/snippet]
NOTE: $dfile = path + file;
--
------>>
Jasper Howard :: Database Administration
Velocity7
1.530.470.9292
http://www.Velocity7.com/
<<--
yeah, but images with filenames something like this -> cool_image
v2.5.443.jpg
--
-->>
Jasper Howard :: Database Administration
Velocity7
1.530.470.9292
http://www.Velo
o, if you
include a file that has session_start() in it you'll get that warning too.
--
------>>
Jasper Howard :: Database Administration
Velocity7
1.530.470.9292
http://w
is this php script at the top of the page, there is nothing before it?
--
-->>
Jasper Howard :: Database Administration
Velocity7
1.530.470.9292
http://www.Velocit
if you're not getting any html after your php script, then there's a
different problem. I do the same thing and all I use is:
<!--
window.close();
//-->
and I've never had a problem with it not closing...
--
-----
that it'll work, it won't take any more time to load
either because you're using the header() function to forward, so the user
has to download the same amount of info.
--
------>>
Jasper Howard :: Database Adminis
is this a joke?...
--
-->>
Jasper Howard :: Database Administration
Velocity7
1.530.470.9292
http://www.Velocity7.com/
<<--
"Paypal Services" <[E
do you have a sendmail program on your testing server?
--
-->>
Jasper Howard :: Database Administration
Velocity7
1.530.470.9292
http://www.Velocity7.com/
<<--
&
the checkpermission(); function should be run before php can pharse anything
farther down the script, try putting an exit; after the header() statement.
--
-->>
Jasper Howard :: Database Administration
Velocity7
1.530.470.929
i use apache on my windows xp machine and have never gotten around to
settings up any kind of sendmail program, I'm pretty sure you have to
download one or atleast its some extra configuration.
--
-->>
Jasper Howard
hosting services (in my experience) so its hard to really mess up.
--
-->>
Jasper Howard :: Database Administration
ApexEleven Web Design
1.530.559.0107
http://www.ApexElev
<!--
location.refresh(true);
//OR
parent.document.location='LOCATION HERE';
//-->
--
------>>
Jasper Howard :: Database Administration
ApexEleven Web Design
1.530.559.0107
htt
so change parent to the name of the frame
--
-->>
Jasper Howard :: Database Administration
ApexEleven Web Design
1.530.559.0107
http://www.ApexEleven.com/
<<-
yeah, im pretty sure that's spanish
--
-->>
Jasper Howard :: Database Administration
ApexEleven Web Design
1.530.559.0107
http://www.ApexEleven.com/
<<--
try sorting in the query, it'll
make your life a lot easier.
anyway, hope that helps,
--
-->>
Jasper Howard :: Database Administration
ApexEleven Web Design
1.530.559.0107
http://www.ApexEleven.com/
<<--
t; > He's on a Windows system, that won't work. As a side note, on *nix
> > based systems, rm -rf would be better suited so that it doesn't
> > prompt for conformation on each file/directory.
> >
>
> --
> PHP General Mailing List (http://www.php.net/
7;t know what to supply for the
> > destination path. In asp I used server.mappath, but I'm new to php.
> >
> > Thanks,
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
<<--
$base_dir = $_SERVER['document_root']
On Sat, 25 Sep 2004 14:17:16 -0700, Jasper Howard <[EMAIL PROTECTED]> wrote:
>
>
> On Sat, 25 Sep 2004 14:29:27 +0200, M. Sokolewicz <[EMAIL PROTECTED]> wrote:
> > $path = getcwd();
> >
> >
> > Amc wro
g
download of the file) but I think it should just work, but there's
always the chance I messed it up somehow.
hope that works for someone,
-Jasper Howard
On Mon, 27 Sep 2004 19:05:16 -0500, Jim Grill <[EMAIL PROTECTED]> wrote:
> > 1) there is no need to fiddle with directory permi
dcdo 4-dcha
> 28013 Madrid-Spain
> Tel : 00-34-913604039 Ext 216
> Fax : 00-34-915228673
> email: [EMAIL PROTECTED]
> Web : http://www.hotelkey.com
> http://www.destinia.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http:
le use more space in the db or as a file itself
> (Do Not count the extra data that one would store in the db along with
> the image... ie. ID number)
>
> Thanks
>
>
>
>
> On Thu, 30 Sep 2004 09:55:30 -0700, Jasper Howard <[EMAIL PROTECTED]> wrote:
> >
ite
> the comparison callback function that you pass to uasort().
>
> pb
>
> --
> paul bissex, e-scribe.com -- database-driven web development
> 413.585.8095
> 69.55.225.29
> 01061-0847
> 72°39'71"W 42°19'42"N
>
> --
> PHP General Mailing List
to the
$menu['Title'] key. The first key you put into array_multisort() is
the one that the rest get sorted by.
-Jasper Howard
On Fri, 1 Oct 2004 22:44:50 -0400, Paul Bissex <[EMAIL PROTECTED]> wrote:
> On Fri, 1 Oct 2004 19:12:30 -0700, Ed Lazor <[EMAIL PROTECTED]> wrote:
ite116/web/test/test.php on line 5
>
> Why can't I call the function defined in the lib file?
>
> Thanks
> AW
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
<<
Jasper Howard - Database Administration
ApexEleven.com
530 559 0107
--->>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
But I need it to sort on the last data column - distance.
>
> I think I've been staring at this too long. Would appreciate any
> guidance.
>
> Thanks
> Kevin
>
> --
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit
Ethan,
A return code of not 0 means an error occured.
Probably /var/www is not writable. Test that one by doing this:
$a = is_writable("/var/www);
var_dump($a);
If that says anything else than (boolean) TRUE, you can't write in the
directory.
Sincerely,
Jasper Kips
Op 27 aug. 2013
ary.
Only thing is, that you would have very wide tables (I don't know how wide
MySQL can go).
Creating tables on-the-fly as necessary seems to be something you could
consider,
but again I stress that I don't know performance details. There might be
something quicker.
So far for my
you, everyone for your help.
>
> Curtis
A small remark:
I think it is good programming practice to place such static if-clauses before
the while statement.
This prevents a lot of redundant checks and thus saves time.
Best regards,
Jasper
--
PHP Ge
t:
Please correct
This Authorization Proceedure
to
This authorization procedure
or, if you must,
This Authorization Procedure
Otherwise I can only encourage such an initiative because it can help out
and save time.
Best regards,
Jasper Mulder
ammer. I stress I have quite some experience with the old,
procedural PHP.
Anybody interested?
Best regards,
Jasper Mulder
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Extract, $nTime);
> > echo $token;
>
> There are two cases:
> 1. You made a typo and meant 'echo $sToken;' on the above line instead
> 2. You omitted the part where $token is defined and used
>
> > [More code that seemed fine]
> >
> > --
> > Rega
> From: shreya...@gmail.com
> To: lord_fa...@hotmail.com
> Subject: Re: [PHP] Urgent help - Token Generation code!
> Date: Sat, 28 May 2011 04:15:59 +0530
>
> Jasper,
>
> Tried echoing $sToken but wouldn't work.
>
> Re
s you made. As was stated before, people may be offended and thus it
makes
the chances of you solving your problem fast smaller.
As a last, please refrain from bombarding the list with small posts. Please
think a bit
before posting your questions. Thanks in advance.
Best regards,
Jasper Mulder
e that this post has only extended the list by one.
Let us get over it and get back to discussing what we all *do* like: PHP.
Best regards,
Jasper Mulder
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ages associated to it
>
> hope i make sense
>
> kind regards
>
> Adam
Suppose that $arrays is your array of arrays.
Then is
$res = array();
foreach($arrays as $item){
$res[$item['cat_name']][] = $item;
}
what you are looking for?
Best regards,
Jasper Mulder
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
y.
As for the readers of this list, I am sorry to go into this non-PHP subject,
but I couldn't really let this pass.
Best regards,
Jasper
fferent results in case of overflow. However as python supports
arbitrary integer arithmetic, overflows should not occur.
At the moment, still overflow errors seem the most likely explanation. Does
your table consist of very large values (occasionally perhaps)?
Could you give us an example?
Best regards,
Jasper
his appears like a typical JavaScript thing to me. If you insist on not using
JS, you could probably use AJAX+PHP to do it.
However, JavaScript appears to me as the more convenient method.
Regards,
Jasper
gt;
> Chris
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
The problem is with the mysql_real_escape_string closing parenthesis position,
instead of
($_GET['id']."'");
it should be
($_GET['id'])."'";
HTH,
Jasper
clusion. (I included my experiment below.)
Is the idea that those two are equivalent wrong?
Am I doing something wrong?
Is something strange going on?
Can anyone clear this issue up for me?
Thanks,
Jasper
---
The experiment:
On a machine where the include_path is ".", I had the
e field type from TINYINT to SMALLINT or MEDIUMINT. UNSIGNED
TINYINT only has a range of 0 thru 255.
Regards.
Jasper Bryant-Greene
http://fatal.kiwisparks.co.nz/
smime.p7s
Description: S/MIME Cryptographic Signature
My question is simple - I want to install Squirrelmail on my webserver,
but I can't chmod or chown the data directory. Is there any way to stop
Squirrelmail from trying to write to the directory without limiting
functionality too much, or is there a way to allow it to write without
using chmod,
mail() returns true if the email delivery worked, false if it failed.
However, occasionally the email delivery will work, but will fail at a
later stage (a "delivery failed" message will be returned to the sender)
- you can check for this by having a script check the mailbox that was
sent from,
iously you will need to change that to suit your site, and you may
want to add some security to the $_GET variable being passed to the
MySQL server to prevent attacks. Other than that, hope this helps.
Regards
Jasper Bryant-Greene
Cabbage Promotions
http://fatalnetwork.com/
[EMAIL PROTECTED]
Er
No, that will work fine. Just having ? at the end of the URL just means
an empty querystring - same as if you had nothing there.
Regards
Jasper Bryant-Greene
Cabbage Promotions
http://fatalnetwork.com/
[EMAIL PROTECTED]
Gerard Samuel wrote:
Im currently modifying templates to include the SID
this case 'HERE') and then end with that identifier and a semicolon.
It's just a way for delimiting strings, so you need to look for what's
causing that unexpected $ just as if you were looking at a "" string. I
can't help you any more without a code snipp
1. You'd want to do input checking on the file GET variable to ensure
no-one could get hold of stuff they shouldn't.
2. Make sure you don't output anything else in the file that outputs the
thumbnail, or it won't work.
HTH -- if you need more specifics let
to protect against SQL Injection is:
for string data, mysql_real_escape_string() or your database's equiv.
function
for all other data, type-check it with intval(), floatval() etc.
--
Jasper Bryant-Greene
Cabbage Promotions
www:www.cabbage.co.nz
email: [EMAIL PROTECTED]
phone: 021 232
se) {
unset($cart_arr[$array_key]);
}
Best regards
--
Jasper Bryant-Greene
Cabbage Promotions
www:www.cabbage.co.nz
email: [EMAIL PROTECTED]
phone: 021 232 3303
Public Key: Jasper Bryant-Greene <[EMAIL PROTECTED]> keyID 0E6CDFC5
Fingerprint: 2313 5641 F8F6 5606 8844 49C0 1D6B 29
ed it also occurs on my
other servers. The thing is, it causes some big problems with
mod_rewrite. For example:
[snip]
I think you'll find that the MultiViews Apache option is enabled.
Create an .htaccess file in your web root and put
Options -MultiViews
in it.
Best regards
--
Jasper Bryant
but it might be better to figure out an alternative way
to do it without requiring the second call back to the server. I can't
really help any more without more specifics (maybe some code).
HTH
--
Jasper Bryant-Greene
Cabbage Promotions
www: www.cabbage.co.nz
email: [EMAIL PROTECTED]
phone: 021
rly braces {} instead.
Square brackets [] for arrays, curly braces {} for string offsets.
--
Jasper Bryant-Greene
Cabbage Promotions
www: www.cabbage.co.nz
email: [EMAIL PROTECTED]
phone: 021 232 3303
public key: Jasper Bryant-Greene <[EMAIL PROTECTED]> keyID 0E6CDFC5
fingerprint: 2313 564
better just to think up an alternative way to do it though.
Best regards
--
Jasper Bryant-Greene
Cabbage Promotions
www: www.cabbage.co.nz
email: [EMAIL PROTECTED]
phone: 021 232 3303
public key: Jasper Bryant-Greene <[EMAIL PROTECTED]> keyID 0E6CDFC5
fingerprint: 2313 5641 F8F6 5606 8844 4
Jasper Bryant-Greene wrote:
[snip]
function setcookie2($name, $value="", $expire="", $path="", $domain="",
$secure=false) {
$_COOKIES[$name] = $value;
return setcookie($name, $value, $expire, $path, $domain, $secure);
}
[snip]
Sorry, that should
Rasmus Lerdorf wrote:
Jasper Bryant-Greene wrote:
You can't access string offsets with square brackets [] in PHP5. You
need to use curly braces {} instead.
Not sure where you got that idea. This is not true.
-Rasmus
Actually, it is. See the following URL:
http://www.php.net/manu
Rasmus Lerdorf wrote:
Jasper Bryant-Greene wrote:
You can't access string offsets with square brackets [] in PHP5. You
need to use curly braces {} instead.
Not sure where you got that idea. This is not true.
-Rasmus
Actually, it is. See the following URL:
http://www.php.net/manu
/www.server.com/file.html' );
but only if you really trust his server to never get compromised, as
that would allow an attacker to replace content on your website with
anything they liked.
Jasper
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is the file saved in UTF-8 encoding (the PHP script itself)?
Jasper
Andy wrote:
This is my code:
";
echo utf8_encode ($str);
?>
öüééééÉõõÕÕ
I tried all the ways:
and
etc.
The first echo... is not showed correctly.
The second (with the encoding
If you're on *nix:
man iconv
otherwise, I have no idea, sorry.
Jasper
Andy wrote:
No it was not. If I save it with UFT8 encoding it works well.
So, do I have to convert all the files to UTF8 encoding?
Is there an easy way to do that?
- Original Message - From: "Jasper Bry
vname')WHERE id
='$user_id')";
Also - it looks like an UPDATE might be more suitable for what you want,
given that you've got a WHERE clause tacked on the end. Google for a
good SQL tutorial; the PHP mailing list is not the place to learn SQL :)
Jasper
--
PHP Gener
}
$r = 0;
while ($row = mysql_fetch_array($result))
{
echo ("Blah blah blah");
$r++;
}
Those two blocks of code are for all intents and purposes identical, and
indeed probably end up as exactly the same opcodes.
Jasper
--
PHP General Mailing List (http://w
There is no way using the core language. You can, however, use the
runkit function if you absolutely have to:
http://php.net/runkit_constant_remove
Jasper
Suhas wrote:
Hi,
How do I unset a defined variable.
e.g.
define('AA',1);
unset(AA) // gives error
any suggestions!
the
previous post? Are you running a version of PHP that supports them?
Jasper
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
From http://php.net/addslashes :
"Having the PHP directive magic_quotes_sybase set to on will mean ' is
instead escaped with another '."
Jasper
Chris Boget wrote:
Can someone explain something to me:
$string = "Bob's carwash's door";
echo 'a
. Seriously.
Jasper
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. "\n";
?>
--
Jasper Bryant-Greene
General Manager
Album Limited
http://www.album.co.nz/ 0800 4 ALBUM
[EMAIL PROTECTED] 021 708 334
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
this->Location->GetMap())->GetUrl() .. which
doens't work.
In short, no. That syntax was introduced in PHP5. For OO work, I would
strongly recommend upgrading to PHP5 as there are many other important
OO features that simply are not available in PHP4.
--
Jasper Bryant-Greene
General
27;])) {
unset($tc->arr['b']);
}
you just removed b from the array under 'arr' in the $vars member array.
//var_dump is only to see results of above
var_dump($tc);
this should show something equiv. to:
array(
'arr' => array(
e 'a' key inside that array. Or at least it should, dammit.
--
Jasper Bryant-Greene
General Manager
Album Limited
http://www.album.co.nz/ 0800 4 ALBUM
[EMAIL PROTECTED] 021 708 334
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jochem Maas wrote:
Jasper Bryant-Greene wrote:
Jochem Maas wrote:
I think its a misunderstanding on the one side and a limitation on
the other,
you can't use overloading directly on items of an overloaded array e.g:
echo $tc->arr['a']
this is triggers a call to __g
ersion="1.0" encoding="ISO-8859-1" ?>';
would work just as well and is a hell of a lot easier to look at. That's
assuming you actually want it to appear on the page for the user to see,
if you want the browser to interpret it you'll have to change the <
a
In other words, if you want Firefox/Opera/etc to display something, you
have to output something. Strange, that. :P
Jasper
Anthony Ettinger wrote:
Then it's workingFireFox, et. al. show you the server 404, IE on
the otherhand has it's own 404 error page (for those newbies who
with PHP 5.1.
If you really want to get the default Apache error handler to appear
then either readfile() it or redirect to it.
Jasper
Anthony Ettinger wrote:
well, you typically would redirect 404 to something like foo.com/404.html
Otherwise, it's whatever your server (apache/IIS) h
rcard's requirements. :)
--
Jasper Bryant-Greene
General Manager
Album Limited
http://www.album.co.nz/ 0800 4 ALBUM
[EMAIL PROTECTED] 021 708 334
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Chris wrote:
If they're accessing the same database you don't need to
disconnect/reconnect. Different db's - well, yeh you don't have a choice.
Of course you do. mysql_select_db() or whatever it's called. Or just
issue a USE [databasename] query. No need to reco
y code (have you considered an
array? what is the point of all those variables if they all hold the
same value?), replace all of those '&&' with '=' and you will be fine.
PHP evaluates right-to-left and the result of an assignment is the value
that was assigned, so th
Jim Lucas wrote:
Jasper Bryant-Greene wrote:
Jochem Maas wrote:
[snip]
you guess wrong :-) .. I couldn't resist testing it:
php -r '
class T { private $var = array();
function __set($k, $v) { $this->var[$k] = $v; }
function __get($k) { var_dump($k); }
}
$t = new T;
$t->a
e-insensitive flag, since there's no characters in your pattern).
The strpos() solution above is much better and faster in this case, though.
--
Jasper Bryant-Greene
General Manager
Album Limited
http://www.album.co.nz/ 0800 4 ALBUM
[EMAIL PROTECTED] 021 708 334
--
PHP Ge
connect and disconnect from the
same database multiple times within the same request?
In my experience, connecting to the database takes up more than half of
the execution time of the average database-driven PHP script (I said
*average*, there are exceptions). You don't want to be doing it
any
problems doing that. I don't see it as sloppy programming, it is a
documented feature that PHP closes resources such as database
connections at the end of the script.
But, as has been said, each to their own.
--
Jasper Bryant-Greene
General Manager
Album Limited
http://www.album.co.nz
Robert Cummings wrote:
On Sat, 2006-04-01 at 20:48, Jasper Bryant-Greene wrote:
Yeah, e.g. I have a database objects layer that means I only write SQL
in classes, everything else is just calling object methods. I create the
database object at the start of every script but that doesn
Robert Cummings wrote:
On Sat, 2006-04-01 at 21:39, Jasper Bryant-Greene wrote:
Robert Cummings wrote:
There's smart lazy programming, and sloppy lazy programming. I don't
trust anything magical in PHP. Most of us are familiar with the magic
quotes and global vars fiascos *LOL*. B
John Nichel wrote:
Jasper Bryant-Greene wrote:
I never close connections; PHP does that for me and has never caused
any problems doing that. I don't see it as sloppy programming, it is a
documented feature that PHP closes resources such as database
connections at the end of the s
a transaction. That will
hold up certain other queries. But that's at a whole other layer.
--
Jasper Bryant-Greene
General Manager
Album Limited
http://www.album.co.nz/ 0800 4 ALBUM
[EMAIL PROTECTED] 021 708 334
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
hi, is mktime() actually faster than date() or any other date functions?
tnx.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ashley M. Kirchner wrote:
>I'm having a small problem with SAFE MODE and PEAR that I'm unsure
> how to solve:
>
>[error] PHP Warning: raiseerror(): SAFE MODE Restriction in effect.
> The script whose uid is 524 is not allowed to access
> /usr/lib/php/PEAR.php owned by uid 0 in /path/to/s
safe to
leave them out, in fact the body of the message (from BEGIN:VCALENDAR to
END:VCALENDAR) is likely to be all that you need.
Google for a VCalendar spec.
Jasper
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
bruce wrote:
> i'm playing around with css (classes/ids/etc...) does anybody here
> have any experience with this or could answer a few questions??
Email me directly with your issues and I'll try to help you sort it out.
Cheers,
Jasper Bryant-Greene
--
PHP General Ma
cchereTieShou wrote:
> You can actually try to use this to verify the problem:
>
> echo ' e
> What you get? I got
> Quite confusing. Anyone think this is a bug or something I missed?
Are you viewing this via a web server? It's probably returning
content-type text/html, which means that you migh
so DISTINCT isn't a function. The expression should be:
SELECT DISTINCT query_expr ...
not
SELECT distinct(query_expr) ...
Jasper
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ke this:
or htmlspecialchars the string, like this:
Or just view source in your browser to see the raw string.
Jasper
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Kevin L'Huillier wrote:
> On 26/06/05, Jasper Bryant-Greene <[EMAIL PROTECTED]> wrote:
>
>>Kevin L'Huillier wrote:
>>
>>>Could you copy the relevant code into a message?
>>
>>Sure, either set the content-type to text/plain (to see the ra
se MySQL native
functions to do a lot of the calculation.
Jasper
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ou should be using a MySQL date field. Have a look
at the MySQL manual for the corresponding functions to the above --
there's probably a quicker way with MySQL too.
Jasper
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ils);
foreach($itinerary as $item) {
$item = explode(',', $item);
$path[] = array(
'location' => $item[0],
'country' => $item[1],
'datetime' => $item[2]
);
}
That's really just a matter of preference though.
Jasper
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 408 matches
Mail list logo