Jump to content

anybody familiar with {LOOP} ?


Recommended Posts

im trying to help my friend with a script he bought which uses php as the backbone but is edited with front end html templates (i dont know how this works) anyway i came accross this today

 

{LOOP: JOBTYPE}
      IF("{JOBTYPE.parent_id}"!="0"){  {:IF}
      IF("{JOBTYPE.catcount}"=="0"){<input type="checkbox" name="jobtype[{JOBTYPE.id}]" value="{JOBTYPE.id}" {JOBTYPE.selected}>{JOBTYPE.title}<br>{:IF}
      IF("{JOBTYPE.catcount}"!="0"){<strong>{JOBTYPE.title}</strong><br>{:IF}
      {/LOOP: JOBTYPE}

 

which from the IF statement I see its php however it was on his html page?

I presume this is a call from the html to the php script to show data on the page, (sorry if im soundeing a bit muddled I have no idea) however we were wondering is it possible to edit this function? what it does is bringing a list of data back and showing it in 1 long list, is it possible to place it in a select box from which the user can then select his desired variables?

 

I apologise for how shrouded my question may read !  :D

thanks

Link to comment
https://forums.phpfreaks.com/topic/114871-anybody-familiar-with-loop/
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.