Funky slashes in Calc element

Status
Not open for further replies.

felixkat

Senior Member
I placed:-


Code:
$urlclick = "<a href='{testtable___fileupload_raw}' target='_blank' ><img src='testtable___fileupload_raw'></a>";  

return $urlclick;
In a calc element, verifying code for a github post, it seems the slashes are being picked up incorrectly.

{testtable___fileupload_raw} translates to \/images\/IMAG0406.jpg


.
 
can you double check how the data's being stored in the database? I think it might relative path and not a url in which case you would need to str_replace "\" with "/"
 
Strange, the data was being stored incorrectly, (fileupload element), i.e \/ but classically, "I cannot recreate this problem!".

I did update github though as I think this test database was at an old level......

... therefore closing for now.
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top