I bought a script and developer is not responding after I paid(1 hour they said of work to tell me below) them to modify code. I wanted to duplicate a field in the existing code by copy and past but of course this did not work. The code I want to duplicate is:
<td class="dt2 dt0"><?php echo $this->lang->line('Description');?>:</td>
<td class="dt2" colspan="3"><?php echo wordwrap($job->description,100,"<br>",true); ?></td>
</tr>
The code they gave me to add is:
<tr class="">
<td class="dt2 dt0"><?php echo $this->lang->line('description2');?>:</td>
<td class="dt2" colspan="3"><?php echo wordwrap($job->description2,100,"<br>",true); ?></td>
</tr>
Then the told me to goto phpmyadmin and query database with:
ALTER TABLE 'jobs' ADD 'description2' text COLLATE 'utf8_general_ci' NOT NULL AFTER 'description',COMMENT=";
When I do this code the output value is same for duplicate as the original. If I change the duplicated $job->description2 like they said I get error on page:
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$description2
Filename: job/view_job.php
Line Number: 427
So I figured since I bought the code from them on their website that they would have been helpful, but obviously its not their code and keep asking me for ftp to my server to fix it so I am leary.
I searched on here about std error and seen examples or adding a new stdclass:
$jobs=new stdClass();
$jobs->name='discription';
$jobs->status=1;)
but it did not do anything for error. Any help would be appreciated.