php_value register_globals "0"
B i g D o g wrote:
> **
> This Message Was Virus Checked With : SAVI 3.59 May 2002
> Last Updated 8th July 2002
> **
>
>
effect for the duration of the
script, which is not going to work if the whole point of sessions is to
allow information to be preserved between pages (scripts). So, can ini_set
be used to set session.gc_maxlifetime in any meaningful way, and if not, is
there another way to do it?
JJ,
> i have this code snippet:
>
> if(isset($_POST['save'])){
> $query = 'INSERT INTO article_data VALUES (\'\', '.$_SESSION['uid'].',
> '.time().', \''.$_POST['title'].'\', \''.$_POST['description'].'\',
> '.$_POST['cat'].', \''.$_POST['text'].'\', 0)';
> $result = mysql_query($query) or
Tyler,
> If I have a field in my DB that can have 4 different answers, lets say
a,b,c
> and d. How can I count the number of each in that field. So if there are 4
> a's 1 b 0 c's and 12 d's how can I get php to count this?
You must combine IF() with SUM().
Break it down into smaller problems:
Now then, let's all play nicely together!
Dan: relevance
It is a PHP question because whereas the SQL query SELECT fred FROM tbl
produces an array element back in PHP such as $row[ "fred" ], this
convention/mapping comes well unstuck if you submit something like SELECT IF
( answer = 'a', TRUE, FA
Try this instead...
extension_dir = "C:/PHP/extensions/"
and ensure that the GD section is present in phpinfo() output.
Neil
Php wrote:
> **
> This Message Was Virus Checked With : SAVI 3.60 May 2002
&g
Alternatively Alexander,
take a look at the string functions eg strstr(), stristr(), and strpos() all
of which can be used to make a condition within the case() criteria.
Regards,
=dn
> [snip]
> Say i have a variable $string_var = "Once upon a time";
>
> is there a way to do this:
>
> Switch($st
Hi Djurovski,
> I use this query to input data into MySQL DB.
> EXPIRE is Expire Date!
> My script allways inputs "1.1.0001" into database (as value of expire).
> what is wrong?
>
> My table:
>
> CREATE TABLE korpa (
>idnarudzbeukorpi int(255) DEFAULT '0' NOT NULL auto_increment,
>merna
Hi Monte,
> Hi, I have a question about fgets(), it seems to pick up an extra line
> at the end of a text file.
...
> 8\n
...
> Here is the output (showing newlines as \n):
> buffer is 1\n
> buffer is 2\n
> buffer is 3\n
> buffer is 4\n
> buffer is 5\n
> buffer is 6\n
> buffer is 7\n
> buffer is
Hi Roman,
> But on those phpbuilder's page there are also similar questions but
answered
> scripts don't work, for example:
> ...
> preg_match_all("|href=\"?([^\"' >]+)|i(+[ >])", $text,$ar);
>...
> I really don't know :(
There's definitely something wrong with the RegEx above. The string
comme
Tony,
> How would I go about selecting rows from a MySQL table where the first
> letter of a certain field is $letter ?
Depends upon the MySQL tbl's schema.
The MySQL online manual discusses wildcards (full text).
Alternatively see LEFT() and other string functions that can be used in
SELECT an
www.aletia.com
db or not db wrote:
> **
> This Message Was Virus Checked With : SAVI 3.60 May 2002
> Last Updated 16th August 2002
> **
>
> They (futur
Mike,
What are the character codes of the last few bytes in the string?
Please advise,
=dn
- Original Message -
From: "Mike At Spy" <[EMAIL PROTECTED]>
To: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, August 21, 2002 1:36 PM
Subject: RE: [PHP] Agh! trim (#
Scott (confirming Bogdan),
Libraries of all types have had this concern for years - even though books
are uniquely identified by ISBN, that is still not good enough for library
purposes (eg multiple copies of a single title). So they, exactly as Bogdan
suggests, use an "Accession" number sequence
hanks for your input.
>
> Regards
>
> -Scott
>
> > -Original Message-
> > From: DL Neil [mailto:[EMAIL PROTECTED]]
> > Sent: 21 August 2002 04:31
> > To: [EMAIL PROTECTED]; Bogdan Stancescu
> > Subject: Re: [PHP] Image library
> >
> >
> Is it just me having network connectivity problems, or is the PHP website,
> http://www.php.net down? I tried connecting to it from a couple of
> difference computers and I can't access it on any of them. Just wondering
> if anyone else is having problems getting to their website too.
Adam,
General advice:
take a look in the bottom right corner of any manual page and call for the
mirrors list - it's worth bookmarking/favoriting a couple, just in case one
goes down.
Also FYI, mirror sites are often faster (depending upon relative locations)
and their use certainly frees bandwidth at
> Having a large number of files in a single directory does affect
performance,
> the degree of which depends on the filesystem.
This is generally accepted wisdom for dealing with large numbers of files -
but what number is considered "large"?
Any rules of thumb, for different OpSys/file systems
Hello Mike,
parse a string similar
> to "4,31m)" figure out if it is numeric or not, then if it is remove the
> last to characters on the string (the 'm)') and change the string so
> that it is 4.31. There is probably a better way of doing this but I
> can't figure out how to make it better or mo
Philip,
What about "SoftwareVersion Thingy"?
Won't that end up as "Software Version Thingy" - with two spaces before the
"T"?
Can the RegEx be 'turned off' if the u/case letter is already preceded by a
space?
(sorry, may not be Hessu's requirement = my curiosity)
Regards,
=dn
> This works.
>
>
, and now I have the problem to solve. So i back to old
question
> :-)
> How can I search with some precision in a serialized string?
>
>
>
> on 8/24/02 12:13 PM, DL Neil at [EMAIL PROTECTED] wrote:
>
> > Rodrigo,
> >
> > Then the question to be asked is: is seri
to skill level
>
> 1b no separator it's stored as array. The array generated by language[]
and
> skill[] are stored into another array, serialized and put into DB
>
> 2 yes. could be up to 5
>
> 2b again, none. only the array structure
>
> the field is a text.
>
>
>
> I'm trying to get an apostrophe (and a dash, as well) to be
> included in a preg_match expression, but I don't know how to escape the
> characters.
The manual discusses which characters need escaping and how to escape
characters: http://www.php.net/manual/en/pcre.pattern.syntax.php
> if (preg
Hi Ryan,
Anyway, I installed PHPTriad first but since the version of php is 4.0.0 I
uninstalled it and installed SpaceServer...the problem I noticed with both
was I could not get the default page from apache with http://localhost/ I
have to use http://127.0.0.1 or it gives me a page not found err
Hi Rick
Check out list archives for last week (and the week before...) keyword:
resolution.
Also check out HTML, which will cheerfully slap text and graphics together
an adapt to local peculiarities.
Regards,
=dn
> I've seen similar questions in archives so sorry if I'm asking the same
thing
P there's usually a way...
=throw 'escape database' (apostrophe will work too) at the PHP manual's
search facility (the manual is really v.good!) and it will respond with a
reference to ADDSLASHES(), which will do as you ask - there is also a
reference to a PG function (I'
Carlos,
I'm sorry, but am just leaving... If you check the PCRE RegEx pages of the
annotated manual, there are contributed examples that will help in this
situation (probably under preg_match_all() )
Regards,
=dn
> This may be an interesting challenge for someone or has it been done
> before
>
Timo,
If you use func_num_args() to ascertain the number of arguments passed to
the function and func_get_arg() to retrieve each argument in turn (from a
list of unstated length), will that do the trick?
Regards,
=dn
> I've created (with help from some code from the site) a function to make
>
Brian,
Please be aware that many email clients will NOT read HTML. The human
readers are then presented with raw HTML and get very <...?...> upset about
it! (that's why list postings are not supposed to be in HTML/rich text
format)
Regards,
=dn
> It's a text-based newsletter...
>
> I have a s
John,
This is the output:
Resource id #15
or some other seemingly arbitrary Resource ID number?
First of all what is a resource ID and second how do I get it to actually
show what I am trying to get it to show!
=When MySQL returns data to PHP, the information is put into a variable
called a "re
Liam,
If you were to stristr()/remove everything up to and including the
tag, would that take care of things?
=dn
> I've got a lil problem with HTML tags. Here's the description.
>
> My site accepts HTML files by upload. A lot of these files are written in
MS
> Word and then saved as HTML files
> Hi Guys / gals,
>
> I ran a test recently sending emails to a list of clients (1000 or so)
> from a PHP / MySQL powered system.
> When sending via Sendmail this was VERY slow, taking several minutes to
> complete.
> When I switched over to Qmail the whole process takes only 10 or 15
> seconds.
>
Open source campaigners and 'evangelists' may be interested in BBC coverage
of a report by the Commission on Intellectual Property Rights (CIPR):
http://news.bbc.co.uk/1/hi/sci/tech/2253270.stm. It talks of medical,
agricultural, industrial, and IT/educational disadvantages placed in front
of the
Have installed PHP v4 on IIS 5 server, all the connectivity works fine as
for the sending but the main text variables will not come through. I think
there must be a setting I have missed somewhere? I have checked the
permissions and are set ok for the IGA can anyone help?
Thanks in advance
--
ry about latency.
Thanks for any help or suggestions to fix this problem, or any anecdotal
evidence I can use to fix it !!
Neil Smith.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Helen,
> I would like to create a web page which allow people to browse the
directory structure and the files listed in every directory. If you have
experience about that, could you kindly give me some advice or references?
Thanks in advance.
=To this simple boy it seems like a strange, even a p
JohnMeyer
> if (is_uploaded_file($_FILES["imagefile"]["tmp_name"]) &&
> ($_FILES["imagefile"]["type"] != "image/jpeg" &&
> $_FILES["imagefile"]["type"] != "image/gif" &&
$_FILES["imagefile"]["type"]
> != "image/jpg" && $_FILES["imagefile"]["type"] != "image/png"))
>
> I'm trying to weed out everyt
str_repeat ()
Tjoumaidis Tasos wrote:
**
This Message Was Virus Checked With : SAVI 3.61 September 2002 Last
Updated 15th November 2002
**
Hello t
> On Thursday 21 November 2002 03:53, Mr. BuNgL3 wrote:
> > Hi...
> > I'm with a little sintax problem...
> > The question is that i have two search fields (titulotxt and cdstxt) and
i
> > want to create an mysql condition... i trying:
> >
> > $sql1=($titulotxt) ? "titulo like '%".$titulotxt."%'":
Rodrigo,
Is there a way to convert a date " 20/11/2002 " to a Float number in PHP,
since the date starts in 30/12/1899, just like the delphi treats the
dates
=Check out UNIX timestamps (but watch the valid date range),
=dn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
urrence of an
ampersand with a double ampersand but I need to do a match so that it
only replaces instances which have non whitespace on either side of it,
ie \S&\S
I think I'm along the right lines but haven't had enough experience with
regular expressions yet to '
That's perfect Michael. Thanks a lot for your help :)
Neil
Michael Weinberger wrote:
> **
> This Message Was Virus Checked With : SAVI 3.58 May 2002
> Last Updated
Maguma Studio for PHP Light will do the job.
Neil
Daniel Negron/KBE wrote:
> **
> This Message Was Virus Checked With : SAVI 3.58 May 2002
> Last Updated 11th
echo str_repeat("*", 50);
Don wrote:
> **
> This Message Was Virus Checked With : SAVI 3.58 May 2002
> Last Updated 14th June 2002
> **
>
> Hi,
>
> I'
Hi there,
I'm trying to delete a file using PHP's unlink() function (on Windows).
This works fine on writable files but fails when trying to delete
read-only files. How can I delete read-only files? Is there a function
available to change the permissions?
Any help greatly apprecia
ile or directory
*** Error code 1
make: Fatal error: Command failed for target `zend_language_parser.lo'
Current working directory /export/php-4.2.1/Zend
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Any comments suggestions appreciated
Neil
--
PHP
unlink() works fine apart from when trying to delete read-only files.
Thanks for the suggestion anyway.
Neil
Lowell Allen wrote:
> **
> This Message Was Virus Checked With : SAVI 3.58 May 2002
> Last Updated
You're right - the example is wrong.
Neil
Anthony Ritter wrote:
> **
> This Message Was Virus Checked With : SAVI 3.58 May 2002
> Last Updated
According to the manual "This function is not implemented on Windows
platforms". Gave it a go though and it works!
Cheers Dan,
Neil
Analysis & Solutions wrote:
> **
> This Message Was Virus Checked
Neil M wrote:
> problems compiling php-4.2.1 / solaris 2.6
> --
>
> [root@sunnsr02] 240 /tmp > cd /export/php-4.2.1
> [root@sunnsr02] 241 /export/php-4.2.1 > make
> Making all in Zend
> /bin/sh ../libtool --silent --mode=compile
LOL - nice one Jason :)
Jason Wong wrote:
> **
> This Message Was Virus Checked With : SAVI 3.59 May 2002
> Last Updated 3rd July 2002
> **
>
> On Frid
Have a look at sort()
vins wrote:
> **
> This Message Was Virus Checked With : SAVI 3.59 May 2002
> Last Updated 8th July 2002
> **
>
> I have an array
FYI - Works in Windows NT 4 SP 6a as well.
[EMAIL PROTECTED] wrote:
> **
> This Message Was Virus Checked With : SAVI 3.59 May 2002
> Last Updated 8th July 2002
> *
Maguma Studio Light is pretty good - www.maguma.com
Mark McCulligh wrote:
> **
> This Message Was Virus Checked With : SAVI 3.59 May 2002
> Last Updated 8th July 2002
> ***
Welcome Nicolas,
=You didn't actually say what the problem was!
=Some have made suggestions, please also consider (below):
i'm new and i'm trouble with this code :'( can U help me please ??
this is the code :
while ($cd_tbl = mysql_fetch_array ($result))
{
$cd_id = $cd_tbl['cd_id'];
$cd_oeuvre
Liam,
Not altogether happy with the suggestion below. It works - for now.
A more generic solution might be to replace the hard-coded "9" with a call
to strrchr() on the last 'dot' character position (minus one). Then it
should work on any properly formed IP address.
Thereafter parameterise the su
nl2br()
KK Lee wrote:
> **
> This Message Was Virus Checked With : SAVI 3.59 May 2002
> Last Updated 8th July 2002
> **
>
> Dear ALL,
>
> It seems tha
eters are within one second of each other.
Any suggestions would be great.
Neil
--
--
www.curvedvision.com
--
This communication is confidential to the intended recipient(s). If you are not that person you are not permitted to make use of the informatio
Perfect - thanks Bogdan
Bogdan Stancescu wrote:
***
This Email Has Been Virus Swept
***
Neil Freeman wrote:
Hi there,
Does anyone have any suggestions as to how I can calculate whether one
timestamp is
How about:
exec("chmod -R 755 /somedir/");
[EMAIL PROTECTED] wrote:
***
This Email Has Been Virus Swept
***
Is there anyway to use CHMOD:
chmod ("/somedir/somefile", 0755);
but have it set all files, folders
You will need to ensure that the session save path is set to a valid
directory:
e.g.
session.save_path = "C:/Temp"
Neil
E. Ricardo Santos wrote:
***
This Email Has Been Virus Swept
***
Somebody
Or you can use sizeof() which is an alias for count()
Scott Fletcher wrote:
***
This Email Has Been Virus Swept
***
Ah! Thanks!!!
"Chris Hayes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
At 1
Or with PHP you could do:
Header("Location:$launch");
die;
Make sure that nothing is outputted before this is called though. The
variable $launch should also be an absolute URL.
Neil
Richard Davey wrote:
***
This Email Has Been V
evaluating ! $a to true instead of giving me a syntax error as in
script 3. Can someone explain why this is? Does this make the isset()
built in function redundant in general?
Thanks,
Neil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Two of the greatest benefits of OO design is polymorphism.
Polymorphism allows you to build complex systems in a simple manner. A
simple example that is easy to visualise would be considering a system that
draws different objects to a screen. Each object could be a vector image
(i.e. a list of po
1 the following PHP script should print the number 1 but instead
prints nothing:
How is this behavior justified?
I could not find anything on this in the PHP manual.
Thanks,
-- Neil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
some reason this is still not correct.
Thanks!
Neil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
On Wed, 10 Jan 2001, Hsieh, Wen-Yang wrote:
> "" is false.
The following three seem to be the same in PHP3:
1) false
2) ""
3) 0
I guess that "" is automatically cast to 0 or to false
wherever an integer is required. Where can I find the
exact casting
attention to the manual.
BTW is there a way to determine the exact size of the integer type in PHP?
Thanks,
Neil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e
install a copy on their local hard drive and browse
the pretty documentation while offline.
Thanks,
Neil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL
ced documents
are for experts only. For instance, ISO/IEC 9075:1992
Information technology - Database languages - SQL
is currently priced at US$235.00. I think this is the
latest standard for SQL (Structured Query Language).
A list of PHP books can be found at http://www.php.net/books.php
Bye,
Ne
php-ldap-3.0.15-2.i386.rpm
rpm -ivh --force php-pgsql-3.0.15-2.i386.rpm
rpm -ivh --force php-imap-3.0.15-2.i386.rpm
rpm -ivh --force php-manual-3.0.15-2.i386.rpm
All done!
Have fun,
-- Neil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
thing after the --with-gd flag since I did
not know whether to specify /usr/lib or /usr/include as my
gd installation directory as Red Hat (correctly) installs gd
files all over the place.
Thanks!
Neil
BTW, here is the PNG code from the manual:
--
PHP General Mailing List (http://www.php.net
Check out The Mail Archive at http://www.mail-archive.com/ !
On Wed, 17 Jan 2001, Taras Vasylkevych wrote:
> Hi,
>
> is it possible to review the archive of this mailing list. And if possible then
>where?
>
> Thanks,
>
> Taras
>
> Mit freundlichen Grüßen
>
> Taras Vasylkevych
> team in me
serialise it using serialize() - see under chapter 12 of the PHP manual
'Miscellaneous functions'
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 23 January 2001 12:42
To: PHP list
Subject: [PHP] passing arrays via forms ..
howdy again :)
does anybody knwo h
Better still - use the set_error_handler() to define an error handler that
will output your debug statement and create your dbug message using
trigger_error(). Your registered error_handler will automatically receive
line number, file name and some other useful parameters.
-Original Message-
define() gives you a literal copy of the value of the second parameter. In
this case your second parameter is __LINE__. The value of __LINE__
represents the current line number of the define statement. Once defined the
value assigned remains constant, irrespective of whether or not __LINE__
change
Is there anyway within PHP to get a complete dump of the call-stack? I can't
use the Zend debugger for technical reasons (awaiting bug fix before it will
work in our environment). I'd love to have a call that would return an array
of call stack info. to the current line.
Thanks,
only viable if you're intending to set
yourself up as an SMS business.
As an example, check out http://www.cygnet.co.uk/sms/
I've never used this company, but they're the first one I clicked on after searching
for EMAIL SMS GATEWAY
Hope this helps,
Neil
-Original Me
Nothing unusual. Very robust and stable.
-Original Message-
From: Hardy Merrill [mailto:[EMAIL PROTECTED]]
Sent: 19 March 2001 23:18
To: [EMAIL PROTECTED]
Subject: [PHP] PHP w/ Oracle OCI8 - how stable?
I'm thinking of using PHP to talk to an Oracle database with
the OCI8 interface - is
Do you mean that you want to alter the physical contents of 'database.inc'?
This would require you parsing the existing file yourself, writing a new
version of the file, altering the relevant line of code, removing the
original file and renaming your new file to the original filename.
This isn't
if (MYCRITERIA)
{
$dbhost='localhost';
}
The only reason that I can think of for you wanting to change the physical
file would be if you are writing some code to generate a release for
different users. In which case, you'll probably
If you don't want to dump this to the screen but would prefer to have this
in a string (to send to a log file etc..) then use the following function:
function getStringFromObject($prmAryIn)
{
// Following code was ripped from
http://www.php.net/manual/en/function.var-dump.php
// i
you don't
have to worry about parsing files etc... Just delete the existing
varsdatabase.inc and build a new one from scratch. It's no longer difficult
because it's only 3 lines long.
> > > $dbhost='localhost';
-Original Message-
From: [EMAIL PROTECTE
see
http://www.php.net/manual/en/function.get-class.php
-Original Message-
From: Thorsten Viel [mailto:[EMAIL PROTECTED]]
Sent: 20 March 2001 17:33
To: [EMAIL PROTECTED]
Subject: [PHP] Objectclass
Hi,
first thanks for your help on my last thread.
Another question.
Is there a functio
Alternatively, you can use the approach below. There are different benefits
from each approach. The following approach is particularly useful if you
want an unlimited number of parameters (like elipses in C).
function print_this ($value1, $value2)
{
if (3==func_num_args())
Try:
function getStringFromObj($prmObjIn)
{
ob_start();
var_dump($prmObjIn);
$output = ob_get_contents();
ob_end_clean();
return $output;
}
I grabbed this from user comments somewhere on php.net. It works a treat.
-Original Message-
From: Chi
yes, as will:
Class C extends B{
function cc(){
$this->bb();// Will this work ? <-- YES
$this->aa();
}
}
-Original Message-
From: py [mailto:[EMAIL PROTECTED]]
Sent: 08 May 2001 14:02
To: [EMAIL PROTECTED]
Subject: [PHP] class inheritance question
Hello,
A good approach to prevent this is to always put your constants on the
lefthand side of the condition. This causes a parser error if you accidently
try and assign instead of compare. It takes a bit of getting used to, but
once you get into the swing of it you'll find it a useful tool in your
arsen
Probably not exactly the answer that you're looking for, but you can do the
following. Output your data in PHP to a webpage that consists of purely a
table of your data. Open Excel, go to :
Data->Get External Data->New Web Query
Type in the URL for the page with your data.
Select which t
Hey Steve,
> Im need to generate an email and Im trying to keep the exact spacing
> I use when I define the body of the email. When the email is sent and i
> view it with Outlick Express or simply use Pine, the spacing is all out
> of wack. (Too many spaces here, not enough spaces there)
>
> I
Hi Sander,
> I made a database with bookmarks, these bookmarks are catogarized by
> type.
> Now I want to display those bookmarks in tables by category. This works
> already fine.
> The only problem I have is that the tables are very difficult to handle.
>
> I want to make 4 tables in a row (so
CJ,
> i have a problem using the mail function on my server.
> win2000 Pro
> IIS 5.0
> PHP Version 4.0.6
>
> i'm not sure if it's a configuration problem with IIS or i'm missing
> something in the php.ini file.
The pre-requisite is that the php.ini file points to a visible SMTP server. Pl
RE: [PHP] counting with dates (help!)Hi Sander,
(and Chris, and Martin)
> $today = date("Ymd", mktime(0,0,0, date(m),date(d),date(Y)));
> $last_week = date("Ymd", mktime(0,0,0, date(m),date(d)-7,date(Y)));
> echo ($today - $last_week);
> The result is a number like 8876 (20020107-20011231 = 8876)
You should probably consider ASP.NET. Visual Studio .NET is out in early Feb
and ASP.NET makes an enormous leap in functionality. It should almost be
considered a new web development environment.
It allows development in any CLR compliant language (straight VB.NET, C#,
managed C++ etc..)
It cleanl
Brian,
> first off, Martin your suggestion looks great but I don't think its SQL
> syntax is supported by MySQL. It's a good start though - gives me something
> to work with :)
=until it is tried, you won't know! From an SQL point of view it looks ok. In fairness
to Martin, from the
'further in
Erik,
Two suggestions:
1 check out mysql_fetch_assoc(), and
2 make use of AS to 'set' the variable names (carried through from MySQL to PHP).
Regards,
=dn
- Original Message -
From: "Erik Price" <[EMAIL PROTECTED]>
To: "Rick Emery" <[EMAIL PROTECTED]>; "PHP" <[EMAIL PROTECTED]>
Sent: 1
Or checkout the sql import facilities offered by your choice of database to 'convert'
the data from log to
db-tbl, then set up your analysis in PHP+SQL separately.
=dn
- Original Message -
From: "Martin Wickman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 11 January 2002 09:08
Subj
Hi there guys,
Who's awake today then? :) What I'm trying to do is create variable
variable arrays and then fill these arrays with values. The problem I
have though is that the values don't appear to be getting stored - as
following the assignment I have outputted a 'sizeof' command which
always
That's done the trick. More coffee for me I think :) Cheers Jason.
Jason Wong wrote:
> On Friday 11 January 2002 20:02, Neil Freeman wrote:
> > Hi there guys,
> >
> > Who's awake today then? :)
>
> Someone isn't :)
>
>
101 - 200 of 489 matches
Mail list logo