243 Topics

Member Avatar for
Member Avatar for afdoal

hi,,, i need question about populate table based on dropdown this my php file **kecamatan.php** <?php require 'config_db.php'; $self='kelurahan.php'; if (isset($_POST['action'])&&$_POST['action']=='edit'){ $namakelurahan = _post('namakelurahan'); if ($namakelurahan==''){ r2($self,'e','Nama kelurahan tidak boleh kosong'); } $id = _post('id'); $grp = ORM::for_table('kelurahan')->find_one($id); $grp->set('namakelurahan', $namakelurahan); $grp->save(); r2($self,'s','Perubahan data berhasil di lakukan'); } elseif (isset($_POST['action'])&&$_POST['action']=='delete'){ $trid …

0
204
Member Avatar for jovstudios

Hello Guys. Can you check out my codes? I dont know y i get this warning Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\OJT\FINAL\login.php:117) in C:\xampp\htdocs\OJT\FINAL\login.php on line 130 help me guys thanks <?php include('dbcon.php');//para sa connection sang database session_start();//para mag start ang session …

Member Avatar for jovstudios
0
324
Member Avatar for patk570

Hey everyone, I have navbar from boostrap, I am trying to get the flags to append to the bottom/hang from the bottom of the nav on right side. [Link](https://www.assets.patrickspcrepair.com/gotya/simple-sidebar.html) to the site. The flags are just basic but i need to set the css style to "hang" from the navbar …

Member Avatar for patk570
0
231
Member Avatar for patk570

Hey guys, I have a script that switches between tabs..It works perfectly, but what i am needing is a way for the script to stop when I have my mouse on the tab or content for the tab. I am using bootstrap and here is my [fiddle](http://jsfiddle.net/patk570/5hk6R/) with the working …

Member Avatar for Troy III
0
4K
Member Avatar for chaitu11

<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css"> <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap-theme.min.css"> <script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script> <script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script> <style type="text/css"> .bs-example{ margin: 20px; } </style> </head> <body> <div class="bs-example"> <!-- Button HTML (to Trigger Modal) --> <a href="#myModal" class="btn btn-lg btn-primary" data-toggle="modal">Login</a> <!-- Modal HTML --> <div id="myModal" class="modal fade"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <div …

Member Avatar for Troy III
0
276
Member Avatar for nufftalon

Hi, A few years back had the pleasure of meeting Dani himself in a get together focused on game development which unfortunately didn't succeed due to lack of members. I love how organized daniweb is so I want to see what I can get out of it. I was using …

Member Avatar for gabrielcastillo
0
254
Member Avatar for NDoubleD

I'm using Twitter bootstrap 2.0.4 for a website. I have a carousel with a certain number of pictures, which gets created just fine. It starts cycling, the pausing on hovering works, the next and previous buttons all work. Only thing that's odd is that when it reaches the end of …

Member Avatar for travis.holt.921_2
0
2K
Member Avatar for blueguy777

Update form is working perfectly, but the value of $magentname variable changing to blank without selecting drop down box value. code: <?php require 'include/database.php'; require 'include/settings.php'; $id = null; if ( !empty($_GET['id'])) { $id = $_REQUEST['id']; } if ( null==$id ) { header("Location: sub-agents-list.php"); } $mainagentid = $_POST["mainagentid"]; $pdo = …

0
180
Member Avatar for blueguy777

I am new to PDO, i am trying to insert values into database table. but the script is not inserting any values nor displaying error message.help me to fix this issue. <?php require 'include/database.php'; require 'include/settings.php'; if ( !empty($_POST)) { // keep track validation errors $firstnameError = null; $lastnameError = …

Member Avatar for iamthwee
0
318
Member Avatar for Tangerinejoe

I've just completed my HTML and CSS training and practicing right now. To make all those flashy web graphics on a webpage, the interface desing,little buttons and vector images which graphic software training i should go for. I'm confused at photoshop,illustrator,indesign or fireworks. Is adobe wrapping up fireworks? What is …

Member Avatar for Stuugie
0
108
Member Avatar for fheppell

On my site, I've been tweaking the remember me checkbox so that it looks like a button, whilst still being a checkbox, my html is: <span class="button-checkbox"><button type="button" class="btn" data-color="info">Remember Me</button><input type="checkbox" name="remember_me" id="remember_me" checked="checked" class="hidden"></span> A fontawesome icon is dynamically changed and the status of the checkbox is modified …

Member Avatar for pritaeas
0
216
Member Avatar for rajatchak

# Hello. I am working on bootstrap 3 and here is the problem i am facing below: # 1. *This is the problem i am facing : http://oi44.tinypic.com/14b5ob8.jpg* * When i click on the top navbar, the bottom navbar opens up too and vice versa/ * I assume that i …

0
255
Member Avatar for fheppell

I'm using a bootstrap pseudo-button (a link that looks like a button). It links to a page using PHP that downloads the file (the user is never shown the linking page). When the link is clicked I want it to be replaced with something to indicate progress is happening (for …

Member Avatar for fheppell
0
255
Member Avatar for rajatchak

Hi all ...( warning : i am a total newbie to web development ) i am planning to develop a website... i have all the content to put into the website...and i already have a fanbase for the website. I have created the structure of the website in localhost. just …

Member Avatar for rajatchak
0
326
Member Avatar for shelexelex

I want to sum the values of the 'countryamt' column and echo it out. The inputs are coming from the 'matconfirmation.php'. I stored all the inputs in an array, but i dont know how to sum the values up. The bold part of the code was what i tried doing, …

Member Avatar for diafol
0
318
Member Avatar for johnanthony.sanz

<?php ob_start(); session_start(); include ('database_connection.php'); if (isset($_SESSION['myusername'])) { $logout = '<li><a href="logout.php">Logout</a></li>'; } ?> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta charset="utf-8"> <title>MVRAM</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> <meta name="author" content=""> <!-- Le styles --> <link href="bootstrap/css/bootstrap.css" rel="stylesheet"> <link id="switch_style" href="bootstrap/css/united/bootstrap.css" rel="stylesheet"> <link href="css/main.css" rel="stylesheet"> <link href="css/jquery.rating.css" rel="stylesheet"> …

Member Avatar for pritaeas
0
977
Member Avatar for NardCake

Everything below is currently a concept I'm working on and beginning to write, asking for thoughts or suggestions. Hello! Recently I've been brain storming tons, my mind went back to web development this time around. So I thought about some issues or annoyances, and I thought of a few that …

Member Avatar for NardCake
0
247
Member Avatar for orange88

QUESTION: My need is to include a specific datepicker for EACH form when a specific button is clicked. Im not sure whether what im doing below in the jquery portion of the code for the datepicker is correct? Can someone please guide me with this? Thanks DETAILS: I am currently …

Member Avatar for LastMitch
0
769
Member Avatar for mmcdonald

[Image of design issue](http://imgur.com/seWlte0) Hi peeps, Struggling to locate the source of this issue. The dropdown for ALL of the menu items appears on the far left of the nav and not below te menu item selected. For example, in the image above I clicked programming and the dropdown appeared …

Member Avatar for mmcdonald
0
139
Member Avatar for dannybarh

Hi all, am trying to use bootstrap switch in my form. Am at a lost as to how to get the value of name="onoffswitch" from that field and insert it into mysql db, here is my code... div class="onoffswitch"> <input type="checkbox" name="onoffswitch" class="onoffswitch-checkbox" id="myonoffswitch" checked> <label class="onoffswitch-label" for="myonoffswitch"> <div class="onoffswitch-inner"></div> …

Member Avatar for dannybarh
0
3K
Member Avatar for pardeepkhatri
Member Avatar for paulkd
0
106
Member Avatar for mmcdonald

Hey all, I'm trying to make a link outside of the nav-tabs class, specifically in a paragraph, that changes to another tab on the same page. Granted that I know this requires JS and that I know nothing of JS (Another book i ordered this morning :) ) here is …

Member Avatar for mmcdonald
0
230
Member Avatar for Violet_82

Chaps, I wonder if you can help me with this problem please. In a nutshell I am trying to remove/add round corners around a container on the fly. The reason is that I have a div with some content that slides down and when the content is visible I want …

Member Avatar for Violet_82
0
270
Member Avatar for Violet_82

Chaps, I have a question about nesting elements. I am using bootstrap for a project I am working on, and for whoever didn't know that - I am one of those - in bootstrap buttons are `display:inline-block;` Now, I have this situation at the moment: `<p><button>My button</button> This button means …

Member Avatar for Violet_82
0
2K
Member Avatar for royal.torres

I'm bulding a Web page using AP Divs and I was able to make it center in the middel of the screen. My problem is to make the page scale to diferent sckreen resolutions. I know thag I need to change px in to %, but every time I try …

Member Avatar for Dani
0
133
Member Avatar for shakayu

Hello Friends, Am actually trying to get a Foreign key which is a Primary key in Diagnosis table Controller: <?php class AppTreatment extends CI_Controller { function AppTreatment() { parent::__construct(); $this->view_data['base_url'] = base_url(); $this->load->model('Apptreatment_model'); $this->load->model('Patient_model'); if(!$this->session->userdata('is_logged_in') ){ $this->session->set_flashdata('login_error', TRUE); redirect(base_url() . 'index.php/homepage'); } } function index() { $data['patient']=$this->Patient_model->getAllpatients(); $data['AppTreatment']=$this->Apptreatment_model->findAll(); foreach($data['AppTreatment'] as …

Member Avatar for diafol
0
440
Member Avatar for Luckychap

Hi All, I am in search for some good "Responsive web Designing" CSS frameworks. Kindly Suggest few. I have gone through:- Bootstrap, Foundation and Amazium. All seems same to me.

Member Avatar for madelinekim
0
202
Member Avatar for rouse

I am using twitter boostrap for a conversion project that I am workng on. I need to change the color of the Nav-bar, the links color, hover color of the links and finally the default size of the text of the links. Can you point me to a tutorial to …

Member Avatar for bootstraptor
0
170
Member Avatar for cgull

Hello, Using codeigniter 2.1.2 and Bootstrap 2.3.1. I have just uploaded files from a local site to a live server. Somehow a div inside an accordion div gets different heights: On my local site I have this div: <div id="ui-accordion-1-panel-0" class="row ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content-active" style="padding: 0.5em 0px; display: …

Member Avatar for cgull
0
270
Member Avatar for cgull

Hello good people of Daniweb :) I am developing a site with codeigniter 1.2.2 and the latest version of bootstrap. I am calling a modal window but the X and Close buttons don't close the window. Tried alerting when clicking a button and I do get the alert but the …

Member Avatar for LastMitch
0
5K
Member Avatar for Potato.Head

Hi, I'm have experience in Javascript but not in the UI design/CSS, so maybe what I need to do is very simple, but because of my knowledge is complicated for me. I need to create a 'component', that has 2 or 3 buttons together and they behave like radio buttons, …

Member Avatar for LastMitch
0
212
Member Avatar for kyo.yamagata

I have this code for my HTML form and I'm using Twitter Bootstrap for my CSS. <form method="post" action="inquiry.php" class="form-horizontal"> <label><font color="red">*</font> First Name:</label> <input name="firstname" type="text" class="input-large" value="<?php echo $firstname; ?>"> .... ..... </form> My problem is my input boxes are shrinking. To make it more clear here is …

Member Avatar for lps
0
165
Member Avatar for luis_see_me

So, I have a small site for the highschool I'm currently in, a pretty simple site connected to MySQL for a simple HelpDesk app (I used a lot of scripts that I found here to make the site work, thanks for the contributors btw!!), and some useful links for school …

Member Avatar for Shadizon
0
194
Member Avatar for Navlag

Hello, I am just playing around with PHP and I have a silly little little login page, with the username and password hard coded in (not secure, I know). They are: username and password, respectively. Once logged in, there is a message saying I am logged in and a form …

Member Avatar for Navlag
0
309
Member Avatar for HelloJarvis

Hi all, I'm working on a little project that gives you synonyms for your sentence that uses Twitter Bootstrap. Everything is working all right, but I can't seem to change elements within the Popover! What's odd, however, is that when I used jQuery.length on the desired element, it told me …

Member Avatar for HelloJarvis
0
314
Member Avatar for HelloJarvis

I can't select elements within my popover for the Bootstrap framework. I've tried: $("#button").popover({content:"<span id="test">Test</span>", html:true, placement:"bottom"}); And tried selecting the inner span with: $("#test").html("foo"); This doesn't seem to work. Help!

Member Avatar for AleMonteiro
0
3K
Member Avatar for jackbauer24-2

Hey guys! Remember jackbauer24? I'm the same guy, but for some reason can't log into my account. So this is my new account. Anyways, here is my code:- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <!-- Bootstrap and jQuery UI CSS Libraries are included here --> <link …

Member Avatar for jackbauer24-2
0
244
Member Avatar for HelloJarvis

So I'm working with popovers using Twitter Bootstrap. I want to change the popover's content dynamically later on in my program, so after setting the popover: $("#test").popover(selector:$("#test")); $("#test").html("test"); I try setting the selector of the popover so I can manipulate it later. This doesn't work, however, so how do I …

Member Avatar for HelloJarvis
0
391
Member Avatar for mmcdonald

Hi all, I'm trying to use add-on icons for my form filds (see very bottom: http://twitter.github.com/bootstrap/base-css.html#icons) The thing is, add-on works great on my page but won't work in my nav. Any ideas? My code: <div class="navbar navbar-fixed-top"> <div class="navbar-inner"> <div class="container" style="width: auto"> <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span …

Member Avatar for james chaco
0
271
Member Avatar for aeshabana

Here is the poblem Class file I am not sure if it reading the id and saving it Java file (Error: After end of result set) when trying to display SQL, (Error: in the id) package homework1; import java.text.FieldPosition; import java.text.SimpleDateFormat; import java.util.Date; import java.sql.Connection; public class RegisterEntry { //Registration …

Member Avatar for DavidKroukamp
0
526
Member Avatar for danielsikes

Hi, I have a simple project that I would like help with. I think the open-source community would love to have something like this. The popular search/spider program "Sphider" is great software. I would like to give it a face lift and create something that I call "Spitter". It is …

Member Avatar for danielsikes
0
108
Member Avatar for Perigee

Does anyone know how to resolve this other than a complete reboot? I'm restarting both my work desktop and personal laptop on an almost daily basis, which is irritating, to put it politely: **Couldn't register com.your.App with the bootstrap server. Error: unknown error code. This generally means that another instance …

0
170
Member Avatar for mattyd

Hello. I am completing work on a commerce website and have noticed a small but strange error that I cannot seem to remedy. Each page has a footer that contains text; of course, this should align the same on each page view, but the problem is as follows: Alignment is …

Member Avatar for JRM
0
134

The End.