[PHP] Re: dynamically generating and retrieving page data using flat files

2010-05-08 Thread Al
On 5/8/2010 9:41 PM, David Mehler wrote: Hello, I've got a project that i have to reference information stored on one page from another. This page I won't be visiting first, and at the moment i'd prefer to use flat php files, but should that prove to hard i'll transition to a mysql database. I'

Re: [PHP] dynamically generating and retrieving page data using flat files

2010-05-08 Thread Karl DeSaulniers
Just a wild stab, but maybe hidden form fields and javascript pr php? Karl On May 8, 2010, at 8:41 PM, David Mehler wrote: Hello, I've got a project that i have to reference information stored on one page from another. This page I won't be visiting first, and at the moment i'd prefer to use f

[PHP] dynamically generating and retrieving page data using flat files

2010-05-08 Thread David Mehler
Hello, I've got a project that i have to reference information stored on one page from another. This page I won't be visiting first, and at the moment i'd prefer to use flat php files, but should that prove to hard i'll transition to a mysql database. I'm looking for simplicity and maintainability.

[PHP] PHP GD - Create a "flag"

2010-05-08 Thread Giorgio
Hi, i've just started using GD libraries. My purpose is to create something like a flag. So that i have a 600*600 px background image, and a 1*1 px image for each colour I need. Ok now let's say i want to colour a third of the background image. I can use this code: imagecopymerge($base, $img1,

Re: [PHP] simplexml choking on apparently valid XML

2010-05-08 Thread Peter Lind
On 8 May 2010 00:39, Nathan Nobbe wrote: > > hmm, both the strings seem to work fine on my laptop: > +1. Have no problem with either string -- WWW: http://plphp.dk / http://plind.dk LinkedIn: http://www.linkedin.com/in/plind Flickr: http://www.flickr.com/photos/fake51 BeWelcome: Fake51 Couchs

Re: [PHP] simplexml choking on apparently valid XML

2010-05-08 Thread Deva
& - & amp; added space because browser is converting it to & :) On 5/8/10, Deva wrote: > I think that "&" should be & because you cant use "&" in xml as > independent alphbet > > On 5/7/10, Dan Joseph wrote: >> On Thu, May 6, 2010 at 8:02 PM, Brian Dunning >> wrote: >> >>> Hey all - >>> >>> I'm

Re: [PHP] simplexml choking on apparently valid XML

2010-05-08 Thread Deva
I think that "&" should be & because you cant use "&" in xml as independent alphbet On 5/7/10, Dan Joseph wrote: > On Thu, May 6, 2010 at 8:02 PM, Brian Dunning wrote: > >> Hey all - >> >> I'm using simplexml-load-string just to validation a string of XML, and >> libxml-get-errors to return any e

Re: [PHP] Finding similar results with php from mysql

2010-05-08 Thread Merlin Morgenstern
Am 08.05.2010 03:04, schrieb David McGlone: On Friday 07 May 2010 19:37:32 Merlin Morgenstern wrote: Hi there, I am searching for a way to show the user similar records from the mysql database. A functionality like "this could also be of interest to you". Does anybody know if this is there is