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 Regardi

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: > > 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.

[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] need help w/ unfamiliar syntax

2010-04-11 Thread Robert Cummings
Daniel Egeberg wrote: On Sun, Apr 11, 2010 at 20:30, lala 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 wi

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 butt

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 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.

[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 the

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,

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

Re: [PHP] need help w/ unfamiliar syntax

2010-04-11 Thread Daniel Egeberg
On Sun, Apr 11, 2010 at 20:30, lala 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 with or witho

[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] Inserting into multiple tables

2010-04-11 Thread Gary
se 5016 (20100410) __ The message was checked by ESET 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 50

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| > > |

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