Jump to content


Help!! xml + php = pain in the a**

  • Please log in to reply
1 reply to this topic

#1 Michael2k5

  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 12 April 2006 - 02:44 AM

Help! I was wondering if there is a way to easilly pull something from an XML file onto a page. If you could help that would be great! Thanks

help me before i go crazy

#2 Yesideez

  • Members
  • PipPipPip
  • Advanced Member
  • 2,334 posts
  • LocationDevon, UK

Posted 12 April 2006 - 08:20 AM

There probably is but without posting a sample of the XML file and any existing code you have, not too easy for us to help.

PHP has some great string manipulation functions.

Here is a guide: [a href=\"http://uk.php.net/strings\" target=\"_blank\"]PHP Strings[/a]

Have a read through, particularly the functions to search for a string, replace a string and return part of a string.

The great thing about XML files is you know the format already.
Not a pro just an enthusiast :)

if (empty($coffee)) {$coffee=new coffee();}

Please surround any code using the CODE tags - I rarely look at anything without them

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users