Hello everyone. I want to build a special form. It has different kind of input types text, radio,select and combo boxes. Specility of my need is this. *I need to insert one element value as one record to database. Let's assume there are two textboxes and radio button group. It means three input types. So I want to input these values as 3 records. * I want to keep 3 input values as array. So I named input elements as array. Now I will show my code of one textbox and radio button group below. So you could get idea …

Member Avatar
Member Avatar
+0 forum 1

I am stuck in between Adobe Analytics and Google Analytics.. Help me out.... Should I go with the traditional style or use any other Analytics??

Member Avatar
Member Avatar
+0 forum 3

Recently I'm trying to pass text boxes , radio buttons and checkboxes vaues to database. For that for the clear understanding I'll provide simple way of form. <form method="post"> <input type="text" name="KKK"><br> <input type="text" name="val[]"><br> <input type="text" name="val[]"><br> <input type="text" name="val[]"><br> <input type="radio" class="form-check-input" value="new" name="val[]">New <input type="radio" class="form-check-input" value="recondition" name="val[]">Reconditioned <input type="radio" class="form-check-input" value="used" name="val[]">Used<br> <select class="form-control" name="val[]"> <option>Convertible</option> <option>Coupe / Sports</option> <option>Hatchback</option> <option>MPV</option><option>Saloon</option> <option>Station Wagon</option> <option>SUV / 4x4</option> </select><br> <input type="submit" name="sub" value="send !"> </form> You see except first textbox other input elements' values should be pass through array. I echo those values without problem. So there is …

Member Avatar
Member Avatar
+0 forum 4

heY guys :) recently I'm on web project which I use MySQL, bootstrap, PHP and Javascript. For this I have generated successfully dynamical forms using PHP. I'm using mysqli commands. I used dynamic forms if it not used I have to create hundred of html pages. So by doing this I could reduce everything to one page. Right so far I'm facing problem 'inserting data to through this dynamic forms'. Exactly I know as I use generate dynamic forms I need dynamic generating code to insert data to database. If not as I mentioned above again I have to create …

Member Avatar
+0 forum 0

Hi there! I am creating a toggle in pure css without jquery or javascript and its look like it hasn’t work yet. The problem is Css div alignment. Its not perfectly aligned. I am trying to achieve are in the attachment kindly look: HERE IS DEMO: https://jsfiddle.net/navjot789/2fcLvmrj/ and its seems like its not working as I want. If anyone who have a deep knowledge is css helps thats would be a great. any input is apprecheated.

Member Avatar
Member Avatar
+0 forum 3

I have a bootstrap view which I am trying to get a modal working for. Unfortunately the modal is displaying as part of the page, not invisable. So it is displaying with it's content as part of the page. Here is my code: <!-- Placing excel upload modal here... --> @using (Html.BeginForm("UploadExcel", "Home", FormMethod.Post, new { enctype = "multipart/form-data", @class = "form-horizontal" })) { <div class="modal fade" id="excelModal" role="dialog"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">&times;</button> <h4 class="modal-title">Excel Upload</h4> </div> <div class="modal-body"> <p>Please upload an excel file that contains the data you are wishing to include in …

Member Avatar
Member Avatar
+0 forum 2

I need some help building a bootstrap Angular UI modal. This is what I have so far, but I am pretty sure it is wrong. Any assistance would be good. This actually appears to be doing mostly bootstrap stuff. It was originally jquery, but I figured out the hard way that jquery does not mix with Angular Js well. <div id="excelModal" modal="excelModal" close="cancel()" hidden> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" hidden>&times;</button> <h4 class="modal-title">Excel Upload</h4> </div> <div class="modal-body"> <p>Please upload an excel file that contains the data you are wishing to include in the report parameters.</p> </div> …

Member Avatar
Member Avatar
+0 forum 1

Hi Guys. I'm having a serious problem that is holding me back. I have a file which is a user dashboard and this file gets data from another php script file which is called by a user login screen when a user clicks login. The file verify the credentials then if correct that its start to pull some data from the database. The problem is that now there are some users who don't complete their registration process which some stop where they need to make their payments so their accounts are kept with a status of pending which indicate that …

Member Avatar
Member Avatar
+0 forum 5

How to create a button that redirect to certain location in a website which is still on the same page?

Member Avatar
Member Avatar
+0 forum 5

I am making a webpage wherein I am going to ask for an input through an html form using php, and then call a python script after clicking "submit (flames)" to run and process the Flames game. Can someone help me on how to execute a python script through a php button? Thanks. My (text.py) contains the code of the flames game and it looks like this: import sys print ("This is the name of the script: " + sys.argv[0]) print ("The arguments are: " + str(sys.argv)) # step 1: Input User and Crush user = sys.argv[1] crush = sys.argv[2] …

Member Avatar
Member Avatar
+0 forum 1

Hi DW. I am able to purchase from my online store but I don't seem to be able to get the pass through data which whould be sent to my notify_url. Payfast is my payment gateway and now it does call my notify_url because two files are created after I try to purchase but the files are blank and what I want is to get the posted variables and their values, but I'm not sure if the variables are posted on call or because even if I try to trap the `$_POST` I don't get any data. Here is my …

Member Avatar
+0 forum 0

Hello, I place this navigation on the header hoping that on the cell phone the navigation start going mobile navigation. There is one problem, I wonder why this code: @media (max-width: 576px) { is being printed on pc? header.php @media (max-width: 576px) { <nav class="navbar navbar-inverse"> <div class="container-fluid"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="#">WebSiteName</a> </div> <div class="collapse navbar-collapse" id="myNavbar"> <ul class="nav navbar-nav"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Page 1</a></li> <li><a href="#">Page 2</a></li> <li><a href="#">Page 3</a></li> </ul> </div> </div> </nav> } </header>

Member Avatar
Member Avatar
+0 forum 1

Hello, I am trying to understand someone else codes: articles.blade.php <div class="notes-nav"> <a href="#" class="btn btn-green btn-act-delete" onclick="deleteTimeLine(this)" data-id="{{$data->id}}" data-type="article"><img src="{{url('')}}/images//icon-trash.png"/></a> <a href="#" class="btn btn-green btn-act-edit" data-id="{{$data->id}}" data-tittle="{{$data->tittle}}" data-content="{{$data->content}}" ><i class="fa fa-pencil"></i></a> @if($data->status=="0") <a href="#" class="btn btn-green btn-publish" data-toggle="tooltip" data-placement="top" title="publish?" data-id="{{$data->id}}" data-status="1"><span class="glyphicon glyphicon-ok"></span></a> @else <a href="#" class="btn btn-green btn-publish" data-toggle="tooltip" data-placement="top" title="cancel publish" data-id="{{$data->id}}" data-status="0"><span class="glyphicon glyphicon-minus"></span></a> @endif </div> First I wonder why the a href = "#" is empty but you still can go to the next page when you click the button. Next, what is data-tittle="{{$data->tittle}}" and data-content="{{$data->content}}" for? Can you pass data using that? Also, …

Member Avatar
Member Avatar
+0 forum 2

Hi, I don't know if this is possible or a really stupid question. I was wondering if after a select query has been executed can the results be filtered for specific values, and not just a single value but 7 different values. with what i want to accomplish its either im making it difficult for myself or the solution is pretty simple. okay for example i have a select query like so: $stmt = $conn->prepare("SELECT id, name, price, type, img FROM table"); $stmt->execute(); $result = $stmt->fetchAll(); now i have a page that has buttons which represent different types of "type". …

Member Avatar
Member Avatar
+0 forum 3

I'm currently doing some encoding work to protect a site from XSS attacks. We've stuck a bunch of `<script>debugger;</script>` tags in the db. Dispite my best efforts, the strings I've encoded to stop the debugger getting hit (to prevent an XSS attack), are still getting hit in developer tools. Is there a chance that double encoding something could cause this to happen or is that not possible? Thanks in advance!

Member Avatar
Member Avatar
+0 forum 2

Hello, For some reason when I click on my simple input box, the input box does not accept focus. Has anyone has a solution fot this? Here is a link to the webpage: http://landbankrealestate.com/en/properties/lote-en-condominio-las-vueltas/ The only way I can enter data into the box is to use tab to highlight it first. I've read a similar problem here in a 9 years old thread (https://www.daniweb.com/digital-media/ui-ux-design/threads/127910/input-box-not-accepting-focus#post2228704) ... but I don't know how can I fix this with my code Here is my code: <div class="agent_contanct_form "> <?php if ( basename(get_page_template())!='contact_page.php') { ?> <h4 id="show_contact"><?php _e('Contact Me', 'wpestate'); ?></h4> <?php }else{ ?> …

Member Avatar
Member Avatar
+0 forum 5

The End.