t;Center for the Study of Language and Inf"
["Subjects"]=>
object(SimpleXMLElement)#16 (1) {
["Subject"]=>
array(2) {
[0]=>
string(58) "Amazon.com -- Nonfiction -- Philosophy -- Logic &
Language"
[1]=>
string(32) "Amazon.com -- Science -- General"
}
}
}
}
Notice that I lose the attribute subject_id from the Subject tag. Why is
this?? Is there any way from preventing it from happening??
Thanks in advance,
Alex Chamberlain
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Have you considered using some type of templating system, which can use
class_exists??
Alex
No virus found in this outgoing message. Scanned by AVG Free 8.0
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.9.11/1820 - Release Date: 29/11/2008
18:52
--
PHP General Mai
> Nathan Rixham wrote:
> > Evening All,
> >
> > I'm feeling the need to either start or contribute to something
> > opensource and in PHP.
> >
> > Anybody have any worthy causes or projects they'd like to collab on
> to
> > get off the ground; open to all options preference going to anything
> > fr
> >>> Evening All,
> >>>
> >>> I'm feeling the need to either start or contribute to something
> >>> opensource and in PHP.
> >>>
> >>> Anybody have any worthy causes or projects they'd like to collab on
> >> to
> >>> get off the ground; open to all options preference going to
> anything
> >>> fram
> > Evening All,
> >
> > I'm feeling the need to either start or contribute to something
> > opensource and in PHP.
> >
> > Anybody have any worthy causes or projects they'd like to collab on
> to
> > get off the ground; open to all options preference going to anything
> > framework, orm, webservic
> Evening All,
>
> I'm feeling the need to either start or contribute to something
> opensource and in PHP.
>
> Anybody have any worthy causes or projects they'd like to collab on to
> get off the ground; open to all options preference going to anything
> framework, orm, webservice or basically a
> -Original Message-
> From: Stut [mailto:[EMAIL PROTECTED]
> Sent: 27 October 2008 15:21
> To: Alex Chamberlain
> Cc: PHP General list
> Subject: Re: [PHP] preg_match
>
> On 27 Oct 2008, at 15:08, Alex Chamberlain wrote:
> > I don’t understand regular expre
Hi,
I don’t understand regular expressions at all – I will make an effort to
learn about them one day, but I need a solution today. I want to use the
__autoload function, but not for all my class only those that finish in
‘Controller’. So for instance,
‘ErrorController’ should load ‘errorcontroll
Thanks for your suggestion!! Sounds like a good route to go down with the API
access. Really struggling with the pending 'list' at the moment. Suppose I have
got 2 tables `product` and `description`. `product` contains `EAN`, `name`,
`last_modified` and `description` contains `EAN` and `descript
Hi,
I am looking to set up a new 'public' database for barcodes. There are a
couple of barcode databases out there, namely http://www.upcdatabase.com/
and http//en.barcodepedia.com/. UPC Database is old fashioned and over run
by Google ads, but does provide an (unsecure) XML-RPC interface.
Barcode
://localhost/kayaknames/closed/closed.htm [L]
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
Kayak Names
http://localhost/kayaknames/closed/closed.png"; alt="Kayak
Names" />
> -Original Message-
> From: Alex Chamberlain [mailto:[EMAIL PROT
Hi,
>From time to time, I will need to update my website. During this time, I
would like to forward all traffic to a ‘closed for site maintenance’ page.
This page will have an image. I’ve had a go using mod_redirect:
RewriteEngine on
RewriteRule ^.*/splash.png$ http://localhost/kayaknames/closed/
the problem??
Thanks,
Alex Chamberlain
No virus found in this outgoing message. Scanned by AVG Free 8.0
Checked by AVG - http://www.avg.com
Version: 8.0.138 / Virus Database: 270.6.6/1621 - Release Date: 19/08/2008
18:53
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
1.7763568394E-15 is 0. The computer just had a rounding error somewhere. We
had this discussion a few weeks ago, the solution being to decide to what
accuracy you want the answer. Upto 14 decimal places will give you 0 here!!
Alex
> -Original Message-
> From: Robert Cummings [mailto:[EMAI
> This one time, at band camp, "Alex Chamberlain"
> <[EMAIL PROTECTED]> wrote:
>
>
> > Has anybody had any success implementing an OpenID server in PHP??
>
> Sure, I had mine all set up on oceania.net and then the domain got
> stolen. So, all my OpenID
Hi,
Has anybody had any success implementing an OpenID server in PHP??
Alex
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> -Original Message-
> From: Rod Clay [mailto:[EMAIL PROTECTED]
> Sent: 15 July 2008 22:36
> To: php-general@lists.php.net
> Subject: [PHP] is there a problem with php script pulling HTML out of
> database as it writes the page??
>
> Hello. Again, I'm fairly new to php so please forgive
> On Mon, 2008-07-14 at 16:25 -0400, Daniel Brown wrote:
> > On Mon, Jul 14, 2008 at 4:15 PM, Robert Cummings
> <[EMAIL PROTECTED]> wrote:
> > >
> > > Nope, banks can't round like that when calculating your daily
> > > interest :)
> >
> > If it works in their favor, you'd be surprised what they
[quote]
I don't quite understand your problem, but I use integers for any monetary
workings as you can guarantee it is accurate (obviously, you work in pence
or cents rather than GBP or USD).
Alex
Hello Alex,
I was reading through this thread, and I was curious about what methods you
use t
> On Mon, Jul 14, 2008 at 3:51 PM, Daniel Brown <[EMAIL PROTECTED]>
> wrote:
> >
> >You're performing math to get the result for $totChargeDiff by
> > subtracting $totalCharges from $endingBal. That will give you -0.10
> > in this case, because 0.10 - 0.20 = -0.10. You want the difference,
>
> I am totally buffaloed by a set of very simple calculations that I am
> doing;
>
> /* calculate total balance with payments and adjustments */
> $totalBalance = $acct['BALANCE'] + $adjBalance;
> echo number_format($totalBalance, 2, '.', '')."\t";
>
> /* calculate total
> Alex Chamberlain wrote:
> > The server and client will initially be programmed in PHP, so I
> wanted to
> > gather some opinion on whether people wanted another SAS, and what
> would
> > make them use it over any other?? The company will be there, not
> > only
Ahh, but they are on different webservers
At the moment, I am just using a query string. How long is the limit of the
query string??
Alex
> -Original Message-
> From: tedd [mailto:[EMAIL PROTECTED]
> Sent: 11 July 2008 17:12
> To: Alex Chamberlain; PHP General list
&
10 July 2008 20:12
> To: Daniel Brown
> Cc: [EMAIL PROTECTED]; Alex Chamberlain; PHP General list
> Subject: Re: [PHP] Relocating and POSTing
>
> On Thu, Jul 10, 2008 at 2:58 PM, Daniel Brown <[EMAIL PROTECTED]>
> wrote:
> > On Thu, Jul 10, 2008 at 2:32 PM, Richard He
I need to send a header('Location:') and send some data along with it -
how would I do this??
Thanks,
Alex
No virus found in this outgoing message. Scanned by AVG Free 8.0
Checked by AVG - http://www.avg.com
Version: 8.0.138 / Virus Database: 270.4.7/1544 - Release Date: 10/07/2008
07:37
> Hi Folks,
>
> I have just successfully lobbied for the company I work for to use
> PHP/MySQL for our next website. My Question is regarding DB abstraction
> . I know there is a Pear DB module, is this the best to use ? I have a
> vague memory of reading somewhere that there is a newer lib o
26 matches
Mail list logo