Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help fixing error!
07-13-2012, 02:11 PM
Post: #2
RE: Need help fixing error!
(07-13-2012 11:43 AM)trytofly Wrote:  Hi,

Please help me fix that error:

Parse error: syntax error, unexpected T_IF, expecting T_WHILE in /home/gin/public_html/sks/classes/import_export.php on line 864

Thanks for help!

http://ru2.php.net/manual/en/control-str....while.php

maybe so
PHP Code:
...................................................................
do
{
    if ( !( 
$this->xml_tags[$i]['field'] == $this->curr_element || $this->xml_tags[$i]['alias'] == $this->curr_element ) )
    {
        break;
    }
    else
    {
        if ( isset( 
$this->row_array[$this->xml_tags[$i]['field']] ) )
        {
            
$this->row_array[$this->xml_tags[$i]['field']] .= $data;
        }
        else
        {
            
$this->row_array[$this->xml_tags[$i]['field']] = $data;
        }
        break;
    }
}while ( 
); //THERE
if ( ( $this->xml_tags[$i]['field'] == $this->curr_element || $this->xml_tags[$i]['alias'] == $this->curr_element ) && !isset( $this->row_array[$this->xml_tags[$i]['field']] ) )
{

................................................................... 
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Need help fixing error! - trytofly - 07-13-2012, 11:43 AM
RE: Need help fixing error! - 2nick - 07-13-2012 02:11 PM
RE: Need help fixing error! - trytofly - 07-15-2012, 10:21 AM
RE: Need help fixing error! - gerard - 07-13-2012, 05:29 PM
RE: Need help fixing error! - kingofseo - 07-16-2012, 01:48 PM
RE: Need help fixing error! - trytofly - 07-17-2012, 11:31 AM
RE: Need help fixing error! - kingofseo - 07-17-2012, 02:03 PM
RE: Need help fixing error! - trytofly - 07-19-2012, 10:06 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)

Contact Us | Homepage | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication