Results 1 to 2 of 2

Thread: webid php error help

  1. #1
    Join Date
    Apr 2012

    webid php error help


    I am using webid for a website I am doing for a customer and have added some extra fields to the sell item page and just before I submit it, the data I entered is not showing up in the confirm listing bit and was wondering if anyone could point me in the right direction, I did check the error log and found this but am bit unsure what to change or alter

    PHP Parse error: syntax error, unexpected ')', expecting '&' or T_STRING or T_VARIABLE or '$' in /home/sites/247autotrade.com/public_html/sell.php on line 551, referer: http://247autotrade.com/select_category.php

    Below is line 551 from the coding

    foreach ($system->SETTINGS['make'] as $key => $val)

    That line is taken from the following
    PHP Code:
    // MAKE
    $TPL_make '<input type="text" name="make" size="25">' "\n";
    foreach (
    $system->SETTINGS['make'] as $key => $val)
    //$TPL_item_condition .= "\t" . '<option value="' . $key . '" ' . (($key == $condition) ? 'selected="true"' : '') . '>' . $val . '</option>' . "\n";
    $TPL_make .= '</input>' "\n"
    I have a screenshot if anyone needs to see the screenshot of the issue
    Last edited by NogDog; 05-03-2013 at 01:28 PM. Reason: added [php] tags around code

  2. #2
    Join Date
    Jul 2012
    Your issue is probably not on that line, as what ever it's expecting is obviously - not there.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center