|
Fwd: Re: Re: [PHP-DB] numeric string to single digit array Just as a aside to the list, by replying with "reply all" I was sending a reply to the original sender twice, individually and via the list with Cc so apologies to those concerned. If you want to send a reply to the sender and the list as well, then I suggest just forwarding to the list. I found I was getting the sam... 26 Mar 2008 19:00
Fwd: Re: [PHP-DB] numeric string to single digit array Using this extract from http://ie.php.net/manual/en/control-structures.foreach.php Amaroq 09-Mar-2008 06:40 Even if an array has only one value, it is still an array and foreach will run it. <?php $arr[] = "I'm an array."; if(is_array($arr)) { foreach($arr as $val) { echo $val; } } ... 26 Mar 2008 19:33
HTML Entity Decode I found the following function at http://us.php.net/html_entity_decode. This looks exactly like what I need to filter out information in a text field that's been copied from Word. The "endash" or "–" is not being accepted and my processing page is halting. My question to you is where in my page do I call this f... 26 Mar 2008 12:25
**{SPAM}** [PHP-DB] numeric string to single digit array Richard, Someone might have a quicker/better way, but what about: <?php $numbers = '1223123'; $numberarray = str_split($numbers,1); print_r($numberarray); ?> Thanks, --Dustin Richard Dunne wrote: Can anyone tell me how how to convert a string of integers into an array of single... 25 Mar 2008 20:09
numeric string to single digit array Can anyone tell me how how to convert a string of integers into an array of single digit integers. i.e. "1223123" into ['1','2,','2','3','1,'2','3'] ? When I retreive a column of single digit integers I end up with a long string of numbers. I think PHP is seeing this as one whole number and therefore is not splittin... 26 Mar 2008 15:42
Not updating certain fields in same row Hi everyone, I am attempting to update a record for a login system while leaving certain fields untouched if they arn't changed, and am running into issues. Basically what I want to do, is say I have these fields: Field1 Field2 Field3 Field4 I update Field1 and Field3 but not Field2 and Field4. Wha... 27 Mar 2008 12:38
RES: [PHP] mysql joins not sure how timestamps work in MySQL, but I've written this in Oracle: CREATE TABLE USaR ( UsID char(255) null, Firstname char(255) NULL, Surname char(255) NULL, Tel char(255) NULL, Cell char(255) NULL, Email char(255) NULL ) / CREATE TABLE Tracker( UsID CHAR(255) NULL, Points CHAR(255) ... 25 Mar 2008 09:13
display fetched data in excel format I was looking at this page: http://www-128.ibm.com/developerworks/opensource/library/os-phpexcel/#N10181 Hope this helps. Do you have a link on the pear solution as the pear example seems wrong on the above link? John santosh wrote: Hi All, I am using subquery to fetch data from mysql and... 25 Mar 2008 09:13
HTML & CSS (Off Subject) 911 Help! :-) Hey guys, I know this is a php-database forum. I have tried other forums, and no one seems to be able to help. I need some help on formatting issues. I am trying to create a table that will fit with in my template. I do not want the table width to push the template. I need to have three team... 25 Mar 2008 09:46
Table optimization ideas needed Hi all, I made a post a week ago to ask for the idea of the fastest way to get table records. Fyi, http://phparch.cn/index.php/mysql/35-MySQL-programming/126-fastest-way-to-get-total-records-from-a-table Look at the time even a 'count(1)' took. Then you can imagine how much time sql such as "select a,b from ... 27 Mar 2008 21:54 |