it seems like you charset is wrong/not supporting french words. there are several ways to do this. first your webpage/webserver should support a charset that supports french words (eg utf8) and then you shuld also choose the right charset/collation for you mysql tabel (eg utf8).
please read the following article:
http://www.w3.org/International/O-HTTP-charset
the collation of a table can be changed eg with hpmyadmin....
User Profile
Collapse
-
security: validate post and get varis for mysql query
hello all,
ive been wondering latley if someone could change a get variable, so he can change a sql statement that way, that he could delete data from my database.
the following ive thought of:
$_GET['someinput'] = "123"
$sql = "select * from test where id = '".$_GET['someinput']."'";
.....
so if someone would change the url from
http://test/index.php?somei nput=123... -
Code:<div id="username"> Username <p></p> <input type="text" id="field1" name="field1" onblur="document.getElementById('usernote').style.display = 'none'" onfocus="document.getElementById('usernote').style.display = 'block';" size="20" tabindex="1"> <div id="usernote" style="display:none;">
Leave a comment:
-
-
-
smooth scrolling of div element
heello,
i havee one div element in my site with several anchors, that i link to.
to change from anchor to another id like to have a smooth scrolling effect.
all the smooth scrolling effects i could finde onlinee where to generall change all the links on the webpage and where quite overloaded. so i trieed to do something on my own. ther ist no error coming from firefox, but it doesent work also. maybe someonee can help... -
ok, I solved the problem diffrently. ive dit some changes to the scrolling script. i wasssent aware that i actually can get the actual scrolling position of the div by asking scrollTop. this way i dont have to track changes to the scrolling position, but can simply jaust scroll from the actual scrolling position by asking scrollTop.
bestLeave a comment:
-
offsetTop and global variable in Safari 3
Hello all,
I have a problem with a scrript in safari 3. in mozilla/firefox and opera the problem does not exist.
what i try to do: I have a div element with overflow:auto. in the element i have several anchors, wich i can scroll to with several anchor links. this works quite nicely.
the div content can be scrolled by a JS-scrolling script. when i click on a anchor link the scrolling script loses its position,...
No activity results to display
Show More
Leave a comment: