image linking problem

More
11 years 11 months ago #25164 by andy33333054
Replied by andy33333054 on topic image linking problem
Hi,
That doesn't work either. Please can you test at your end.
Attachments:

Please Log in to join the conversation.

More
11 years 11 months ago #25174 by ivan.milic
Replied by ivan.milic on topic image linking problem
Yes,
new code:
Code:
$ind = 0; while($ind < count($linksList)){ if(!trim($linksList[$ind])){ unset($linksList[$ind]); }else $ind++; } }


closing bracket in if(!trim($linksList[$ind])){

Please Log in to join the conversation.

More
11 years 11 months ago #25181 by andy33333054
Replied by andy33333054 on topic image linking problem
Your code has 3 curly closing brackets but only 2 opening ones

When I delete the last curly closing bracket - the syntax is correct but the code doesn't work. Please advise

Please Log in to join the conversation.

More
11 years 11 months ago #25183 by ivan.milic
Replied by ivan.milic on topic image linking problem
Yes, yes { after else:
Code:
$ind = 0; while($ind < count($linksList)){ if(!trim($linksList[$ind])){ unset($linksList[$ind]); }else{ $ind++; } }

Please Log in to join the conversation.

More
11 years 11 months ago #25187 by andy33333054
Replied by andy33333054 on topic image linking problem
Hi,

OK. Syntax is fine but the code doesn't work.

See www.hamrah.co/en/download-flyers

I've emptied my cache but no joy

Please Log in to join the conversation.

More
11 years 11 months ago #25188 by andy33333054
Replied by andy33333054 on topic image linking problem
Hi,

Here is the file default.php. Please check it or send me a new one. Please help me fix this otherwise I've wasted hours.

If you can't get the first image to respond, can you just make all images hyperlink to the same place?

Please Log in to join the conversation.

Time to create page: 0.086 seconds
Powered by Kunena Forum