dauruk0512
Members-
Posts
125 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by dauruk0512
-
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
-
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
-
Why my container not give me as width as width in my css, more small
dauruk0512 replied to dauruk0512's topic in CSS
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> -
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
-
Why my container not give me as width as width in my css, more small
dauruk0512 replied to dauruk0512's topic in CSS
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> -
Why my container not give me as width as width in my css, more small
dauruk0512 replied to dauruk0512's topic in CSS
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 -
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
-
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; ?>
-
did you mean htacsses !
-
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
-
I think you can show it in ekstensi .html to show from database using .php
-
Thanks for reply, i appreciate your respond, really it working need some setting Freddy
-
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
-
Lol i was angry read your comment here but the las i read only need name of file !
-
something is wrong with the result query line but not sure how to fix it.
dauruk0512 replied to darbok's topic in PHP
My suggest please paste your query in your phpmyadmin for example if everthying i right you query is right, Freddy Sidauruk -
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
-
How can i make inside div bootsrap has width as container
dauruk0512 replied to dauruk0512's topic in CSS
Yes i did, how can i make this as solved question -
How can i make inside div bootsrap has width as container
dauruk0512 replied to dauruk0512's topic in CSS
bye the way how can i make this post as solved http://codepen.io/anon/pen/YXVRJJ -
How can i make inside div bootsrap has width as container
dauruk0512 replied to dauruk0512's topic in CSS
Wow cool bro, i guess this forum not active but i'm totally wrong, thanks master -
How can i make inside div bootsrap has width as container
dauruk0512 replied to dauruk0512's topic in CSS
did you mean add class no-padding :0px 0px 0px 0px -
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
-
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