Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 286
Search took 0.18 seconds.
Search: Posts Made By: Wojjie
Forum: JavaScript programming 05-20-2012, 11:02 AM
Replies: 9
Views: 556
Posted By Wojjie
mybox.onclick = function(){ ...

mybox.onclick = function(){
checkStatus(this);
}

You need to pass a reference to onclick so you can't pass your own parameters unless you encase it in another function like I did above. You...
Forum: HTML & CSS 05-18-2012, 12:44 AM
Replies: 8
Views: 1,026
Posted By Wojjie
Some browsers have different HTML mark up for the...

Some browsers have different HTML mark up for the favicon, and some older browsers just default to "http://domain.com/favicon.ico".

Really you should always use "http://domain.com/favicon.ico" as...
Forum: PHP 05-18-2012, 12:39 AM
Replies: 4
Views: 769
Posted By Wojjie
Encasing your values in single quotes will work...

Encasing your values in single quotes will work in all cases except when you are trying to pass NULL since it will end up being a string containing the text 'NULL'. So if you are trying to pass NULL,...
Forum: JavaScript programming 05-16-2012, 06:27 AM
Replies: 5
Views: 492
Posted By Wojjie
Because the HTML is not PHP code, you need to...

Because the HTML is not PHP code, you need to echo it:
echo "<a href=\"https://twitter.com/" . $row(text) ."\" class=\"twitter-follow-button\" data-show-count=\"true\" data-lang=\"en\">Follow @ </a>...
Forum: HTML & CSS 05-16-2012, 06:23 AM
Replies: 13
Views: 550
Posted By Wojjie
float:left keeps floating elements on the left...

float:left keeps floating elements on the left essentially stacking them. When you call clear:left you are ending/resetting it and making all subsequent elements that have float:left start their own...
Forum: PHP 05-16-2012, 06:15 AM
Replies: 4
Views: 265
Posted By Wojjie
To make URLs "pretty" you mainly need to know...

To make URLs "pretty" you mainly need to know regular expressions, which is the hardest part of writing your own .htaccess files.

The other possibility is to just direct everything to your script...
Forum: HTML & CSS 05-16-2012, 06:08 AM
Replies: 3
Views: 248
Posted By Wojjie
Would be easier if you provided us with the HTML...

Would be easier if you provided us with the HTML page live somewhere.

Anyway, I would look at the padding/margins/heights of the effected element and all elements above and parent to that element.
Forum: JavaScript programming 05-16-2012, 06:05 AM
Replies: 5
Views: 492
Posted By Wojjie
This already iterates through the data, with...

This already iterates through the data, with everything in this while loop being run for every item in the result:
// Loop the recordset $rs
// Each row will be made into an array ($row) using...
Forum: PHP 05-16-2012, 06:01 AM
Replies: 4
Views: 769
Posted By Wojjie
You can check if the data is empty() and then set...

You can check if the data is empty() and then set it to a default value that signifies that. For numbers, generally you would use 0 for not set, or you could use 'NULL'.

I am guessing the problem...
Forum: PHP 05-14-2012, 03:16 AM
Replies: 10
Views: 551
Posted By Wojjie
The only reason question/answers might cut down...

The only reason question/answers might cut down bots right now is because it's not widely used, so no one has coded bots to detect it. The problem with it is that most question/answers that you think...
Forum: JavaScript frameworks 05-13-2012, 07:53 AM
Replies: 4
Views: 652
Posted By Wojjie
You can call jQuery with both $ and jQuery, and...

You can call jQuery with both $ and jQuery, and prototype also uses $ and I'm not sure what else. Since they both use the same $ they overwrite each other and mess things up.

The easiest solution...
Forum: HTML & CSS 05-13-2012, 07:45 AM
Replies: 2
Views: 388
Posted By Wojjie
Images by default have static widths/heights and...

Images by default have static widths/heights and do not automatically scale, in order to scale you would need to give them a percentage width and just leave the height undefined/auto so it keeps the...
Forum: PHP 05-13-2012, 07:41 AM
Replies: 2
Views: 282
Posted By Wojjie
When using echo with single quotes ' PHP does not...

When using echo with single quotes ' PHP does not parse the string, so it sees $r as just that, if you were to use double quotes " it would parse and replace $r with the value of $r.

Two ways to...
Forum: PHP 05-13-2012, 03:02 AM
Replies: 10
Views: 551
Posted By Wojjie
Not all captcha's have been broken, I believe...

Not all captcha's have been broken, I believe recaptcha is still a good resource to use.

The only problem with using a question/answer is that it limits who can use your site to people that are...
Forum: MySQL 05-13-2012, 02:53 AM
Replies: 5
Views: 2,016
Posted By Wojjie
Most likely the query has an error and when that...

Most likely the query has an error and when that happens mysql_query returns false instead of a result.

You can put
echo mysql_error();

between the mysql_query and mysql_fetch_assoc line to...
Forum: JavaScript programming 05-12-2012, 08:04 AM
Replies: 1
Views: 328
Posted By Wojjie
document.write('authors[0] + '</strong> </p>'); ...

document.write('authors[0] + '</strong> </p>');

That line has 3 single quotes ', which means you have an extra, or one too little, and looking at the code, you added an extra ' before the variable...
Forum: General web building 05-12-2012, 08:02 AM
Replies: 1
Views: 524
Posted By Wojjie
I never dealt with HostMatrix, and I typically...

I never dealt with HostMatrix, and I typically stay away from "free hosting" provides, since you typically get what you pay for.

Typically free hosting providers need to make money somehow, and...
Forum: PHP 05-12-2012, 07:53 AM
Replies: 10
Views: 551
Posted By Wojjie
It really depends how far you really want to go. ...

It really depends how far you really want to go.

One thing you can start doing is tracking every login/logout with IP address and date/time, and if you have the resources you can implement more...
Forum: Medium projects (new script, new features, etc) 06-07-2011, 04:19 PM
Replies: 9
Views: 3,150
Posted By Wojjie
You just want the added commission, admit it.

You just want the added commission, admit it.
Forum: JavaScript programming 06-07-2011, 04:09 PM
Replies: 2
Views: 280
Posted By Wojjie
I think you meant to this: ...

I think you meant to this:

notEmpty(document.getElementById('Player2'), 'Please fill in player field!')

To actually be this:

notEmpty(document.getElementById('Player1'), 'Please fill in...
Forum: PHP 06-04-2011, 09:28 AM
Replies: 6
Views: 626
Posted By Wojjie
Sure, if you setup .html to be a php extension in...

Sure, if you setup .html to be a php extension in the apache server config.


AddType application/x-httpd-php .php5 .php .php3 .php2 .phtml .html
Forum: Computer Programming 06-04-2011, 09:14 AM
Replies: 1
Views: 803
Posted By Wojjie
I would try to code in a language that can easily...

I would try to code in a language that can easily be converted to a different platform by just reworking a bit of the UI, or a language that is platform independent (java).

Best is to do some...
Forum: HTML & CSS 06-04-2011, 09:07 AM
Replies: 3
Views: 420
Posted By Wojjie
Sorry, got busy, was about to test to make sure,...

Sorry, got busy, was about to test to make sure, but sounds like you figured it out. Essentially you need to 'pop' elements out by setting position:relative or absolute, so they adhere to their...
Forum: JavaScript programming 06-03-2011, 08:51 PM
Replies: 9
Views: 676
Posted By Wojjie
*dancing banana goes here* You provided him...

*dancing banana goes here*

You provided him with code though, which I should of done, so your answer can be more useful.
Forum: PHP 06-03-2011, 08:48 PM
Replies: 12
Views: 980
Posted By Wojjie
It is a virus/hack/exploit that essentially gives...

It is a virus/hack/exploit that essentially gives the person full access to your site.
Showing results 1 to 25 of 286

 
Forum Jump

All times are GMT +1. The time now is 01:24 AM.