Also, PHP has a built in function for finding the ID of the last insert
query. ill show some brief code.
$query = (insert into tbl_blah (fld_blargh) values ('$roar'));
$result = mysql_query($query) or die (mysql_error());
$last_id = mysql_insert_id();
echo $last_id;
this should print out
where have you been, I was layed off last november? your behind the times
man, you should have been unemployed months ago.
- Original Message -
From: Aniceto Lopez [EMAIL PROTECTED]
To: PHP list [EMAIL PROTECTED]
Sent: Friday, September 21, 2001 2:49 AM
Subject: [PHP] fired!
dot.com
I worked at www.forestindustry.com , everything was fine until one day a
staff of 30 was reduced to a staff of 5. Unemployment isnt funny anywhere.
- Original Message -
From: [EMAIL PROTECTED]
To: PHP list [EMAIL PROTECTED]
Sent: Friday, September 21, 2001 4:20 AM
Subject: [PHP] fired!
Usually yould have a quota set by your admin, to see how much space you have
used and how much is left just type quota at the command prompt. Unless you
are the admin?
- Original Message -
From: Chrisy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 13, 2001 5:59 PM
Since i have little experience with arrays, and the manuals / readme files
online havent been able to help me, I was wondering if anyone had any ideas
why this code doesnt work?
// get the keywords from db
$keyquery = (select fld_keyword_word from tbl_keyword order by
rand());
Thanks to CC Zona and David Robley for their help in gettin this code out.
This code is really nice for satisfying search engines. It offers different
page content every time you refresh and if you feel like spamming, just use
print_keywords(); here and there to be more relevant :) I'll post the
echo img src=\.$row[picture].\ . $row[description] .
- Original Message -
From: Andonny [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, August 18, 2001 7:27 PM
Subject: [PHP] Display Image
Hi,
I tried below to display the picture on the webpage. I have in the pcture
echo img src=\.$row[picture].\ . $row[description] . ;
- Original Message -
From: Chris Schneck [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, August 18, 2001 7:29 PM
Subject: Fw: [PHP] Display Image
echo img src=\.$row[picture].\ . $row[description] .
- Original
Joe has always been my favorite linux text editor.
- Original Message -
From: Augusto Cesar Castoldi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 31, 2001 7:07 PM
Subject: [PHP] Sorry... but a good PHP editor for Linux/Unix
Sorry about talking about this subject, but a
Just so you know, you can also list them off in order you want them to
appear.
DirectoryIndex index.php index.html default.php
etc. etc.
Your Systems administrator for whomever you host with should be able to take
care of this, he probably should have already :)
- Original Message -
Try messing around with the popular linux package samba, in particual
smbmount. You may also need to read up on ports 137, 138, 139.
- Original Message -
From: ReDucTor [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, July 21, 2001 4:47 PM
Subject: [PHP] netBIOS, Windows, Sockets,
Try messing around with the popular linux package samba, in particual
smbmount. You may also need to read up on ports 137, 138, 139.
- Original Message -
From: ReDucTor [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, July 21, 2001 4:47 PM
Subject: [PHP] netBIOS, Windows, Sockets,
theexchangeproject.org has a module built into their store that works
directly with paypal, ive set up and succesfully used it to tie into a
paypal account. Although it might be a little more powerful than what you
want, the code there shows which variables to be passed to paypal to make a
To anyone else who had the same problem, I thought i'd share the solution
that was passed on to me. It was suggested that counting the # of characters
in a string would work, and it does, but a better way to do it as not to cut
yourself off in mid sentence is to count the # of actual words.
--
I've never heard windows 95 and great in the same sentence.
- Original Message -
From: Christopher Allen [EMAIL PROTECTED]
To: Michael Champagne [EMAIL PROTECTED]; doug
[EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, July 19, 2001 10:26 AM
Subject: Re: [PHP] a good PHP editor
=amount VALUE=[dollar value of product goes
here]
INPUT TYPE=hidden NAME=shipping VALUE=[shipping value]
INPUT TYPE=hidden NAME=no_shipping VALUE=1
INPUT TYPE=hidden NAME=cancel_return VALUE=http://www.yourhost.com/;
/form
- Original Message -
From: ReDucTor [EMAIL PROTECTED]
To: chris schneck
Hey all,
was curious if anyone has had experience with limiting the amount of text
pulled from a database and placing a link and the end of the excessive text
line.
ie. the description of a product could be 800 characters long, how can it be
shortened to 50 -100 characters with a link to read
Did you make sure you had the ?? tags in the whatever.php enclosing the
content?
--
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]
did you missplace an echo or printf somewhere?
- Original Message -
From: Jeremy Morano [EMAIL PROTECTED]
To: chris schneck [EMAIL PROTECTED]
Sent: Wednesday, July 18, 2001 11:23 AM
Subject: RE: [PHP] whatever.php
I checked and double checked... its in the tags
-Original
$foo = foo definition;
- Original Message -
From: Jeremy Morano [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 18, 2001 1:55 PM
Subject: [PHP] variable
hi
is there any way I can pass a variable without using require() or
include()?
--
PHP General Mailing List
The Exchange Project is by far my favorite.
www.theexchangeproject.org
- Original Message -
From: Duane Douglas [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 18, 2001 2:59 PM
Subject: [PHP] php/mysql ecommerce solution
hi gang!
i'm looking for a php/mysql ecommerce
Usually after a ./configure there is a make then a make install,
sometimes even a make test before a make install
- Original Message -
From: Evan Nemerson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, July 07, 2001 3:02 PM
Subject: [PHP] install help
I am trying to install
- [EMAIL PROTECTED]
Interface Engineering Technician
Europa Communications - http://www.europa.com
Pacifier Online - http://www.pacifier.com
-Original Message-
From: Chris Schneck [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 02, 2001 5:00 PM
To: [EMAIL PROTECTED]
Subject: [PHP
This might be a useful link for some people who are having problems with the
combination of apache + ssl / php / mysql. I've used it and I had a couple
problems, but after I actually read the README, everything was smooth :)
www.apachetoolbox.com
--
PHP General Mailing List
Good luck, let me know how your search goes. I would also like to find
someone who would do that.
-Original Message-
From: David Bruce [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 01, 2001 7:02 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Hosts.
My host is Windows 98, Xitami and unstable
I'd actually like to see a site that uses php to create PDF's, anyone have
any good examples?
--
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
hey all, this is my first message to this group, im gonna print it out :)
anywho, im having problems getting data out of the count() function i've
implemented, could anyone lend a hand?
$query = select count(fld_gender) from tbl_survey;
how exactly is it that you output data
27 matches
Mail list logo