php-general Digest 6 Nov 2011 02:21:27 -0000 Issue 7554

2011-11-05 Thread php-general-digest-help

php-general Digest 6 Nov 2011 02:21:27 - Issue 7554

Topics (messages 315595 through 315601):

Regular Expression
315595 by: drive view
315596 by: Negin Nickparsa
315597 by: drive view
315598 by: Negin Nickparsa

php sqlite
315599 by: saeed ahmed

Re: Google Search Appliance and PHP
315600 by: Negin Nickparsa

Converting string to array index
315601 by: Ethan Rosenberg

Administrivia:

To subscribe to the digest, e-mail:
php-general-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
php-general-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
php-gene...@lists.php.net


--
---BeginMessage---
Hi

I'm new to PHP.  I'm currently trying understand how to apply the patterns
for the preg* commands and I am having difficulty finding a good source
explaining in detail how to build a filter.  I would appreciate if someone
can direct me to such a website.

Thanks

Toni
---End Message---
---BeginMessage---
http://weblogtoolscollection.com/regex/regex.php

On 11/4/11, drive view drivev...@gmail.com wrote:
 Hi

 I'm new to PHP.  I'm currently trying understand how to apply the patterns
 for the preg* commands and I am having difficulty finding a good source
 explaining in detail how to build a filter.  I would appreciate if someone
 can direct me to such a website.

 Thanks

 Toni

---End Message---
---BeginMessage---
Thanks alot Negin for the prompt reply.  This is most useful.

Regards

Best Toni

On Sat, Nov 5, 2011 at 6:30 AM, Negin Nickparsa nickpa...@gmail.com wrote:

 http://weblogtoolscollection.com/regex/regex.php

 On 11/4/11, drive view drivev...@gmail.com wrote:
  Hi
 
  I'm new to PHP.  I'm currently trying understand how to apply the
 patterns
  for the preg* commands and I am having difficulty finding a good source
  explaining in detail how to build a filter.  I would appreciate if
 someone
  can direct me to such a website.
 
  Thanks
 
  Toni
 

---End Message---
---BeginMessage---
your welcome my Friend,I used it myself.

On 11/4/11, drive view drivev...@gmail.com wrote:
 Thanks alot Negin for the prompt reply.  This is most useful.

 Regards

 Best Toni

 On Sat, Nov 5, 2011 at 6:30 AM, Negin Nickparsa nickpa...@gmail.com wrote:

 http://weblogtoolscollection.com/regex/regex.php

 On 11/4/11, drive view drivev...@gmail.com wrote:
  Hi
 
  I'm new to PHP.  I'm currently trying understand how to apply the
 patterns
  for the preg* commands and I am having difficulty finding a good source
  explaining in detail how to build a filter.  I would appreciate if
 someone
  can direct me to such a website.
 
  Thanks
 
  Toni
 


---End Message---
---BeginMessage---
i want to start with php sqlite.which  light weight versions should i
download?i have win xp sp3.
---End Message---
---BeginMessage---
step 2:http://php.net/manual/en/book.xml.php

 try to know about Xml parser

On 11/3/11, Gates, Jeff gat...@si.edu wrote:
 I am a newbie in PHP.

 I need to create a search using Google's Search Appliance for a site I'm
 designing but don't have the slightest idea on how to do it. Because I want
 to incorporate the site's design into the search results page I can't use
 the GSA's simple page layout wizard.

 Here's what I need to be able to learn how to do:


  1.  Create a search form and send it to our GSA (this is pretty easy).
  2.  Create a processing page to parse the XML
  3.  Create a results page using the header and footer of my site.

 Can anyone help me with simple explanation on how to do steps 2 and 3?

 Thanks,

 Jeff

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


---End Message---
---BeginMessage---

Dear list -

I have an associative array that will return a string representing an 
array index.  I now need to convert this string into an actual array index.


$test1 = array
(
e1 = [4][7],
e2 = [5][8]
);

so.. $z = $test1['e1'];
z has the value of [4][7].  I need to convert this string to an array 
index so I can use it in $results[4][7].


How do I do it?

Thanks.

Ethan

MySQL 5.1  PHP 5.3.3-6  Linux [Debian squeeze(sid)]  



---End Message---


[PHP] php sqlite

2011-11-05 Thread saeed ahmed
i want to start with php sqlite.which  light weight versions should i
download?i have win xp sp3.


Re: [PHP] Google Search Appliance and PHP

2011-11-05 Thread Negin Nickparsa
step 2:http://php.net/manual/en/book.xml.php

 try to know about Xml parser

On 11/3/11, Gates, Jeff gat...@si.edu wrote:
 I am a newbie in PHP.

 I need to create a search using Google's Search Appliance for a site I'm
 designing but don't have the slightest idea on how to do it. Because I want
 to incorporate the site's design into the search results page I can't use
 the GSA's simple page layout wizard.

 Here's what I need to be able to learn how to do:


  1.  Create a search form and send it to our GSA (this is pretty easy).
  2.  Create a processing page to parse the XML
  3.  Create a results page using the header and footer of my site.

 Can anyone help me with simple explanation on how to do steps 2 and 3?

 Thanks,

 Jeff

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Converting string to array index

2011-11-05 Thread Ethan Rosenberg

Dear list -

I have an associative array that will return a string representing an 
array index.  I now need to convert this string into an actual array index.


$test1 = array
(
e1 = [4][7],
e2 = [5][8]
);

so.. $z = $test1['e1'];
z has the value of [4][7].  I need to convert this string to an array 
index so I can use it in $results[4][7].


How do I do it?

Thanks.

Ethan

MySQL 5.1  PHP 5.3.3-6  Linux [Debian squeeze(sid)]  




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Converting string to array index

2011-11-05 Thread Bastien


On 2011-11-05, at 10:21 PM, Ethan Rosenberg eth...@earthlink.net wrote:

 Dear list -
 
 I have an associative array that will return a string representing an array 
 index.  I now need to convert this string into an actual array index.
 
 $test1 = array
 (
 e1 = [4][7],
 e2 = [5][8]
 );
 
 so.. $z = $test1['e1'];
 z has the value of [4][7].  I need to convert this string to an array index 
 so I can use it in $results[4][7].
 
 How do I do it?
 
 Thanks.
 
 Ethan
 
 MySQL 5.1  PHP 5.3.3-6  Linux [Debian squeeze(sid)]  
 
 
 -- 
 

Array_flip()?

http://php.net/manual/en/function.array-flip.php


Bastien

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php