icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » PHP, MySQL » Need some help here please!!!

PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >>

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old October 23rd, 2004, 11:41 AM   #10 (permalink)
Registered User
Comfy Contributor
 
blaze's Avatar
 
Joined in Aug 2004
Lives in Las Vegas
Hosted on pass11, pass12
187 posts
Gave thanks: 0
Thanked 0 times
Now I get the following error:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/*****/public_html/modules/mod_hp_featuredprop_wpic.php on line 51.

The line error is: . "nLIMIT 0, ".$count );
__________________
-- BlaZe --
............
blaze is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 23rd, 2004, 11:43 AM   #11 (permalink)
Surpass Fan
Comfy Contributor
 
pbflash's Avatar
 
Joined in Sep 2004
209 posts
Gave thanks: 0
Thanked 0 times
Remove one of the quotes after f.ordering RAND. I need another cup of coffee.
__________________
Pass14
www.tqwebservices.com
www.autoappraisalsunlimited.com
www.clevelandlayne.com
Pass18
www.estateagency.com.au

Some people drink deeply from the fountain of knowledge. Others just gargle.
pbflash is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 23rd, 2004, 11:57 AM   #12 (permalink)
Registered User
Comfy Contributor
 
blaze's Avatar
 
Joined in Aug 2004
Lives in Las Vegas
Hosted on pass11, pass12
187 posts
Gave thanks: 0
Thanked 0 times
Now I get the error:

Parse error: parse error, unexpected '}' in /home/*****/public_html/modules/mod_hp_featuredprop_wpic.php on line 74

Line error: $num = 1}
__________________
-- BlaZe --
............
blaze is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 23rd, 2004, 12:01 PM   #13 (permalink)
Surpass Fan
Comfy Contributor
 
pbflash's Avatar
 
Joined in Sep 2004
209 posts
Gave thanks: 0
Thanked 0 times
As you can see I'm still half asleep. Change the line to $num = 1;
__________________
Pass14
www.tqwebservices.com
www.autoappraisalsunlimited.com
www.clevelandlayne.com
Pass18
www.estateagency.com.au

Some people drink deeply from the fountain of knowledge. Others just gargle.
pbflash is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 23rd, 2004, 12:06 PM   #14 (permalink)
Registered User
Comfy Contributor
 
blaze's Avatar
 
Joined in Aug 2004
Lives in Las Vegas
Hosted on pass11, pass12
187 posts
Gave thanks: 0
Thanked 0 times
Considering this is the last line, this will probably be the last error. :P

Parse error: parse error, unexpected '}' in /home/*****/public_html/modules/mod_hp_featuredprop_wpic.php on line 89

Line error: } ?>
__________________
-- BlaZe --
............
blaze is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 23rd, 2004, 12:11 PM   #15 (permalink)
Surpass Fan
Comfy Contributor
 
pbflash's Avatar
 
Joined in Sep 2004
209 posts
Gave thanks: 0
Thanked 0 times
Probably not the last error but another stupid one.

After line 74 $num = 1;
Enter a new line

<?PHP if ($num == 6){
echo '<br />';
$num = 1;
}
__________________
Pass14
www.tqwebservices.com
www.autoappraisalsunlimited.com
www.clevelandlayne.com
Pass18
www.estateagency.com.au

Some people drink deeply from the fountain of knowledge. Others just gargle.
pbflash is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 23rd, 2004, 12:15 PM   #16 (permalink)
Registered User
Comfy Contributor
 
blaze's Avatar
 
Joined in Aug 2004
Lives in Las Vegas
Hosted on pass11, pass12
187 posts
Gave thanks: 0
Thanked 0 times
Parse error: parse error, unexpected '<' in /home/*****/public_html/modules/mod_hp_featuredprop_wpic.php on line 75

line error: <?PHP if ($num == 6){
__________________
-- BlaZe --
............
blaze is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 23rd, 2004, 12:21 PM   #17 (permalink)
Surpass Fan
Comfy Contributor
 
pbflash's Avatar
 
Joined in Sep 2004
209 posts
Gave thanks: 0
Thanked 0 times
Found another error.
Change line 89 to

$num = $num + 1;
__________________
Pass14
www.tqwebservices.com
www.autoappraisalsunlimited.com
www.clevelandlayne.com
Pass18
www.estateagency.com.au

Some people drink deeply from the fountain of knowledge. Others just gargle.
pbflash is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 23rd, 2004, 12:31 PM   #18 (permalink)
Registered User
Comfy Contributor
 
blaze's Avatar
 
Joined in Aug 2004
Lives in Las Vegas
Hosted on pass11, pass12
187 posts
Gave thanks: 0
Thanked 0 times
Well, made the changes to line 89 as you said, but still got the same error as before.

Parse error: parse error, unexpected '<' in /home/*****/public_html/modules/mod_hp_featuredprop_wpic.php on line 75

line error: <?PHP if ($num == 6){

Now I believe this error is corrected by adding ?> just above line 75, right? Well, I did this and then I got this new error:

Parse error: parse error, unexpected $ in /home/*****/public_html/modules/mod_hp_featuredprop_wpic.php on line 94

Line 94 reads: } ?>
__________________
-- BlaZe --
............

Last edited by blaze; October 23rd, 2004 at 12:32 PM..
blaze is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On