php-general Digest 20 Sep 2009 09:10:03 -0000 Issue 6348

2009-09-20 Thread php-general-digest-help
php-general Digest 20 Sep 2009 09:10:03 - Issue 6348 Topics (messages 298181 through 298194): Re: שנה טובה! 298181 by: John Meyer 298186 by: Dotan Cohen 298192 by: Lester Caine 298194 by: Dotan Cohen How To Apply Php.ini To Multiple Subdirectories?

php-general Digest 20 Sep 2009 22:08:10 -0000 Issue 6349

2009-09-20 Thread php-general-digest-help
php-general Digest 20 Sep 2009 22:08:10 - Issue 6349 Topics (messages 298195 through 298205): Re: How to work with embedded mysql from php. 298195 by: Tommy Pham 298203 by: Tommy Pham 298204 by: Tommy Pham Re: Question: Correcting MySQL's ID colomn when removing an

Re: [PHP] Ckeckbox list populated from database

2009-09-20 Thread saeed ahmed
you can do that here is the example, input name='fieldName' type ='checkbox' ?php if(condition=condition){ echo 'checked=checked';} ? -- Regards, Saeed Ahmed Rajshahi, Bangladesh Blog: http://saeed05.wordpress.com -- Follow Me Linkedin

[PHP] Question: Correcting MySQL's ID colomn when removing an entry

2009-09-20 Thread Parham Doustdar
Hello there, I'm guessing that when a row in a MySQL table is removed, the ID colomns of the rows which come after that row are not changed. For example: 1 2 3 4 Now, if I want to remove the third rows, the ID colomn would be something like: 1 2 4 I was wondering if there was a way to fix it

Re: [PHP] Question: Correcting MySQL's ID colomn when removing an entry

2009-09-20 Thread Lars Torben Wilson
On Sun, 20 Sep 2009 12:07:39 +0430 Parham Doustdar parha...@gmail.com wrote: Hello there, I'm guessing that when a row in a MySQL table is removed, the ID colomns of the rows which come after that row are not changed. For example: 1 2 3 4 Now, if I want to remove the third rows, the ID

Re: [PHP] Question: Correcting MySQL's ID colomn when removing an entry

2009-09-20 Thread Ashley Sheridan
On Sun, 2009-09-20 at 01:06 -0700, Lars Torben Wilson wrote: On Sun, 20 Sep 2009 12:07:39 +0430 Parham Doustdar parha...@gmail.com wrote: Hello there, I'm guessing that when a row in a MySQL table is removed, the ID colomns of the rows which come after that row are not changed. For

Re: [PHP] שנה טובה!

2009-09-20 Thread Lester Caine
Dotan Cohen wrote: I think this is an English language list. The OP was just wishing everyone a happy new year. I then replied back asking him not to CC the list with such matters, but in a flash of brilliance CCed the list (bad, gmail, bad!) myself. I apologize. Actually all that was needed

Re: [PHP] שנה טובה!

2009-09-20 Thread Dotan Cohen
Actually all that was needed was an extra couple of lines in your reply - in english ;) Had I meant to reply to the list, I most certainly would have added that. It is not the first time that I have replied to the wrong entities with Gmail. I must learn to double check the To lines, I know.

[PHP] How to work with embedded mysql from php.

2009-09-20 Thread Nishshanka Sirisena
Hi all. I am developing a peer to peer application which is written in C for windows platform and which contains a web interface using php and html stuffs. In this case for the application I am using embedded mysql library as the database. Now I have a big problem because I have no Idea about How

Re: [PHP] How to work with embedded mysql from php.

2009-09-20 Thread Tommy Pham
--- On Sun, 9/20/09, Nishshanka Sirisena nishsha...@opensource.lk wrote: From: Nishshanka Sirisena nishsha...@opensource.lk Subject: [PHP] How to work with embedded mysql from php. To: php-general@lists.php.net Date: Sunday, September 20, 2009, 3:40 AM Hi all. I am developing a peer to

Re: [PHP] Question: Correcting MySQL's ID colomn when removing an entry

2009-09-20 Thread Phpster
On Sep 20, 2009, at 3:37 AM, Parham Doustdar parha...@gmail.com wrote: Hello there, I'm guessing that when a row in a MySQL table is removed, the ID colomns of the rows which come after that row are not changed. For example: 1 2 3 4 Now, if I want to remove the third rows, the ID

Re: [PHP] Ckeckbox list populated from database

2009-09-20 Thread tedd
At 9:06 PM -0700 9/19/09, Haig Davis wrote: Hello List, I'm relatively new to PHP although I do feel I've got a grasp of the basics. I have used php to draw up numerous selection lists populated from a mysql database and have had no trouble at all. However when it comes to the same concept

Re: [PHP] Question: Correcting MySQL's ID colomn when removing an entry

2009-09-20 Thread tedd
At 12:07 PM +0430 9/20/09, Parham Doustdar wrote: Hello there, I'm guessing that when a row in a MySQL table is removed, the ID colomns of the rows which come after that row are not changed. For example: 1 2 3 4 Now, if I want to remove the third rows, the ID colomn would be something like:

[PHP] Random Flash Movies

2009-09-20 Thread Gary
A question was posted on another board that the poster wanted random flash movies to display as the page is reloaded. I posted the script below and said I thought it could be adapted but that the echo would probably need to change. Can someone offer some guidance on this? Thanks Gary ?

Re: [PHP] Random Flash Movies

2009-09-20 Thread Ashley Sheridan
On Sun, 2009-09-20 at 11:30 -0400, Gary wrote: A question was posted on another board that the poster wanted random flash movies to display as the page is reloaded. I posted the script below and said I thought it could be adapted but that the echo would probably need to change. Can

Re: [PHP] Question: Correcting MySQL's ID colomn when removing an entry

2009-09-20 Thread Paul M Foster
On Sun, Sep 20, 2009 at 12:07:39PM +0430, Parham Doustdar wrote: Hello there, I'm guessing that when a row in a MySQL table is removed, the ID colomns of the rows which come after that row are not changed. For example: 1 2 3 4 Now, if I want to remove the third rows, the ID colomn

Re: [PHP] Random Flash Movies

2009-09-20 Thread Eddie Drapkin
On Sun, Sep 20, 2009 at 11:33 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Sun, 2009-09-20 at 11:30 -0400, Gary wrote: A question was posted on another board that the poster wanted random flash movies to display as the page is reloaded.  I posted the script below and said I thought

Re: [PHP] How to work with embedded mysql from php.

2009-09-20 Thread Tommy Pham
From: Nishshanka Sirisena nishsha...@opensource.lk To: Tommy Pham tommy...@yahoo.com Sent: Sunday, September 20, 2009 7:13:02 AM Subject: Re: [PHP] How to work with embedded mysql from php. I tried with Mysqli using mysqli_server_init() and mysql_server_end() functions and I am using Lighttpd

Re: [PHP] How to work with embedded mysql from php.

2009-09-20 Thread Tommy Pham
- Original Message From: Tommy Pham tommy...@yahoo.com To: general php php-general@lists.php.net Sent: Sunday, September 20, 2009 9:22:19 AM Subject: Re: [PHP] How to work with embedded mysql from php. From: Nishshanka Sirisena To: Tommy Pham Sent: Sunday, September 20, 2009

[PHP] Creating file name with $variable

2009-09-20 Thread Haig Davis
Good Afternoon All, Thanks for the help with the checkbox issue the other day. Todays question: I want to create a filename.php from a variable more specifically the results if a mySQL query I.e. userID + orderNumber = filename. Is this possible? 'cause I've tried every option I can think

[PHP] Re: Creating file name with $variable

2009-09-20 Thread Ralph Deffke
Hi Haig, it would be better if u tell us what purpose u want to solf with this approuch. Its hard to understand for a prov why u want to create a filename .php .php files are scrips containing functions or classes, called/instantinated with parameters. why the hell u want to create a filename

[PHP] more info. help?

2009-09-20 Thread johny why
webhost tells me they do not support PHPRC in htaccess. any help? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Creating file name with $variable

2009-09-20 Thread Tommy Pham
- Original Message From: Ralph Deffke ralph_def...@yahoo.de To: php-general@lists.php.net Sent: Sunday, September 20, 2009 3:43:24 PM Subject: [PHP] Re: Creating file name with $variable Hi Haig, it would be better if u tell us what purpose u want to solf with this approuch.

[PHP] Is an E_STRICT warning when overwriting a static method with a different parameter list desired?

2009-09-20 Thread Martijn Evers
Hi, I was wondering if an E_STRICT error is desired when a static method is overwritten with a other parameter list. The error I'am getting is: Strict Standards: Declaration of Sub::doSomething() should be compatible with that of Base::doSomething() When I run this code:

[PHP] Usage of strlen(tuf8_decode()) and /u regex modifier

2009-09-20 Thread GoForThisWorld
Hello, As indicated below, the strlen(tuf8_decode()) and the /u regex modifier do not work as per my understanding. 1) What is my misunderstanding? ?php $the_string = '#1052;#1072;#1088;#1080;#1085;#1072; #1054;#1088;#1083;#1086;#1074;#1072;'; echo