troubleshooting Question

Trying to split?

Avatar of jeremyBass26
jeremyBass26Flag for United States of America asked on
PHP
8 Comments1 Solution300 ViewsLast Modified:
Hello, So I have this that I'm trying to come back to... it's an old question that no one was "able" to answer for me...

I have two things
{emps_grd:{row|0,employer|asdfasdf,address|asdfasdf,phone|asdf,supervisor|asdf,contact|false,wage|,duties|,from|Mon Jun 2 00:00:00 GMT-0700 2008,to|,reason|},{row|1,employer|new Employee,address|asdfasdf,phone|,supervisor|asdfadf,contact|false,wage|asdfasdf,duties|,from|Tue Jun 3 00:00:00 GMT-0700 2008,to|Thu Jun 19 00:00:00 GMT-0700 2008,reason|}}

{jobs_picks:{Job_Pick`0|CNA - MEDICAL UNIT},{Job_Pick`1|Unit Secretary / CNA Mental Health Center},{Job_Pick`2|CREDIT COUNSELOR},{Job_Pick`3|UNIT SECRETARY - ICU/PCU},{Job_Pick`4|CNA - SURGICAL UNIT},{Job_Pick`5|CNA - SURGICAL UNIT}}

each need to be ???split???

the out put I'm looking for is

CNA - MEDICAL UNIT<br/>
Unit Secretary / CNA Mental Health <br/>
etc...
for the job picks

(I'm betting this is more straight forward, I just have not getting it to work yet)

and

employer : asdfasdf<br/>
address : asdfasdf<br/>
phone  :asdf<br/>
supervisor : asdf<br/>
contact : false<br/>
wage :<br/>
duties :<br/>
from : Mon Jun 2 00:00:00 GMT-0700 2008<br/>
to :<br/>
reason : <br/>



the plan is to then take the empsgrd and make reason into Reason etc...

it's going into an area like this

      <tr>
        <td><?= $m9feu_input__APPz_emps_grd;?>
<span>(1) Employer and Address
            <br/>Job Title and Duties </span></td>
        <td><span>Dates of Employment
            <br/>From To
            <br/>Final Salary $ </span></td>
        <td><span>Name of Supervisor Phone # May we contact? <br/>Yes______  No ______ Reason for Leaving </span><br/></td>
      </tr>

so I'm thinking that if i ??split it then I can run it through a loop and output <tr> after <tr> until there are no more "rows" left....

I hope that makes sense... Please If it does not please let me know I'll try to clear the air...

I'm open to any ideas... but this is one of those questions I need examples of working models and the how it works... As I really don't get the key things or  well here is the old question...
https://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_23531863.html
Should prove I don't get this end of it to well... which is why the examples are needed...

Thank you for the help here... I sure need it on this... Have a great one...
jeremyBass
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 8 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros