> trim($ulist[1]);
You mean:
$ulist[1] = trim($ulist[1]);
Trim() returns a modifies copy of the string. It does not alter the
original. A lot of the string functions work like that.
Luke Welling
--
PHP and MySQL Web Development
by Luke Welling and Laura Thomson
http://www.amazon.com/e
an argument for ASP? HTTP has no way of tracking file upload
progress, no matter what scripting language you are using.
Luke Welling.
--
PHP and MySQL Web Development
by Luke Welling and Laura Thomson
http://www.amazon.com/exec/obidos/ASIN/0672317842/tangledwebdesign
--
PHP General Mailing L
> I want to change the default session name 'PHPSESSID' to say ex. 'seid'.
>
> How can I do this without editing to the php.ini since I'm having a site
on
> a virtual host.
Try putting this at the start of your scripts:
ini_set ('session.name'
handle some of the harder parts for you.
It really does depend exactly what you are trying to do with your database
or file.
Cheers,
Luke Welling
--
PHP and MySQL Web Development
by Luke Welling and Laura Thomson
http://www.amazon.com/exec/obidos/ASIN/0672317842/tangledwebdesign
--
PHP Genera
ins all the advanced features of PHP4
> and MySql as a compliment.
I can't give you an unbiased opinion on whether it is good or not, but you
might like to look at "PHP and MySQL Web Development"
by Luke Welling and Laura Thomson.
Here is a link to it on Amazon.
http://www.amaz
It is $39.95 at barnesandnobel.com and at fatbrain.com.
That GST is a killer. It will probably have an RRP around $110 here in
Australia too.
Cheers,
Luke Welling.
""YoBro"" <[EMAIL PROTECTED]> wrote in message
995r3k$poh$[EMAIL PROTECTED]">news:995r3k$poh
Hi all,
I was wondering if anybody out there who has a copy of my book has found any
errors.
If you have noticed any errors in "PHP and MySQL Web Development" by Luke
Welling and Laura Thomson, and have a second, could you drop me an email?
I don't think there will be too ma
ly has better documentation than PostgreSQL from their respective
primary sources, but you will find a *lot* more documentation on using PHP
with PostgreSQL than with Interbase.
Where PHP examples and documentation is database specific, it is mostly
MySQL, some PostgreSQL, some Oracle and very little of a
Egon Wrote:
> On Tue, May 08, 2001 at 01:24:02AM +1000, Luke Welling wrote:
>
> > I was wondering if anybody out there who has a copy of my book has found
any
> > errors.
> >
> > If you have noticed any errors in "PHP and MySQL Web Development" by
Luke
&
t the current open source version is available from:
http://www.borland.com/devsupport/interbase/opensource/
Ongoing "certified" versions with Borland support will be available from
somewhere on borland.com for a price and any future open source versions
will be available from SourceFo
retty sure there is an example at www.htmlgoodies.com.
Cheers,
Luke Welling
--
PHP and MySQL Web Development
by Luke Welling and Laura Thomson
http://www.amazon.com/exec/obidos/ASIN/0672317842/tangledwebdesign
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [E
index.php?p=slides%2Fintro&id=ac2
Cheers,
Luke Welling
--
PHP and MySQL Web Development
by Luke Welling and Laura Thomson
http://www.amazon.com/exec/obidos/ASIN/0672317842/tangledwebdesign
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
""Ender"" <[EMAIL PROTECTED]> wrote:
> Does anyone remember the previous php.net website where you would hold
> your cursor over a menu bar and it would pop up info? Does anyone know
> how to do that or where the script for it is?
See http://www.php.net/FAQ.php#13.1
--
PHP General Mailing L
r.
To see a list of the predefined constants, look at the output of the
function phpinfo(). You will be able to see from what they are set to which
ones you want to use.
Cheers,
Luke Welling
------
PHP and MySQL Web Development
by Luke Welling and Laura Thomson
http://www.amazon.com
ys I can think of.
1) You could change the way that your code creates the checkbox names, so
that rather than getting 12 variables, you get an array with 12 elements.
2) You could repeat your MySQL query on the echo page, and loop though code
something like this:
$varname = "Check".$mydat
ho $varname;
> if ($varname)
> echo "$varname = $i";
> }
In that case it is easy, I did not know that the ids were just 1 to 12, I
thought they could be anything spat out by the database.
How about something like this:
for ($i = 1; $i <= $NMax; $i++)
{
$varname = "Ch
"Uma Shankari T." wrote:
> Can anyone please tell me is there any function in php for sorting in
> which the contents are stored in array
Have you seen sort(), arsort(), asort(), ksort(), natsort(), natcasesort(),
rsort(), usort(), array_multisort(), or uksort()?
Luke We
permissions on both the folder you want to copy the
uploaded file to and the temp directory that it needs to go to first?
Luke Welling
--
PHP and MySQL Web Development
Luke Welling and Laura Thomson
http://www.amazon.com/exec/obidos/ASIN/0672317842
--
PHP General Mailing List (http://www.php.n
calculate the approximate download time for
> different connection types.
>
> Is there a way do this? If so I thank you in advance
> for the help.
http://www.php.net/filesize
Luke Welling
--
PHP and MySQL Web Development
Luke Welling and Laura Thomson
http://www.amazon.com/
&as_mind=17&as_minm=5&as_miny=1981&as_m
axd=12&as_maxm=12&as_maxy=1995&rnum=2&selm=3r7pgp%24aa1%40ionews.io.org
You can send email to [EMAIL PROTECTED] to try to convince them to
add it as an important historical post to their timeline at:
http://www.google.com/google
ssbrowser reliability will send you spiralling into
JavaScript Hell.
Luke Welling.
--
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]
""Matt "TrollBoy" Wiseman"" <[EMAIL PROTECTED]> wrote:
> Does know of anyway to get PHP to return the week number?
> As in there are 52 weeks in a year and this is week x?
> If there is no internal feature, perhaps something built into PHPLib?
How
n off topic question to an already busy
mailing list.
Luke Welling.
--
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]
23 matches
Mail list logo