| PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >> |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread |
|
|
#10 (permalink) |
|
Registered User
Comfy Contributor
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 -- ...... ......
|
|
|
|
|
|
#11 (permalink) |
|
Surpass Fan
Comfy Contributor
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. |
|
|
|
|
|
#12 (permalink) |
|
Registered User
Comfy Contributor
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 -- ...... ......
|
|
|
|
|
|
#13 (permalink) |
|
Surpass Fan
Comfy Contributor
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. |
|
|
|
|
|
#14 (permalink) |
|
Registered User
Comfy Contributor
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 -- ...... ......
|
|
|
|
|
|
#15 (permalink) |
|
Surpass Fan
Comfy Contributor
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. |
|
|
|
|
|
#16 (permalink) |
|
Registered User
Comfy Contributor
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 -- ...... ......
|
|
|
|
|
|
#17 (permalink) |
|
Surpass Fan
Comfy Contributor
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. |
|
|
|
|
|
#18 (permalink) |
|
Registered User
Comfy Contributor
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.. |
|
|
|