-
Help needed with XML (PHP)
Hmm it decided not to post my last response for some reason. Anyway, it worked perfectly and thanks for explaining the reasoning behind it also
-
-
Help needed with XML (PHP)
Didn't work unfortunately, I can't see what's going wrong here
-
Help needed with XML (PHP)
Hi, I'm trying to get the product title's from this xml file that is being returned by the Amazon Product Advertising API. You can see the XML here by clicking on the link at the top http://jamesrwhite.co.uk/testing/xml/ This is a small snippet of the code I'm trying to use at the moment: <?php // request $response = file_get_contents($request); // parse XML $pxml = simplexml_load_string($response); foreach($pxml->BrowseNodeLookupResponse->BrowseNodes->BrowseNode->TopItemSet->TopItem->Title as $title) { echo $title; } ?> I'm not great with XML so I'd really appreciate if anyone could point me in the right direction!
-
-
MAC or PC
Have a look at MAMP (http://www.mamp.info/en/index.html) it is the equivalent of Wamp/Xampp for Mac. Having switched from Windows 7 myself (which I thought was great) I can definitely recommend switching to Mac. It's just down to personal preference though.
-
-
Career in Web Design.....? - 'The passion is there'!
With the exception of CS5 that looks quite promising previous versions of Dreamweaver output very messy code which is less likely to be cross browser compatible in my experience. I use to have the same opinion then I learn't to hand code, if you are serious about a career in Web Design you definitely need to know HTML and CSS very well and be able to write them in your sleep Just my opinion though.
-
Horizontal Lines Photoshop
I think that is just the style of the effect not a fault with your installation, either way there are other methods you could use to achieve a similar effect: A radial gradient A small circular brush with an outer glow added to it
-
Career in Web Design.....? - 'The passion is there'!
Yh keep working on your html and css skills using websites like http://w3schools.com. Practice building templates and if possible websites for friends/family/charity even if it's for free, its all good experience. It's a lot to learn but you'll get there if you put the work in
-
-
CSS drop down menus
You can quote and reply to someone elses post in the same post by the way, you don't need to use up several posts Good Luck.
-
CSS drop down menus
I made this the other day, not sure if it's a great example but from my testing it works in Firefox, Opera and Chrome flawlessly and with a few differences in IE7 and IE8. In IE6 it doesn't work at all.. http://jamesrwhite.co.uk/testing/css/dropdown Any tips on how I could improve on it would probably help both of us
-
Script that shows number of YouTube subscribers?
Awesome thanks, are those types of things called delimiters ? I need to read up on them. They look like they are really useful
-
Script that shows number of YouTube subscribers?
Just out of curiosity what does the "/K/d+%" do ?
-
Drupal or Joomular
There are plenty of e-commerce plugins for both Drupal and Joomla out there which I'm sure allow for quite easy editing of the shops items, prices etc without having to manually change code.
-
-
Any feedback on my Web Site please
^ Yh I would second either changing or removing your background image. Apart from that I think it's really nice and clean
-
Light CMS
I stumbled across Light CMS the other day and after being sceptical at first I looked closer at it and recognized how it actually offered the potential to make a half decent profit if you used it for several clients. To make things clear I am in no way comparing it to Wordpress/Drupal which are great don't get me wrong but if it's just a simple 5-10 page 'static' site that you are making for a client it is a bit of a pain to integrate it into a complex CMS for such a small website. So you could either just code it as a normal html/css website or use some of the many free lightweight CMS out there such as Cushy and SimpleCMS which offer editing usually based on adding a class or comment tag around the content you want to edit. LightCMS still works off these principles by using it's own unique tag to define editable regions but how it's different is it's interface. Once you have set up your template the client can edit text just by clicking on a paragraph, drag and drop boxes around the page adding in complex forms is made easy and much more. And what I think possibly the best part about it is the site is hosted by LightCMS themselves so bandwidth is never an issue and they let you decide the prices to charge per month to your clients. How this works is basically LightCMS charge a fee of say for example $19 a month for their second lowest plan but what you can do is charge your client say $30 a month. LightCMS will bill the client, take their $19 and pay your the remanding sum which in this case is $11 every month. I'm sure as you can imagine if you had say 10 clients on the system it could prove to be quite profitable and you can still charge them for the original design of the site as well. I've never used it personally but I am considering using it on the next 'small' site I make for a client to see how it goes. What do you think ?
-
Making Contact Forms
With a contact form you will mainly be styling the 'label', 'input' and 'submit' buttons You can style label and input just like any other html element: <style> label {color:#333; font-weight:bold;} input {padding:3px; border:1px solid #ccc;} </style> You can also target individual input tags individually although it doesn't work in IE6, not sure about the newer versions of IE ? <style> input[type='text']{padding:3px; border:1px solid #ccc;} input[type='submit']{padding:2px; border:1px solid #999; background:#ccc;} </style> Hope that helps a bit