updating path issue - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: updating path issue (/showthread.php?tid=44974) |
updating path issue - El Forum - 09-02-2011 [eluser]amipaxs[/eluser] hello , I saved temp image data in a parent table and the rezised images data on a child table, I want to be able to change two fields in both tables, but the problem I came across actually is how to rename path(ruta) in the child table. for example(in child table): name path id_image cape horn /upload/img1024x768/cape-horn.jpg 102 cape horn /upload/img800x600/cape-horn.jpg 102 cape horn /upload/img1280x960/cape-horn.jpg 102 what if i want to edit name from Cape horn to Strait of Magellan , how can I update what lies after the third forward slash? thanks in advance |