Jump to content

php image help needed


satellitejack

Recommended Posts

Hello

 

I need some help in changing 2 php files so that I can grab the first image from an xml file.

 

At the moment ..the xml has an image category called  <UserLogo>img/IMG_1197.JPG</UserLogo>

 

I want to add this  USERLOGO  portion in the 2 php files ..but do not know how to change the code.  On the webpage in question, because the USERLOGO is not incorporated in the php files ..a default image currently shows up on the page:

 

http://222tips.com/test/headlines.php

 

At the moment there are  USERLOGO1 2 3 4 AND 5 Coding in the php files  but I would like to add USERLOGO  to the mix

 

I have attached the 2 php files currently in use  xml_common.php  and xml_functionsheadlines.php  which are used to grab the xml.

 

The xml file is here:

 

http://222tips.com/test/XMLFiles/DNR_TORONTO_HEADLINES.xml

 

any help would be greatly appreciated ..thanks Rob

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/140992-php-image-help-needed/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.