php-general Digest 12 Apr 2010 00:16:16 -0000 Issue 6687

2010-04-11 Thread php-general-digest-help
://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ Information from ESET NOD32 Antivirus, version of virus signature database 5017 (20100411) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __ Information from ESET NOD32 Antivirus

RE: [PHP] Inserting into multiple tables

2010-04-11 Thread Tommy Pham
Hi Gary, -Original Message- From: Gary [mailto:gwp...@ptd.net] Sent: Saturday, April 10, 2010 2:28 PM To: php-general@lists.php.net Subject: [PHP] Inserting into multiple tables I am experimenting with multiple tables, it is only a test that is my local machine only. This is the

Re: [PHP] Re: PHP execute very slow : PHP Version 5.2.6

2010-04-11 Thread kranthi
have you tried using a profiler like xdebug? or may be it is not a php issue at all.. i find https://addons.mozilla.org/en-US/firefox/addon/1843 to be helpful in these situations -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Determining Top # from MySQL

2010-04-11 Thread Floyd Resler
On Apr 10, 2010, at 10:02 PM, Ashley M. Kirchner wrote: Given a MySQL query like this $q = select num from table, I get a result like this: +---+ |num| +---+ | 1| | 4| | 6| | 2| | 4| | 5| | 3| | 2| | 4| | 2| | 3| | 3| | 2|

Re: [PHP] Inserting into multiple tables

2010-04-11 Thread Gary
Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ Information from ESET NOD32 Antivirus, version of virus signature database 5017 (20100411) __ The message was checked by ESET NOD32

[PHP] Re: PHP execute very slow : PHP Version 5.2.6

2010-04-11 Thread Al
On 4/10/2010 9:07 PM, Kristijan Marin wrote: Hi, I'm experiencing very slow performance of my php scripts ... At first and for a long time I thought it was Oracle fault cause I didn't use binding (I rewrote the code ), but the performance is still bad. So I tested my sql statement and did

Re: [PHP] need help w/ unfamiliar syntax

2010-04-11 Thread Daniel Egeberg
On Sun, Apr 11, 2010 at 20:30, lala l...@mail.theorb.net wrote: Hi all, I've wasted two days trying to find this in the documentation.  Google is no help here either; they only index text. While looking at some code using objects I came across this:    $this-{$spec} The example works

Re: [PHP] Inserting into multiple tables

2010-04-11 Thread Nathan Rixham
Gary wrote: Adam Thank you for your well thought out response. Two points: I did not include any anti-injection functions because this was an experiment for multiple tables, it is on my machine only. Since these are php scripts, I dont think anyone will mind (not to mention this

Re: [PHP] Re: imagecopyresize

2010-04-11 Thread Karl DeSaulniers
Hello all. I got my script to work, however, I am very new to php and I feel that it is just way to bloated and a tad bit sloppy. You can find a copy of my script here: http://designdrumm.com/upload_images_test.php.zip If anyone knows a way to shrink this or a way to short-hand most of it,

[PHP] PHP MYSQL sorting

2010-04-11 Thread Ernie Kemp
Simple idea I thought. I need a webpage that displays a drop down list of number with a checkbox on the side that when checked will select the database again only in descending order. Small database with maybe 100 records. The user can click the submit button when they have located

Re: [PHP] PHP MYSQL sorting

2010-04-11 Thread kranthi
You can use javascript to trigger an onclick function every time a checkbox is selected. The onclick function can make an ajax call to a remote php script which can then make the database query.

Re: [PHP] need help w/ unfamiliar syntax

2010-04-11 Thread kranthi
guess you are looking for http://www.php.net/manual/en/language.types.string.php#language.types.string.parsing -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP MYSQL sorting

2010-04-11 Thread Nilesh Govindarajan
On 04/12/10 05:46, Ernie Kemp wrote: Simple idea I thought. I need a webpage that displays a drop down list of number with a checkbox on the side that when checked will select the database again only in descending order. Small database with maybe 100 records. The user can click the submit

Re: [PHP] need help w/ unfamiliar syntax

2010-04-11 Thread Robert Cummings
Daniel Egeberg wrote: On Sun, Apr 11, 2010 at 20:30, lala l...@mail.theorb.net wrote: Hi all, I've wasted two days trying to find this in the documentation. Google is no help here either; they only index text. While looking at some code using objects I came across this: $this-{$spec}

[PHP] Mail Function Problem

2010-04-11 Thread Alice Wei
Hi, I have an issue here where I see no PHP errors on my mail function usage, and yet I am not getting the mail in the desired account. Here is what I have for my PHP code: $headers = From: aj...@alumni.iu.edu; $to = aj...@alumni.iu.edu ; $subject = Comments Regarding My Studio; $body =

Re: [PHP] Inserting into multiple tables

2010-04-11 Thread Paul M Foster
On Sun, Apr 11, 2010 at 12:21:28AM -0400, Gary wrote: snip Most of the information about mutilple tables deals with the retreval of data from, not inserting into, meaning they are more used for known data inserted by the database owner/administrator to be retrieved by queries into the DB.

Re: [PHP] Mail Function Problem

2010-04-11 Thread Kevin Kinsey
Alice Wei wrote: Hi, I have an issue here where I see no PHP errors on my mail function usage, and yet I am not getting the mail in the desired account. Here is what I have for my PHP code: $headers = From: aj...@alumni.iu.edu; $to = aj...@alumni.iu.edu ; $subject = Comments Regarding My