Jump to content

dauruk0512

Members
  • Posts

    125
  • Joined

  • Last visited

Everything posted by dauruk0512

  1. just more than one column but still one table right ! here is my query just give comma UPDATE `tabel_annual` SET `tglmulai` = '$tanggalmulai',`tglakhir` = '$tanggalakhir',`acara` = '$acara',`id_lokasi` = '$lokasi',`tarip` = '$tarif',`ket` = '$keterangan',`cp` = '$cp',`status` = '$cek' WHERE `tabel_annual`.`id_anual` ='$id' Hope this make sense sorry edited what do you mean multi query ! i saw your query trying update same table, please more detail what you want to Freddy
  2. Yes i was experience about it, you should group by each field in table master when you join to another table if you don't it always give redudancy data ! Hope this make sense Freddy
  3. Solved by adding class contanier, feel happy and scare dont know in english if in indonesia (Deg-degan) if it will broke in every screen in the future, Thanks i'm feeling happy love this forum ! <div class="row"><nav class="navbar navbar-default subMenu container"> <div class="container-fluid"> <div class="navbar-header"> </div> <div> <ul class="nav navbar-nav" id="navlist"> <li><a href="#fasilitas">Fasilitas</a></li> <li><a href="#testimoni">Testimoni</a></li> <li><a href="#praktek">Praktek</a></li> <li><a href="#contact">Kontak</a></li> <li><a href="#">Tanya Jawab</a></li> </ul> </div> </div></nav></div>
  4. Sorry i edit my answer, after read you answer here, can you give me little guide code about it, i'm not asking to code i know the logic but this time i'm new bie at full jquery, Thanks for any repsond Freddy
  5. i was searching about it and tested and i get nothing progress, i have been not upload to server my project so i dont have any demo to show, but here is my issue https://github.com/rabmyself/smint/issues/21 i use jquery sminth yes everything is working and love itthe plugin, but i face problem about it when it in small device! here is setting for sminth $('.subMenu').smint({ 'scrollSpeed' : 1000 }); and i have try to remove with use this function $(window).on('resize', function(){ var win = $(this); if (win.width() < 514) { // alert('handphone'); $("nav").removeClass("subMenu"); //$('nav').attr('style',''); } }); yes the class removed but the navbar has css when i firebug so they all cannot remove all, i have logic that to remove but don't know to write in jquery even give me errors, here is my logic how can i do that in my jquery! $(window).on('resize', function(){var win = $(this); if (win.width() < 514) {//navbar without effect scroll } else{//navbar witheffect scroll}); Thanks
  6. Another issue ! i want that make my navbar also has responsive every screen but my navbar has fixed and scroll by click href, but forget it cause i have inspect element by firebug nothing wrong, my first design is only for 1024 px then my boss ask me to rebuild to be responsive , so i did in the progress when my screen only 1024 my navbar working well her eis my old html with 1024 where is class containerdefault i set with width 1024 px, so in my navbar css i set width 100$ so whenever i resize it give me with 100%, right ! <div class="row"><nav class="navbar navbar-default subMenu containerdefault"> <div class="container-fluid"> <div class="navbar-header"> </div> <div> <ul class="nav navbar-nav" id="navlist"> <li><a href="#fasilitas">Fasilitas</a></li> <li><a href="#testtimoni">Testimoni</a></li> <li><a href="#praktek">Praktek</a></li> <li><a href="#contact">Kontak</a></li> <li><a href="#">Tanya Jawab</a></li> </ul> </div> </div></nav></div> but when i try responsive i remove default container cause it give me not good in design and also my navbar not give me as 100% each screen here my new html css i remove container default, Thanks for any respond <div class="row"><nav class="navbar navbar-default subMenu"> <div class="container-fluid"> <div class="navbar-header"> </div> <div> <ul class="nav navbar-nav" id="navlist"> <li><a href="#fasilitas">Fasilitas</a></li> <li><a href="#testimoni">Testimoni</a></li> <li><a href="#praktek">Praktek</a></li> <li><a href="#contact">Kontak</a></li> <li><a href="#">Tanya Jawab</a></li> </ul> </div> </div></nav></div>
  7. yes you are right, yesterday i remove the width @media (min-width: 1200px) { .container { /* width: 1024px; */ box-shadow: 0 0 30px grey; }} for everyone who want to make responsive don't make default container, thanks ! by the way how can i make every post sign as solved is it possible give +1 when members answer good question Freddy
  8. Hello CSSER, i have trouble that about my container it give me small container than css here is my setting css /*css container default*/@media (min-width: 1200px) { .container { width: 1024px; box-shadow: 0 0 30px grey; }} and this is my whole css <link href="<?php echo base_url()?>asset/css/bootstrap.min.css" rel="stylesheet"><link href="<?php echo base_url()?>asset/css/bootstrap.css" rel="stylesheet"><script src="<?php echo base_url()?>asset/js/bootsrap.js" type="text/javascript" ></script><link rel="shortcut icon" href="<?php echo base_url()?>asset/img/favicon.png"><!-- http://stackoverflow.com/questions/18424798/twitter-bootstrap-3-how-to-use-media-queries--><!--Large desktops and laptops--><link rel='stylesheet' media='screen and (min-width: 1200px) ' href='<?php echo base_url() ?>asset/css/largedesktop.css' /><!-- Landscape tablets and medium desktops--><link rel='stylesheet' media='screen and (min-width: 992px) and (max-width: 1199px) ' href='<?php echo base_url() ?>asset/css/landscapetablet.css' /><!-- Portrait tablets and small desktops--><link rel='stylesheet' media='screen and (min-width: 768px) and (max-width: 991px)' href='<?php echo base_url() ?>asset/css/portraittablet.css' /><!--Landscape phones and portrait tablets --><link rel='stylesheet' media='screen and (max-width: 767px) ' href='<?php echo base_url() ?>asset/css/landscapephone.css' /><!-- Portrait phones and smaller --><link rel='stylesheet' media='screen and (max-width: 480px) ' href='<?php echo base_url() ?>asset/css/portraitphone.css' /><!-- default --><link rel='stylesheet' href='<?php echo base_url() ?>asset/css/default.css' /><script type="text/javascript" src="<?php echo base_url()?>asset/js/jquery.min.js"></script><script type="text/javascript" src="<?php echo base_url()?>asset/js/bootstrap.min.js"></script> i have been searching and feel my structure css and js is wrong but dont know how to make it right position, i make container default in <!-- default --><link rel='stylesheet' href='<?php echo base_url() ?>asset/css/default.css' /> Thanks for any respond Freddy
  9. yes like user said aboeve but this is another way for me <?php <!---add this script in your above ---> error_reporting ('0'); if (!isset($_POST['role']) or $_POST['role'] == 'user') { if (isset($_POST['logout']) && $_POST['logout'] == 'yes') { session_start(); session_end(); set_session_cookie('uname', ''); exit; } $user = mysql_fetch_assoc(mysql_queryf("select Cust_Name, Cust_ID from Customer where Cust_ID = %s and Passwd = %s", $_POST['uid'], $_POST['upass'])); if ($user) { session_start(); $_SESSION['uid'] = $user['Cust_ID']; set_session_cookie('uname', $user['Cust_Name']); } } elseif ($_POST['role'] == 'rest') { if (isset($_POST['logout']) && $_POST['logout'] == 'yes') { session_start(); session_end(); set_session_cookie('rname', ''); exit; } $user = mysql_fetch_assoc(mysql_queryf("select Rest_Name, Rest_ID from Restaurant where Rest_ID = %s and Passwd = %s", $_POST['rid'], $_POST['rpass'])); if ($user) { session_start(); $_SESSION['rid'] = $user['Rest_ID']; set_session_cookie('rname', $user['Rest_Name']); } } else exit; ?>
  10. I think it very simple if you already know how to edit as like users above give uniq in that link so you get whole information by query in phpmyadmin, Thanks
  11. did you mean htacsses !
  12. yes what foxy said you need to make sure html so here is give simple logic from me, i did in my project make me stress full with responsive issue <!-- http://stackoverflow.com/questions/18424798/twitter-bootstrap-3-how-to-use-media-queries--><!--Large desktops and laptops--><link rel='stylesheet' media='screen and (min-width: 1200px) ' href='<?php echo base_url() ?>asset/css/largedesktop.css' /><!-- Landscape tablets and medium desktops--><link rel='stylesheet' media='screen and (min-width: 992px) and (max-width: 1199px) ' href='<?php echo base_url() ?>asset/css/landscapetablet.css' /><!-- Portrait tablets and small desktops--><link rel='stylesheet' media='screen and (min-width: 768px) and (max-width: 991px)' href='<?php echo base_url() ?>asset/css/portraittablet.css' /><!--Landscape phones and portrait tablets --><link rel='stylesheet' media='screen and (max-width: 767px) ' href='<?php echo base_url() ?>asset/css/landscapephone.css' /><!-- Portrait phones and smaller --><link rel='stylesheet' media='screen and (max-width: 480px) ' href='<?php echo base_url() ?>asset/css/portraitphone.css' /><!-- default --><link rel='stylesheet' href='<?php echo base_url() ?>asset/css/default.css' /> as new bie need to make every screen css divide some ! i hope this make sense, good luck
  13. I think you can show it in ekstensi .html to show from database using .php
  14. Thanks for reply, i appreciate your respond, really it working need some setting Freddy
  15. Hello Thanks for reply yesterday about my case, here is my simple project http://pingsari.earworks.co.id/ hosting in indoneisa i hope you can open it My issue is how can i make my navbar responsive when open in small device, cause it give me not good when small device then try click some href when small device why navbar to be smaller by the way i use http://www.outyear.co.uk/smint/ for click scroll and navbar fixed Some searching should use media query but still dont get it cause i know the default navbar in bootsrap already responsive what do i wrong there, please if you free time check it will big thanks for any one help, Thanks Freddy
  16. Lol i was angry read your comment here but the las i read only need name of file !
  17. My suggest please paste your query in your phpmyadmin for example if everthying i right you query is right, Freddy Sidauruk
  18. wait minute how can you join that's table even each table there is no same field to join it, do i wrong this issue?
  19. Sorry for bad activity by my self, please don't angry i'm new bie at this forum so i don't know the rule promise i will give my contribution and try answer people question, did i say thanks above comment There is 2 thanks , Thanks for your reply
  20. bye the way how can i make this post as solved http://codepen.io/anon/pen/YXVRJJ
  21. Wow cool bro, i guess this forum not active but i'm totally wrong, thanks master
  22. Hello guys this is my second post about css so here is my issue http://codepen.io/anon/pen/YXVRJJ how can i make div class="header-footer" has width same as container, Thanks a lot
  23. Wow you save my life bro but why image not full as dummy design bro oh ya because you dont declare height in css right or might be height depend on height images ya, Thanks man this is my last issue in css, i guess this forum not active so i leave it, Thanks man Regard Fredddy Sidauruk
×
×
  • Create New...