the communication with sendmail]
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
What's another word for thesaurus?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
://marc.theaimsgroup.com/?l=php-generalr=1w=2q=bs=pages+like+google
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Useless Invention: Flashbulb tester.
--
PHP General Mailing List (http://www.php.net
and import the contents of the csv.
Unless there's a good reason not to that you haven't mentioned?
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Birds are trapped by their feet, people
there
will only be a few currency's!
Thanks
Coenraad Steenkamp
- Original Message -
From: David Robley [EMAIL PROTECTED]
Newsgroups: php.general
To: Coenraad Steenkamp [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Thursday, September 13, 2001 9:18 AM
Subject: Re: [PHP] Validate
: input name='uFile' type='file';
echo input type='submit' name='Submit' value='Upload';
echo /div;
}
?
David Robley [EMAIL PROTECTED] wrote in message
01091317241109.14360@www">news:01091317241109.14360@www...
On Thu, 13 Sep 2001 16:52, you wrote:
There is a very goo
Sorry - pressed send w/out writing anything. Topic followed up direct
with problem owner.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
There are 2 ways to handle women and I know neither
on the information in the table.
I was wondering is there a command in Mysql that can import tables?
I just need to import one table, not an entire database.
Thanks.
Peter
There is mysqlimport from the command line, and there is the LOAD DATA
INFILE syntax.
--
David Robley Techno-JoaT, Web
functions may be what you are looking for.
http://www.php.net/manual/en/ref.outcontrol.php
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Even a hawk is an eagle among crows.
--
PHP General Mailing
values, the lower number receives focus
first. In the case of a tie, the element appearing first in the HTML
document takes precedence.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
The world is so
. $word3
Read the manual!
Alexander Skwar
Tsk Alexander, read the question :-) Urlencode is most likely what is
needed.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
My bid for this contract aims
that your webserver runs
as.
Checking the output of exec might give some insight.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Useless Invention: Training wheels for timid sports car drivers
php-4.0.6. Am I misunderstanding something horribly, or is
this a legitimate bug?
Kevin Way
The docs say that the second parameter was added in 4.0.7, so that may be
your problem :-)
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders
escape the #
sign.
Works OK for me in an INPUT TYPE=TEXT. Perhaps a bit of your code and the
table structure might help?
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Sorry, I don't date
to check how long it takes.\
Then you can let us all know the answer.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Why can't we just spell it orderves?
--
PHP General Mailing List (http
On Wed, 19 Sep 2001 12:28, Scott wrote:
That works, thank you, but it prints at the top of my page, is there
a way to store that array into a single variable?
Yes - implode()
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
I was absolutely vitrified, said Tom with a glazed look.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
on success or an error
message on failure. That should do what you want.
I wonder what my sigmonster is up to?
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Stupid is a boundless concept.
--
PHP General
? For instance, in this example, c should not be
print.
in_array might be one tool - loop through $Foo and print $Foo[n] if it's
not in the array $donotprint
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
) {
if(!in_array($val,$DoNotPrint) {
echo $val;
}
}
Any syntax errors you find in that you can keep :-)
And doubtless there are other, better ways. Offers, anyone?
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH
main script
endif; //All ok continue with script
?
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Don't ask me. The cats are in charge around here.
--
PHP General Mailing List (http://www.php.net
can I find a complete
and accurate operator precedence table?
CW
The manual?
http://www.php.net/manual/en/language.operators.precedence.php for
operator precedence and http://www.php.net/manual/en/language.oop.php for
classes and objects
--
David Robley Techno-JoaT, Web Maintainer
with seting a default
selection in your dropdown so you avoid the problem.
Otherwise you could test whether the dropdown value is empty, and if so,
not add the 'AND productcategory.ID' clause to your select.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY
.
include() them?
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
This is my favorite chinese soup, Tom said wantonly.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
tried all kinds of programing
techniques... but none of them seems to fit here.
exit or die are probably the tools you want.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Blessed are the censors
because
I don't understand the nitty gritty of file handles.
Thanks
Not so much a problem with the file, rather the way the webserver handles
output. Try using flush() to force data to be sent to the client.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY
will be an array of the current line being
returned from the file? Have a look at the docs
(/manual/en/function.fgetcsv.php) for an example of how to read and
output the contents of a csv file.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES
on a Win2k advanced server box? PHP 4.0.5
Thanks
Brandon
You'll need to define which smtp server you are using, in your php.ini.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
I like to leave
module.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
I have had too many children, said Mary overbearingly.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
On Fri, 18 May 2001 07:07, Ron Pitts wrote:
CRAP
Ron Pitts
Caravela Books
134 Goodburlet Road
Henrietta, NY 14467 http://caravelabooks.com
Didn't I send instructions off list on how to unsubscribe a particular
address? Do they not work?
--
David Robley Techno-JoaT, Web Maintainer
?
Perhaps a look at a code snippet, if this is not the case?
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Don't force it, use a bigger hammer.
--
PHP General Mailing List (http://www.php.net
value passed to the script?
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Power corrupts; absolute power is even more fun.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
/function.str-pad.php should do the trick
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Windows: just another pane in the glass.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
ldconfig (as root) after changing your ld.so.conf?
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Are dog biscuits made from collie flour?
--
PHP General Mailing List (http://www.php.net
{
'fontdata to be outputted/font'
}while ($something = mysql_fetch_array($query));
.'/td
/tr
/table';
?
any help?
See the manual entry for mysql_fetch_array(), which gives an example of
how to do this. You might also find extract() useful.
--
David Robley Techno-JoaT, Web Maintainer
. Try
http://httpd.apache.org/docs/mod/mod_include.html
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
It's half a score, Tom said often.
--
PHP General Mailing List (http://www.php.net
opened a connection, you should be able to use
mysql_db_query multiple times, specifying different databases each time,
and of course using different variables for the result identifiers.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES
function?
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
URA Redneck if your funeral has more pickup trucks than cars.
; charset=iso-8859-1; name=Attachment: 1
Content-Transfer-Encoding: quoted-printable
Content-Description:
Echh, Outhouse does odd things :-)
Try adding echo mysql_error() after you call the query and see what sort
of error is returned.
--
David Robley
www.php.net click on Support then scroll down the
page a bit.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Falls don't kill people. It's the deceleration trauma.
--
PHP General Mailing List (http
to normalize the dates or is the just a
Eudora4+ problem?
At 03:41 PM 9/20/2001, Andrew Hill wrote:
www.phorum.org
Best regards,
Andrew
It's eternal September on Usenet :-)
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders
.
Everything I find at the various search engines seems
to require a masters in computer science and a minor
in gobbly gobb.
kb
http://www.w3.org/Protocols/ is probably the definitive source, although
it's not the equivalent of 'HTTP for Dummies' :-)
--
David Robley Techno-JoaT, Web
;
$ary = getdate($diff);
while(list($key, $val) = each($ary)){
echo $key == $valBR;
}
?
Outputs
seconds == 46
minutes == 16
hours == 19
mday == 20
wday == 2
mon == 1
year == 1970
yday == 19
weekday == Tuesday
month == January
0 == 1676806
--
David Robley Techno-JoaT, Web Maintainer, Mail
.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
If you're not confused, you're not paying attention.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
(list($key, $val) = each($HTTP_GET_VARS)){
echo $key == $valBR;
}
?
called with test.php?a=asb=bs
returns
a == as
b == bs
So looks like you would be OK.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
interesting characters. So
a href=prediction.php?hometeam=?echo urlencode($hometeam)
?awayteam=? echo urlencode($awayteam) ?
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
I'm wearing my wedding ring
in the distribution
/ext/ext_skel which might be relevant.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
CD-WOM, Wead Onwy Memowy.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
).
I need to process the data in a PHP application.
Thanks,
-Scott-
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
All E-mail gladly received. Offensive reply ASAP.
--
PHP General Mailing List
exactly what FormatPercent does -
number_format, printf or sprintf.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
What this country needs is a good five-cent microcomputer.
--
PHP General Mailing List
;
works just fine? Or something with name spaces and when $PHP_SELF is
activated?
Thx, Kent
I think you need to declare $PHP_SELF global when referring to it in a
function...
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University
abc whatever def. Where's the difference to
directly doing the following:
$a = whatever;
$b = abc $a def;
echo $b;
which results in abc whatever def ???
What am I missing?
Thanks in advance.
mit freundlichen Gruessen / yours sincerely
In a word, eval() :-)
--
David Robley Techno
in the file is enclosed in php tags - depends on exactly
how your text is structured.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
A mind is a terrible thing to ... er ... h?
--
PHP General
On Tue, 26 Jun 2001 07:46, Joeri Vankelst wrote:
How can I get an Enter typed in a HTML textfield to be inerpreted as a
BR or a P tag?
Someone sugested I use the split() function, but I wouldn't know how...
Joeri Vankelst
nl2br() is just the tool for this.
--
David Robley Techno-JoaT
exciting possibilities.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Birds are trapped by their feet, people by their tongues.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
', $connection_id) or
die('No connection.');
...
$result_id = @mysql_query(DESC $table_name $field_name);
$row = mysql_fetch_array($result_id); # This is line 9
Try using mysql_error() to see if there is some feedback from mysql. Put
it just after your mysql_query().
--
David Robley
as line breaks.
Cue RANT from Richard Lynch on TEXTAREA :-)
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Spell chequers dew knot work write.
--
PHP General Mailing List (http://www.php.net
that you may possibly have multiple entries for the latest
date?
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Tyre Shop sign - We Skid You Not.
--
PHP General Mailing List (http://www.php.net
maybe you want UNION.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
He's not dead, Jim, he's just metabolically challenged.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
to upload text files?
Thanks,
Mat
You probably want the WRAP=virtual parameter in your TEXTAREA.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Is it OK to yell 'MOVIE' in a crowded firehouse
serving .inc files anywhere in the DocumentRoot structure
LocationMatch .*\.inc$
Order allow,deny
Deny from all
/LocationMatch
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Oxymoron: Safe Sex
query returns a successful result - which
may have 0 or more rows!
Try using mysql_num_rows($result) and check whether it is zero (no
records found) or non-zero (record exists)
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University
until 4.0.5, according to the manual. Is
your version sufficiently up to date?
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Will the information superhighway have any rest stops?
--
PHP General
Then when you display the rows, keep track of the current and previous
value of $description; if it changes, print the new value.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Don't stop posting, a good
with the stripslashes function.
I was wondering if anyone could help me out with this as I haven't a
clue where to start editing the script.
Many thanks,
Dave
just use stripslashes as you are displaying the values.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE
. Any idea where I can get
more info on that?
Thanks
Randy
try this:
header(Content-disposition: filename=maillist.dat);
header(Content-type: application/octetstream);
header(Pragma: no-cache);
header(Expires: 0);
//query database
//echo results required
//end
--
David Robley Techno-JoaT
to allow a submit button - so you could
add a hidden field containing the subject?
FORM ACTION=mail.php METHOD=POST
INPUT TYPE=hidden NAME=subject VALUE=Your inquiry about a Kenworth
INPUT TYPE=submit NAME=summit VALUE=email for more info
/FORM
And no PHP to be seen :-)
--
David Robley Techno
if($submit).
Otherwise try assigning a value to submit in the input tag.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Avoid temporary variables and strange women.
--
PHP General Mailing List (http
On Sun, 15 Jul 2001 01:15, Randy Johnson wrote:
Dave,
The code below gives me an error in IE 5.+
Here is the error:
IE cannot download ..blah blah try again later
Do you use this code on your site or do i just need to tweak it
-Original Message-
From: David Robley [mailto
On Fri, 13 Jul 2001 10:18, David Robley wrote:
We use it, but only internally and our preferred browser is not from M$
:-) I do have an IE5.5 somewhere, so I'll have a look and see what
happens with my script using it.
Hmm, works OK for me. Maybe check that you are actually outputting
go take a look.
Thanks again
##
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
On a radiator repair shop: Best place to take a leak.
--
PHP General Mailing List (http://www.php.net
be getting something you don't expect in $Pass.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
1200 bps used to seem so fast
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
itself.
And re-reading, I think what you may want is hidden fields. You want part
one to call part 2, and retain values from part 1, etc? Echo the values
into hidden fields in each step of the process.
INPUT TYPE=hidden NAME=whatever VALUE=?php echo $whatever ?
--
David Robley Techno-JoaT
/ref.math.php
Round is probably the one you want.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
If a program is useless, it must be documented.
--
PHP General Mailing List (http://www.php.net
TYPE=submit VALUE=Submit File
[Lots left out for simplicity]
I notice you have ENC_TYPE ??
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Heads I win, tails you lose.
--
PHP General Mailing List (http
be worth checking
through phpinfo() that your installation is looking there and that it
thinks file_uploads is on.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Darth Vader sleeps with a Teddywookie
= (fgets ($fp, $fs));
8 }
9 ?
However, you might be as well off to use the file() function to read the
file into an array; you can then process the array with list/each and
write it out line by line.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES
everybody
Jason
Cool - I win the prize for picking it :-). I wrote yesterday
'I notice you have ENC_TYPE ??'
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Windows: XT emulator for an AT.
--
PHP
it like it is on the command line?
Thanks,
Tyler
$data = exec(host $lookup, $ary);
while(list(,$val) = each($ary)) {
echo $val . 'BR';
}
You need to assign the output of exec to an array if you want to capture
multiple lines of output. Check the manual for more detail.
--
David Robley Techno
acquire
an editor that is capable of showing and highlighting matching
parentheses? It makes life much easier :-)
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
I'm not as thunk as you drink I am
query with
mysql_num_rows()
Incidentally, if songid is an int type, you don't want to pass it a value
in quotes; only char types need to be quoted.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
.
Frinstance, to get the first show on or after today you could select
where timestamp is greater than or equal to NOW(), ORDER by timestamp and
LIMIT 1 to get the earliest in the future. Which might be today! You can
do some fancy formatting of the timestamp in Mysql, if that helps.
--
David Robley
/htdocs/webclient.php3);
/script
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Useless Invention: Inflatable darts-board.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
leave you to sort
them out :-)
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
I'm embarrassed, Tom admitted readily.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
of the docs to see what other goodies are available. I suspect
mysql_error will be one you may find useful :-)
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
A camel is a horse planned by committee
and if it has a semicolon (;) at the beginning of the line remove it.
Check you have a file called ph_gd.dll which is possibly in directory
extensions under your php installation and restart apache service.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES
of £search or something...?
- seb
Feel free to trim all the ireelevant stuff from your posts :-)
Try $$search or ${color} depending on exactly what you want to do. You
might want to have another read through the Variable variables section of
the documentation to clarify this.
--
David Robley
the output
is enclosed in PRE tags, the browser will ignore the tabs. Tabs,
multiple spaces and end of line dharacters are all ignored.
Alternatively, you could build it into a TABLE structure.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES
with the latest snapshot php4-200107252235 so my short term
solution will be php4.0.4.
Do I need to submit a formal bug report?
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
My mind ain't so open that anything
write it to a new array (which will be the basis of what you write
out to file).
Or maybe I'm not quite understanding you - are all those fields in one
row, or...
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH
allow attachements. However:
if(condition) {
include('onehtmlfile');
} else {
include('anotherhtmlfile');
}
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
I do not fear computers. I fear the lack
:
NOTE: There can be only one AUTO_INCREMENT column per table, and it must
be indexed.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Don't play stupid with me! I'm better at it.
--
PHP General Mailing
with an ISAM, GEMINI or BDB table but
not with a MyISAM or InnoDB table. If you delete all rows in the table
with DELETE FROM table_name (without a WHERE) in AUTOCOMMIT mode, the
sequence starts over for all table types.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE
blah blah
?
and
?php
echo blah blah
?
Check the return value from the function?
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
I hit the CTRL key but I'm still not in control!
--
PHP
the lines of the file into an array?
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Daddy, what does FORMATTING DRIVE C: mean?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
? At least that seems to be what the example
in the manual does.
$fp = fsockopen (www.php.net, 80, $errno, $errstr, 30);
if (!$fp) {
echo $errstr ($errno)br\n;
} else {
fputs ($fp, GET / HTTP/1.0\r\n\r\n);
while (!feof($fp)) {
echo fgets ($fp,128);
}
fclose ($fp);
}
--
David Robley Techno
ontent .= printf(blah blah);
or without the printf complexity
$content .= "First Name: " . $array["FirstName"] . "\nLast Name: " .
$array["LastName"] . "\n";
You'ld need to ensure $content is empty before starting the for loop, of
course.
--
D
Have a look at the functions list and each - there are code snippets in the
manual which should give you some ideas for getting the values and keys
from an array. You might also be interested in count and sizeof for
determining the number of elements in the array.
--
David Robley
field out and assign it to a separate
variable and re-insert it when im updating but I'm curious as to why this
would be happening...These are the only places where any modifications
are made to the posts...on insertion and admin modification so I'm
stumped as to what could be happening.
Any
you have
created the necessary database, you can simply do this on the command line
mysql database your_mysqldump_file
or you can nominate the file in the data import part of phpMyAdmin
--
David Robley| WEBMASTER Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES
;$key = $valBR";
}
}
$fruits=array("a"="apple","b"="banana","c"="cucumber","d"="apricot",);
show_elements($fruits);
?
That's pretty much plagiarised from the array functions in the manual :-)
--
D
On Wed, 7 Feb 2001 11:28, enthalpy wrote:
anyone have example code for randomly grabing an item from a mysql table?
Mysql 3.23 will let you order by RAND() and you could use a LIMIT to
restrict to one result. I haven't tried it, though.
--
David Robley| WEBMASTER
501 - 600 of 1065 matches
Mail list logo