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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.