Jump to content

Changing Existing image


dashysearching

Recommended Posts

Hi everyone,

 

I am fetching data from an xml file where the format is

              <firstname>David</firstname>

              <lastname>Rosberg</lastname>

              <division>ABC</division>

              <photolink>1_thumb.jpg</photolink>

Using xforms i am able to change the firstname, lastname and divison fields but i am not able to change photolink from the webform.

 

I need the user to change the existing image so that the new link is updated or replaced in the XML file.

 

Can someone help me ????

Link to comment
https://forums.phpfreaks.com/topic/74505-changing-existing-image/
Share on other sites

Thanks for early reply.

 

I will remodify the query, the XML file is on the server and when the user changes or uploads a new image, the old path in the xml file should be replaced by the new path ,so that when the user (client-side) logs in again the new image is available.

 

For this purpose the string replace function will not work.

 

Please reply.

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.