Jump to content

fikiwan

Members
  • Posts

    60
  • Joined

  • Last visited

Everything posted by fikiwan

  1. hello everyone I needed a suggestion for my project ..http://tokmobkas.mangih.besaba.com/ yeah ... i just do testing in free hosting .. ;D may be that not yet cross for many major browser but not bad look in crome or firefox (can give me a tips for cross this)... thanks for suggest regards
  2. you can add .... position:absolute;
  3. thanks for the explanation . I do thingking all day about it, so that i back here ..(ask more) if I want store many data user then KEY_MG will have many duplicate ,ya i thingking it not good for many data dummy in a field.. and i can give index in a field fewer field may be good but valid field it is the best.. thanks much once again .. regards
  4. thanks ... so the best way is second field .. thanks .. for your help ..
  5. hello I thinking about wht is the best create many or just litle field in table a database : ex: I want create this : ---------------------------------------------------------------------------------------------------------------------------- | ID_U | firsname | lastName | email | biograp | comment | status_res | activatio | aim | jabber | ---------------------------------------------------------------------------------------------------------------------------- | 1 | fekke1 | laldjajdd | e@d.dcom | ndndn | blalalalal | a,ama | ,,,,,,,,, |....... | kakdd | 2 | dekj4 | jdhkhjdh | d@d.dcom |kskksk |blalalalal | a,amnka |,,,,,,,,,,, | ,,,,,,,,| ksjdhd |------------------------------------------------------------------------------------------------------------------------------ you can look in above I create 10 field in my table , Now I thingking only will make 4 field look ex below : -------------------------------------------------------- | ID_MG | ID_UMG | KEY_MG | VALUE_KEY | -------------------------------------------------------- | 1 | 1 | firsname | blalalalal | | 2 | 1 | lastName | blalalalal | | 3 | 1 | email | blalalalal | | 4 | 1 | biograp | blalalalal | | 5 | 1 | comment | blalalalal | | 6 | 1 | status_res | blalalalal | | 7 | 1 | activatio | blalalalal | | 8 | 1 | aim | blalalalal | | 9 | 1 | jabber | blalalalal | --------------------------------------------------------- you could look both example at above , first table with many field and second just with 4 field , now , in two way that, what the best way for on use database .. thanks for explain to me regards
  6. thanks i get it ...
  7. You can do like this .... maybe its the best we can get more detail your field .....
  8. hello.... I have file foto with name : my foto You.flv_snapshot_00.18_[2013.06.24_12.12.05].jpg I have do upload that foto , the picture move to directori but not save in database.... I think the problem lies name my picture ... .. How to rename foto be name valid more .. thnks Regards ...
  9. Liffe never left you a lone...

  10. hey everyone I want count how long some one when they do login at my web ..... how for do that ...... thanxks regard
  11. thanks alot .....
  12. fikiwan

    display datetime

    OK .... thanks for your help ...
  13. Hey ... I want display datetime from DB... EX : 2013-06-10 12:10:5 I want display only year = 2013 MONT = 06 day = 10 how to do like above display the part from datetime. thanks regards
  14. fikiwan

    display datetime

    ya ... I'm back from there and now I'm ask for help something here ... (Y) it's not from DB , but just im tried like this <?phpecho "date('Y-m-d H:i:s A') ->". date('Y-m-d H:i:s A');?>
  15. fikiwan

    display datetime

    hello .... anyone here ...I try display datetime look the pic: why is the date that appears not the same as my computer thank regar
  16. .underline{text-decoration:underline;float:left; /* maybe u should add this */}
  17. <IfModule mod_rewrite.c>RewriteEngine onRewriteRule ^newURL$ originalURL [L]Options All -Indexes</IfModule> maybe u can do that ...sorry i can do explain more .. do search for detail ...
  18. We can select id like this if (isset($_GET['idvar'])){ $idvar = $_GET['idvar'];}else{ echo"ID NOT DETECTION";}//QUERY DATA$q = "SELECT * FROM comments Where id = '$idvar'"; <a href = exam.php?idvar=<?=$listid?> >Per ID </a> <!-- GET IDVAR FROM HERE -->
  19. <form action="insert.php" method="post">Username: <input type="text" name"Username" />Title: <input type="text" name"Title" size="30" />Content: <input type="text" name="Content" class="inputtext" /><input type="submit" /></form> <!--Add this u forget close tag -->
  20. for Delete Query mysql_query("DELETE * FROM ViewIt WHERE misc='1'"); // or misc = '$id' (it's will get if you clik button delete) for Update Query mysql_query("UPDATE * FROM ViewIt WHERE misc='1'"); // misc = '$id'
  21. may be you can try like this .... <style type="text/css">#header { width: 600px; margin: 100px auto; /*use margin for tataletak*/ padding: 10px; background: green;}</style><div id="header"></div>
  22. Thank for the help correct
  23. hello I make a hotkey for aplication Webpleas Chek my code... <!DOCTYPE html><html><head><meta http-equiv="X-UA-Compatible" content="IE=Edge" ><style type="text/css">body{background:green;} #over{ background: rgba(0,0,0,0.8); width: 100%; height: 100%; top: 0; bottom: 0;left: 0;right: 0; border: 0px solid blue; position: fixed; } #data{border:3px solid white; width: 300px; margin:100px auto;background: white; color:blue; font:2em 'Agency FB';text-align: center;} a{cursor: pointer;}</style><script type="text/javascript">window.onload = dokeyHot(); var KeyHot = []; function dokeyHot () { if (window.event) { document.captureEvents(event.KEYPRESS); } document.onkeydown = function(e){ var charCode = (e.which) ? e.which : e.keyCode; KeyHot[charCode] = true; if (KeyHot[27]) { // ESC Button document.getElementById("box").innerHTML = ""; } } } function tekan () { var dawal = "<div id='over'>"; var dakhir = "</div>"; var data = "<div id='data'>Pleas Turn Button ESC</div>" document.getElementById("box").innerHTML=dawal+data+dakhir; }</script></head><body><div id="box"></div><button onclick="tekan();">Tekan</button></body><html> if press button tekan will display a dialogbox and if press ESC in keyboard dialogbox will lost but that just run very well just for first time.. if I press again tekan dialogbox will lost with all button in keyboard ... ??? I want dialogbox lost just if press button ESC keyboard.. thnks for correct
  24. thnks ... I'll try it.
×
×
  • Create New...