| Welcome to Webforumz.com. |
|
Sep 25th, 2007, 16:56
|
#21 (permalink)
|
|
Administrator
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 4,102
|
Re: Spot the Error!!
shouldnt this be the games section? ha
__________________
Languages: PHP, mySQL (queries), C#, (X)html, CSS, JS.
|
|
|
Sep 25th, 2007, 17:59
|
#22 (permalink)
|
Join Date: Dec 2005
Location: On Internet
Posts: 5,550
|
Re: Spot the Error!!
It should, but I would prefer it be played with code that is actually correct...I.E. validates! Perhaps someone should pull out some code like XHTML/CSS/PHP/CSS that is correct, then just mess up a few things. In the mean time, I will move this to the game forum!
|
|
|
Sep 25th, 2007, 18:09
|
#23 (permalink)
|
|
Reputable Member
Join Date: Jun 2007
Location: UK
Age: 29
Posts: 185
|
Re: Spot the Error!!
hmm not sure. I know its not a missing bracket...
What is that anyway, javascript?
|
|
|
Sep 25th, 2007, 18:45
|
#24 (permalink)
|
|
Elite Veteran
Join Date: Sep 2006
Location: The Kingdom of Rabbits
Age: 21
Posts: 2,381
|
Re: Spot the Error!!
php
|
|
|
Sep 26th, 2007, 10:42
|
#25 (permalink)
|
|
Reputable Member
Join Date: Jun 2007
Location: UK
Age: 29
Posts: 185
|
Re: Spot the Error!!
i can see some php, but whats this:
function find_username()
{
<!-- IF UA_FIND_USERNAME -->
window.open('{UA_FIND_USERNAME}', '_usersearch', 'height=500, resizable=yes, scrollbars=yes, width=740');
<!-- ENDIF -->
return false;
}
|
|
|
Sep 26th, 2007, 16:13
|
#26 (permalink)
|
|
Administrator
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 4,102
|
Re: Spot the Error!!
That's javascript obviously :S
__________________
Languages: PHP, mySQL (queries), C#, (X)html, CSS, JS.
|
|
|
Sep 26th, 2007, 16:30
|
#27 (permalink)
|
|
Reputable Member
Join Date: Jun 2007
Location: UK
Age: 29
Posts: 185
|
Re: Spot the Error!!
yeah thats what i thought
Like I said I dont know javascript very well, but whats this bit:
<!-- IF UA_FIND_USERNAME -->
its obviously an if condition, but I have never seen it used that way before. I would think it would look something like this:
if ($var == $var2){
// do something
}
and why the <!-- comments in the if?
|
|
|
Sep 26th, 2007, 18:13
|
#28 (permalink)
|
|
Elite Veteran
Join Date: Sep 2006
Location: The Kingdom of Rabbits
Age: 21
Posts: 2,381
|
Re: Spot the Error!!
its a stupid mistake 
|
|
|
| Thread Tools |
|
|
| Rate This Thread |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|