-
JavaScript popup in firefox
When i click on image to show pop-up and i don't move mouse until pop-up shows, cursor become weird. When dragging mouse over pop-up, cursor flickers. But when i click on image to launch pop-up and immediately move cursor there's no problem. This cause problem only in firefox. Does anyone know how to solve this? thnx
-
onclick Google Chrome problem
Hello ppl, i have problem with javascript in chrome onclick function is not recognized - nothing happen but in Firefox and Opera it works, the code looks like: onclick="javascript: window.location.href=... i need solution, i want to work in all three browsers THNX THNX THNX
-
MySql select top 3 max values
Ok i've made mistake, i see where's problem, thnx anyway to all
-
MySql select top 3 max values
Thnx but this will not solve the problem because this will select only name1 (7), name2 (6) and name3(6), and i need top 3 scorers so name1,name2,name3 and name4 (7,6,6,5)
-
MySql select top 3 max values
Hello ppl, i need help with mysql, i want to select top 3 values from db, for example: -name- ==== -goals- name1=========7 name2=========6 name3=========6 name4=========6 name5=========5 name6=========4 name7=========2 i want to select top 3 goalscorers so in this case they are: name1,name2,name3,name4. thnx
-
get variable from URL without extension
Hello, i need help with url, i want to have url without extension and i don't know how to get variable from url where there are no extension. My url looks like: www.site.com/profile.php i can make url like: www.site.com/profile.php?username=john but i want to look like: www.site.com/profile/john and i don't know how to GET that variable (john) i just know that url without extension can be done with htaccess, that's all i know thnx people
-
html entities function not working
hi everyone i have problem with html entities, this code should work but not, can anyone tell me why? <?php $str = "A 'quote' is <b>bold</b>"; // Outputs: A 'quote' is <b>bold</b> echo htmlentities($str). '<br>'; // Outputs: A 'quote' is <b>bold</b> echo htmlentities($str, ENT_QUOTES); ?> When i try this code echo looks like A 'quote' is <b>bold</b> and not like A 'quote' is <b>bold</b>
-
need help with forum smileys
i'm building from scratch
-
need help with forum smileys
I need help, i'm creating forum and i need drop down with smileys, just like this one on this forum. I'm dont know what is it? is it drop down or what? i was searching on the net and i can't find something similar to this. This "drop down" is also used for font color on this forum. So if you know what is it or where i can find tutorial or something, please tell me. THNX a lot
-
mysql date format
ok, i have done it already with date_format(date, '%. %. %.') as date, but thnx anyway
-
mysql date format
Hi everyone, Can anyone tell me please, how can i display date in other format? in my database date format is YYYY-MM-DD and i want to display it as DD-MM-YYYY or DD, Jan, YYYY. I don't want to insert date to database in other format, i want it to stay in YYYY-MM-DD, but i want to display that date as DD-MM-YYYY. Thnx