{ $checked_per = ; }
}
hope that helps you out
Joe
On 6/16/05, Jack Jackson [EMAIL PROTECTED] wrote:
hi,
I'm severely frustrated and perhaps you can help with what I have done
wrong. The checkboxes I use to populate an intersection table work to
add the records, and now I am trying to update
Hi, After a disastrous first attempt (which uploaded images but only by
chance) it was suggested I rework the entire thing. This one seems to
check the file against getimagesize and if that doesn't prove false,
check the type and make the extension then rename the file. But the
moving part is
Okay, I started seeing some of my mistakes.
I am still having a great deal of trouble:
newfile returns: 0fdae2e9e6aa43f067a9dd780a5a36a6.jpg
image_file returns: images/jpg/test/0fdae2e9e6aa43f067a9dd780a5a36a6.jpg
images/jpg/test is set to 777 but I still get (Could not move file to
Richard Davey wrote:
Hello Jack,
Wednesday, June 15, 2005, 5:38:11 PM, you wrote:
JJ newfile returns: 0fdae2e9e6aa43f067a9dd780a5a36a6.jpg
JJ image_file returns:
JJ images/jpg/test/0fdae2e9e6aa43f067a9dd780a5a36a6.jpg
JJ images/jpg/test is set to 777 but I still get (Could not move file
Yes, Jason,
Those did it!
Thanks so much for the help!
Jason Wong wrote:
On Thursday 16 June 2005 00:38, Jack Jackson wrote:
//try to get image size; this returns false if this is not an actual
image file.
$image_test = getimagesize($local_file);
if ($image_test !== false
the output of art_id:
$checkbox_media[] = input type='checkbox' name='media_types[]'
value='{$media_rows['media_id']}'
.(rows['art_id']==$cartoon['art_id']?
checked:)./{$media_rows['media_name']} ;
HTH
kgt
Jack Jackson wrote:
Hi,
With your help I got some checkboxes generated
:
media_id art_id
31
41
51
What I want to do is say For every media_id which is associated with
$cartoon in the table media_art, check the box; for all others leave
them unchecked.
How can I do this?
Thanks very much in advance,
Jack
--
PHP
Jochem Maas wrote:
jack jackson wrote:
Hello,
Recently with the help of several of you I got a script working. It's
complex, I'm still new, some parts of it came from other authors and I
adapted it, and generally despite the fact that it seems to work
perfectly at this point, I am certain
Hello,
Recently with the help of several of you I got a script working. It's
complex, I'm still new, some parts of it came from other authors and I
adapted it, and generally despite the fact that it seems to work
perfectly at this point, I am certain that there is bloat, repetition
and simply
Thanks, Chris, I see what you're getting at. I'm not sure I
understand what you mean about looping through the array in the area
you specified- isn't that just the definitions of the vars? Or is that
what you meant and I'm missing the point!!?
On 6/13/05, Chris Ramsay [EMAIL PROTECTED] wrote:
all the files in that table, and only takes them
out of the table if they are successfully deleted.
Course, you then want to be sure you have UNIQUE filenames so you don't
delete a good file later.
On Fri, June 10, 2005 4:03 pm, Mister Jack said:
Hi,
I having a problem at the moment
Hi,
I having a problem at the moment, I open a file, try to write in it,
and then remove the file if the write goes wrong (if write count != of
my initial buffer length). But I still get some empty file (and then a
blank page). Could possibly fopen (with a 'wb' flag, and under freebsd
4.11)
Hi,
I am trying to make one form on a single page insert info into three
tables; query 1 creates an art_id (auto-increment) for the newly
created row in table art;
query2 creates a media_id in table media.
Then I need to get the art_id and media_id created by the first two
queries to insert
Criticalcode
w: http://www.criticalcode.com
p: 858.733.0160
e: [EMAIL PROTECTED]
-Original Message-
From: jack jackson [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 09, 2005 4:06 PM
To: php-general@lists.php.net
Subject: [PHP] Three queries. One Form.
Hi,
I am trying to make one form
Thanks for this Richard!
On 6/9/05, Richard Davey [EMAIL PROTECTED] wrote:
Hello jack,
Friday, June 10, 2005, 12:05:35 AM, you wrote:
jj I am trying to make one form on a single page insert info into three
jj tables; query 1 creates an art_id (auto-increment) for the newly
jj created
HI I have a form which pulls values from the db, and thanks to help
from the irc chat, hopefully makes any checkboxes which are selected
part of an array to be gotten in post:
while ($media_rows = mysql_fetch_assoc($media_result)){
$checkbox_media[] = input
to check its
actually set before you start inserting.
Richard Davey wrote:
Hello jack,
Friday, June 10, 2005, 2:16:06 AM, you wrote:
jj $query = INSERT INTO media_art (media_art_id,art_id, media_id)
jj VALUES ('',' . $art_id . ',' . $media_types[2]. ');
jj repeat
with addrecord: $query\r\n$errMsg\r\n,
E_USER_ERROR);
} else {
$msgText = 'trtdstrongYour record was
saved!/strong/td/tr';
}
On 6/9/05, Richard Davey [EMAIL PROTECTED] wrote:
Hello jack,
Friday, June 10, 2005, 2:16:06 AM, you wrote:
jj $query = INSERT INTO media_art
Matt Babineau wrote:
Hi all -
I've got a great html invoice that prints like crap because of my user of
background images and foreground images. Does anyone have any good
suggestions other than turn on images in IE to get this thing to print the
graphics? Is there a good way I could convert the
Matt Babineau wrote:
Hi all -
I've got a great html invoice that prints like crap because of my user of
background images and foreground images. Does anyone have any good
suggestions other than turn on images in IE to get this thing to print the
graphics? Is there a good way I could convert the
Clive Zagno wrote:
what php GUI editors do you recommend. Ive used bluefish before, any
other recommendations, thanks
clive
I love Jedit http://www.jedit.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
'Bags of NY/a | a href='7'Dogs of NY/p
?
Thanks in advance,
Jack
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Brent Baisley wrote:
You're close, but you need to group your data on the series_id first.
You can do that by looping through your array and creating another array
using series_id as the array key. You'll end up with a list of arrays
named after the series_id.
foreach( $result_set as
'', '', ''', '', '' into the
HTML equivilant. And yup, you should do this for all *ML pages as long
as the thing being printed is not part of the mark-up syntax.
Jack Jackson wrote:
Rory Browne wrote:
On 6/4/05, Jack Jackson [EMAIL PROTECTED] wrote:
Hi, Rory
Rory Browne wrote:
I think you have the idea. The 's
This is something dumb I am doing but:
Trying to pull all names of publishers in db. This sql:
SELECT art.art_id,art.publisher_id,publisher.publisher_name,
FROM art
LEFT JOIN publisher
ON publisher.publisher_id=art.publisher_id
pulls (in phpmyadmin) four rows:
artID pubID Publisher_name
Maas wrote:
Jack Jackson wrote:
This is something dumb I am doing but:
Trying to pull all names of publishers in db. This sql:
its a mysql question in disguise, maybe...:
SELECT DISTINCT art.art_id,art.publisher_id,publisher.publisher_name
FROM art
LEFT JOIN publisher
M. Sokolewicz wrote:
Jack Jackson wrote:
Thanks for all the replies. Jochem, thank you for this code, which
will take me all night to understand (though I bet it works). I also
note that SELECT DISTINCT worked here, too
Also as many of you noticed before me, the art_id
a
link to the Sneezy Acres Tribune only to arrive at the next page and
see, There are no images associated with this publisher.
Jochem Maas wrote:
Jack Jackson wrote:
M. Sokolewicz wrote:
Jack Jackson wrote:
Thanks for all the replies. Jochem, thank you for this code, which
will take me
to the Sneezy Acres Tribune only to arrive at the next page and
see, There are no images associated with this publisher.
Jochem Maas wrote:
Jack Jackson wrote:
M. Sokolewicz wrote:
Jack Jackson wrote:
Thanks for all the replies. Jochem, thank you for this code, which
will take me all
everyone has offered up to now and hope I
did not offend - I was trying in my last post to indicate that I was
an idiot, and it appears I've come off as arrogant. I promise it was not
my intent!
Jochem Maas wrote:
Jack Jackson wrote:
M. Sokolewicz wrote:
Jack Jackson wrote:
Thanks
Hi,
If I want to make a link to a URL which includes some GETs can I just do:
a href='{$_SERVER['PHP_SELF']}?p={$p}c={$s}' ... etc etc
or must I escape the ampersand somehow?
TIA,
--Jack
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
['art_title']}\img class='sidebar-img'
src='{$image_dir}{$sidebar['art_thumbnail']}' width='50' height='60'
border='0' alt=\{$sidebar['art_title']}\ //a;
}
?
Thanks in advance!
On 6/4/05, Jack Jackson [EMAIL PROTECTED] wrote:
Hi,
If I want to make a link to a URL which includes some GETs
Murray @ PlanetThoughtful wrote:
If I want to make a link to a URL which includes some GETs can I just do:
a href='{$_SERVER['PHP_SELF']}?p={$p}c={$s}' ... etc etc
or must I escape the ampersand somehow?
Depends very much on the document type of your page. Valid XHTML
(transitional, at
Rory Browne wrote:
On 6/4/05, Jack Jackson [EMAIL PROTECTED] wrote:
Hi, Rory
Rory Browne wrote:
I think you have the idea. The 's are used to seperate the various
variables. If you want to set $p to something like 'Tom Jerry' then
personally I'd do something like:
?php
$p = Tom Jerry
asinning wrote:
This is my first post to this group. I've been trying to figure this
out on my own, but I keep running into complications, so I've decided
to get some help. Much thanks for any help!
I've been writing php server application for a couple of years, but now
I'm turning my
I'd love some help with http://hashphp.org/pastebin?pid=3443 if anyone
can...
Basically I want to make it so that, if the get in the url specifies no
query or a query to a nonexistent row, send to vanilla index. If url
specifies c= then set $c=c and use the number to build the mysql query;
Has anyone else noticed significant delays in messages getting posted?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Donald wrote:
On 6/2/05, Jack Jackson [EMAIL PROTECTED] wrote:
I'd love some help with http://hashphp.org/pastebin?pid=3443 if anyone
can...
Basically I want to make it so that, if the get in the url specifies no
query or a query to a nonexistent row, send to vanilla index. If url
specifies c
in advance.
Greg Donald wrote:
On 6/2/05, Jack Jackson [EMAIL PROTECTED] wrote:
I'd love some help with http://hashphp.org/pastebin?pid=3443 if anyone
can...
Basically I want to make it so that, if the get in the url specifies no
query or a query to a nonexistent row, send to vanilla index
Greg, thank you for all this... See below
Greg Donald wrote:
On 6/2/05, Jack Jackson [EMAIL PROTECTED] wrote:
Thanks for the reply, Greg,
I see how that is useful. I am confused as to how I would implement it
here. Please bear with me as I am a newbie and am now perhaps more
confused than
so
that it appears as
[art_id 1] comprises Ink, watercolor.
Thanks in advance,
Jack
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi, dumb config issue.
I'm putting a php_value include_path statement in an .htaccess file
php_value include_path .:/home/user/public_html/dis/admin/:/home/nick/
php_value auto_prepend_file /home/user/public_html/dis/admin/wcsconf.php
and getting a 500 Server Error. Apache logs say,
Sorry folks. Figured it out: in httpd.conf it wasn't in the first or
second AllowOverride section (which I had set to All and that's why I
was so gobsmacked) BUT it was in the Control access to UserDir
directories section.
Thanks everyone!
--
PHP General Mailing List (http://www.php.net/)
To
Hi,
I'm having a bit of a problem.
I include a class in my script, the first time run fine, and then if I
change anything in my class, changes are not reflected on the browser,
it's like it's still the old class which is used. I've cleared the
browser cache, force a pragma no-cache, but no,
Mister Jack wrote:
Hi,
I'm having a bit of a problem.
I include a class in my script, the first time run fine, and then if I
change anything in my class, changes are not reflected on the browser,
it's like it's still the old class which is used. I've cleared the
browser cache
return_freedb_search($array)
{
global $freedb;
[snip]
$freedb-freedb_search($txt);
}
this is the one working.
On Sun, 20 Mar 2005 11:37:53 +, Mister Jack [EMAIL PROTECTED] wrote:
Ok, I've tried with a dummy class :
class dummy {
var $yank;
Function dummy
2005 20:45:55 +, Mister Jack [EMAIL PROTECTED] wrote:
there is no database connection involved here. if I displace the
$freedb = new freedbaxs();
inside the function it's works.
I should give a try with a dummy object. (but the constructor, only
initialize empty array)
On Sat, 19 Mar
Oops, sorry for double posting. my mistake. accept my apologies :-p
On Fri, 18 Mar 2005 23:51:15 +, pooly [EMAIL PROTECTED] wrote:
Hi,
I'm trying to use a global object (declared at a upper level), but all I
got is :
Call to a member function on a non-object in
The initialisation seems to be ok, since :
Function return_freedb_search($array)
{
global $freedb;
$freedb = new freedbaxs();
[snip]
$freedb-freedb_search($txt); //line 16...
}
works
and also
$freedb = new freedbaxs();
$freedb-freedb_search(ploplop);
Function return_freedb_search($array)
{
there is no database connection involved here. if I displace the
$freedb = new freedbaxs();
inside the function it's works.
I should give a try with a dummy object. (but the constructor, only
initialize empty array)
On Sat, 19 Mar 2005 21:17:02 +0200, BAO RuiXian [EMAIL PROTECTED] wrote:
Its sad too see so many programmers with so much time on their hands.
Stop wasting this valuable resource on something which came from a
parody site in the first place!
post your idiotic commentary somewhere else
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
this while reducing security concerns? (Ie:
reading ../../../../../etc/passwd )
--Jack
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
look at the bottom of the emails you are getting. Specially the last
paragraph may be of interest
snip
If you are receiving mail from one of the mailing lists, there should be
absolutely no reason that you would be unable to unsubscribe yourself from
the list, except for your ability to follow
can you maybe add some debug code to print out the value of $r just before
the if?
and just after the if
It looks at first glance to be correct, except you seem to be missing
opening TR (actually that may be your problem)
Jack
-Oorspronkelijk bericht-
Van: Aaron Wolski [mailto:[EMAIL
Hi
In your PHP.INI there is a section that will take care of that
;;
; Error handling and logging ;
;;
; error_reporting is a bit-field. Or each number up to get desired error
; reporting level
; E_ALL - All errors and
SBPXXA1 for $_POST[day]/
$_POST[month]/$_POST[year],50, 510);
/snip
TiA
Jack van Zanen
Thx
That was it.
Anybody have any ideas as to why this behaviour changed??
Regards
Jack
-Original Message-
From: Tom Rogers [mailto:[EMAIL PROTECTED]
Sent: Friday, November 05, 2004 12:46 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] PDFLIB error 2516
Hi
?php $_SERVER['PHP_SELF'] ? somehow keeps the $_GET variables. If you
change this to the real script name it seems to work
JACK
-Original Message-
From: Aalee [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 1:54 PM
To: [EMAIL PROTECTED]
Subject: [PHP] what am i doing wrong
Try
if($_POST[insert])
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, November 01, 2004 5:08 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Cannot retrive the data ???
Hi there,
Look at the following code please. I have a mysql db setup and apache
Hi Paul
Try print $instrument.number;
jack
-Original Message-
From: Paul Evans [mailto:[EMAIL PROTECTED]
Sent: Friday, October 29, 2004 9:45 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Parsing a concatenated variable and string?
Hi,
I am new to PHP and cant seem to find a way
?
THX
Jack
Thx,
Just joined today, should have looked thru the archives first though.
Jack
-Original Message-
From: Alex Hogan [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 28, 2004 3:31 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Regular expressions Q
ereg
anything. You made your own choice to use an
older browser.
His site works great with Mozilla 1.4 on Linux an Mozilla 1.7.1 on Windows
--
Jack The Rhino Gates, Registered Linux user #342662
Morning Star Communications, www.morningstarcom.net
Web Hosting, Site Design, Domain Registration,
VMware
is hopefully a benefit to all PHP programmers worldwide.
Respectfully,
--
Kristopher Spencer-Yates
Dev Mgr/Systems Administration
[EMAIL PROTECTED]
--
Jack The Rhino Gates, Registered Linux user #342662
Morning Star Communications, www.morningstarcom.net
Web Hosting, Site Design, Domain
to pick up
which is hopefully a benefit to all PHP programmers worldwide.
Respectfully,
--
Kristopher Spencer-Yates
Dev Mgr/Systems Administration
[EMAIL PROTECTED]
--
Jack The Rhino Gates, Registered Linux user #342662
Morning Star Communications, www.morningstarcom.net
Web Hosting, Site Design
will be easy to
figure out.
Every time I try to figure out these date time functions I get syntax errors.
I can't figure out what the PHP manual says about these functions.
Any body have any ideas?
Thanks,
--
Jack The Rhino Gates, Registered Linux user #342662
Morning Star Communications
this
is an internal network address, it is just for example.)
osCommerce gets more than just the numbers, they get the name as well I think.
Thanks for any insight on what they might be doing.
--
Jack Rhino Gates, Registered Linux user #342662
Morning Star Communications, www.morningstarcom.net
Web Hosting
Thanks for all the responses. Now I am satisfied and can leave this one
alone.
--
Jack Rhino Gates, Registered Linux user #342662
Morning Star Communications, www.morningstarcom.net
Web Hosting, Site Design, Domain Registration,
VMware Workstation Software and GSX Server Software
--
PHP
exist or is inactive.
--
Jack Rhino Gates, Registered Linux user #342662
Morning Star Communications, www.morningstarcom.net
Web Hosting, Site Design, Domain Registration,
VMware Workstation Software and GSX Server Software
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
I replaced this:
$address = getenv(REMOTE_ADDR);
with this
$hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']);
and now I am getting exactly what I was trying to get.
--
Jack Rhino Gates, Registered Linux user #342662
Morning Star Communications, www.morningstarcom.net
Web Hosting, Site
Sorry! Chris, I meant to send this to the list.
On Saturday 04 September 2004 10:17 pm, Chris Martin wrote:
Jack Gates wrote:
Every time I post to the list, I get an undeliverable on the address
below. Does any one else get this?
If this address is on the list can we get it removed
On Friday 03 September 2004 01:11 am, Sam Hobbs wrote:
Jack Gates [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Javascript can open a separate and specifically sized window from a web
page
when a user clicks on a link that might reference a note or picture etc.
Can
? If yes, will someone tell me where in the manual
on the php.net site I can find the information to learn how to do this?
I have been looking through the manual on the site but without knowing the
name or names of what I am looking for it is real hard to find it.
TIA,
--
Jack Rhino Gates
of the script - not necessarily whether the script is actually executing
as this user or not. I couldn't find this information in phpinfo().
Suggestions much appreciated!
Thanks!
Jack
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi,
i'm looking for a methode to use threads in php (on linux)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
i'm trying to access my netscape.com inbox with php,
so i started to decode the ssl session and got all sent packets
in plaintext, not really hard. but know i have to deal with encrypted
cookies and i have no clue what i have to do. i found no help
while i crawled the web for hours.
an
to an .htaccess file or the apache configuration file...
SetEnvIf User-Agent .MSIE.
nokeepalive ssl-unclean-shutdown
downgrade-1.0 force-response-1.0
--
Jack Baty
Fusionary Media - http://fusionary.com/
Weblog - http://jackbaty.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Not sure where to post this, but my company is looking to hire an
inhouse PHP programmer.
This could be part or full time depending on details.
We are not looking to contract an outside company ( doesn't work for us)
or
to get headhunters etc to call us. If you are a good PHP/MySQL/HTML
, as I'm using the same combination
as some of the folks reporting problems and have never seen it. Server is IIS
5 and PHP 4.3.3. It also doesn't seem to be a cookie or javascript issue
either.
Any thoughts?
--
Jack Baty
Fusionary Media - http://www.fusionary.com/
for life is not a paragraph
Hi,
i'm looking for a method to setup php to use
a proxy for all http/ftp connections.
i know it's possible to write a script
that can do this, but i need to setup php
itself for that (php.ini or something like this)
i tried different tools for that to tunnel all
connection but i didn't found
to the proxy server (which will have
to run on a different port). Most ISPs in asia resort to this tactic.
all the best
Jack Bauer wrote:
Hi,
i'm looking for a method to setup php to use
a proxy for all http/ftp connections.
i know it's possible to write a script
that can do this, but i need to setup php
Hi :),
i tried your code zu replace some parts of a string,
the problem is that this method only replaces when
there is only 1 word between stringA and stringB.
i got the problem that the part between both strings
is a dynamic one and much larger then 1 word.
i really tried to use the php manual
Hi Guys,
i wanna get some content from an other website with a sessionid and a
frameset.
my starting code looks like this:
?PHP
$fp = @fopen(http://domain.tld/frameset.php?q=string;, r);
if($fp){
while($in = fread($fp, 1024))
$reply .= $in;
echo ($fp\n\n);
Hi :),
i'm looking for a function to remove multiple dynamic parts
of a string, there are only the start and end strings given
(remove all between string A and string B)
got somebody a working procedure for that?
regards
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
);
}
This yeilds no cookie
I have also tried $_COOKIE[] as well
What am I doing wrong.
Thanks in advance,
Jack
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sorry,
No such thing as $_POST_VARS
Jack E. Wasserstein [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I am using the following code on the php form handler
if ($_POST[referdrremember] == true) {
setcookie(remailcookie,
$_POST_VARS[refdremail],time()+3600,/,wasserstein.com,0
This must be obvious, but I am having trouble displaying the results of a
form in the php handler.
Here is the php code in the handler:
?php
print the referring doctor is $referringdr .br\n;
print the referral date is $dateofreferral .br\n;
print the patients first name is $pfirst .br\n;
=555-imageupload=Submit=Submit
the referring doctor is .
the referral date is .
the patients first name is .
the patients last name is .
the patients telephone number is .
the referring doctor email is .
the upload is
Thanks,
Jack
--
PHP General Mailing List (http://www.php.net
!
Jack
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
you please give me some hints how
i can convert a text file to pdf file under windows environment?
Thx alot
Jack
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
!
is this possible?
Thx alot
Jack
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thank you very much!
David Nicholson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello,
This is a reply to an e-mail that you wrote on Sat, 26 Jul 2003 at
00:50, lines prefixed by '' were originally written by you.
Ouch!
Sometimes I wish global didn't exist
Yes, it can be better
//I have an array a[] like this:
?php
$a[]=0;
//How to define and use it in a function like this?
function myfunc(something)
{
echo $a[0]; //got error here Notice: Undefined variable:
}
?
//Thanks for any help.!!!
--
PHP General Mailing List (http://www.php.net/)
To
It works! Thanks guys!
David Nicholson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello,
This is a reply to an e-mail that you wrote on Fri, 25 Jul 2003 at
23:51, lines prefixed by '' were originally written by you.
[EMAIL PROTECTED]
Jack Lee:
//I have an array a[] like
datetime.
Thanks
Jim Lucas wrote:
what type of format does your column take?
date
time
datetime
??
Jim Lucas
- Original Message -
From: Jack Sasportas [EMAIL PROTECTED]
To: php [EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 2:11 PM
Subject: [PHP] Need a function to calculate time
I am trying to find a function or information on how to properly take a
start time and an end time from mysql timestamps in order to calculate
time taken.
So in theory $endtime-$starttime = timespent.
It would be great if this understood that 11:55 pm til 12:10am one day
apart only equals 15
Hello:
I am trying to use an ASCII/Txt database for a 'for sale by owner' site.
I need to figure out a way to remove any carriage returns entered into a
Comments string because \n is the record delimiter. I have tried the
nl2br() fundtion but that seems to ad the BR but doesn't remove the
\n.
Thank you very much.
Jack
André cupini wrote:
Part 1.1Type: Plain Text (text/plain)
Encoding: quoted-printable
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sun, 9 Mar 2003 14:56:31 -0500
Kelly Meeks [EMAIL PROTECTED] wrote:
Order Num Order Date Product CodeProduct Name
---
1 2003-01-01 12345
On Sun, 9 Mar 2003 21:18:33 +0100
Øystein Håland [EMAIL PROTECTED] wrote:
The problem is the cookie soon reaches the 4 kb limit, so I would like to
achieve the same using session. The trouble is, I don't know how to do. I
would appreciate any help that brings me closer to a solution on this.
101 - 200 of 625 matches
Mail list logo