[PHP-DB] Re: General Question!

2004-04-05 Thread Alireza Balouch
¨First of all you must NOT use the inputs right from the field and put it in your sql. use trim first for secuety ... ok if you have a several fields with the same name (although wrong way to do it! ) , you can use the print_r($_POST); function to see what you get out of it or else the last

[PHP-DB] Re: General Question!

2004-04-05 Thread Maurice Kevenaar
input type=text name=username input type=text name=total You have to chainge this into: input type=text name=username[] input type=text name=total[] UPDATE tbl score='$total' WHERE username='$username'; Then you have to chainge the query to something like this: for ($a = 0; $a =

Re: [PHP-DB] How to get only 2nd row in result set ???

2004-04-05 Thread Kim Steinhaug
DOH! - A private message arrived read below When you mention it, ofcourse this is the correct (and sane sollution). I guess I was giving more flesh to the bone that the previous poster posted. Looping through when limit is there is plain and simple stupid... Shame on me! :) Kim Steinhaug

Re: [PHP-DB] Re: Tree structure - how to show only current branch ??

2004-04-05 Thread Alireza Balouch
ok this may help a bit (I think) you want something like this: A --A1 --A2 --A3 B C --C1 --C2 --C3 C3A C3B C3C D E F G First you got to have your tables like this. ID, title, PID (parrent id) ok use function rec_tree($pid) { //some connect stuff here $sql = SELECT * FROM

[PHP-DB] BindTextDomain - Reg

2004-04-05 Thread santhosh
While using the BindTextDomain() in my PHP Programs which is including the HORDE Libraries and Chora to connect with CVS. I am getting Function Undefined Problem. Operating System : Windows2000Professional PHP : 4.3.4 Even the needed dll's such as iconv and libintl-1.dll are available in my

[PHP-DB] RE: Drop down menu with PHP

2004-04-05 Thread Rolf van de Krol
Hi Charles, If you mean columns when you say rows the answer is no. When you mean rows when your saying rows the answer is yes. That's what you are doing with your code below. Rolf /// / Suicidal twin kills sister by mistake!/

[PHP-DB] password input type

2004-04-05 Thread matthew perry
Does using a pasword input type input name=password type=password make the transfer more secure from someone sniffing my connection or does it only shield an onlooker from seeing what the user enters? - Matt -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP-DB] password input type

2004-04-05 Thread Hutchins, Richard
It's presentation layer only - the data is not encrypted during transfer. Rich -Original Message- From: matthew perry [mailto:[EMAIL PROTECTED] Sent: Monday, April 05, 2004 2:14 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] password input type Does using a pasword input type

Re: [PHP-DB] password input type

2004-04-05 Thread Daniel Clark
I'm pretty sure it just shields the on looker from viewing. View source in the browser still shows what the VALUE is, if any. Does using a pasword input type input name=password type=password make the transfer more secure from someone sniffing my connection or does it only shield an onlooker

Re: [PHP-DB] password input type

2004-04-05 Thread Jeffrey Moss
It is possible to md5 encrypt a password before you send it off to the server using javascript onSubmit function. Check this code out: http://pajhome.org.uk/crypt/md5/ -Jeff Moss - Original Message - From: matthew perry [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 05,

[PHP-DB] PDFLib

2004-04-05 Thread Nathan Mealey
Has anyone had any experience extracting text from a fulltext field/column in a MySQL DB and, using the PDFLib library, converting it to a PDF on-the-fly? I can create the PDF, but it is taking all of the text (about 6300 characters) and putting it on just one line - which goes off of the

Re: [PHP-DB] PDFLib

2004-04-05 Thread Peter Beckman
I LOVE FPDF. I don't know where I found it, but I can insert images, it wraps text -- it's pretty fantastic. Get it. Beckman On Mon, 5 Apr 2004, Nathan Mealey wrote: Has anyone had any experience extracting text from a fulltext field/column in a MySQL DB and, using the PDFLib library,