52,566 Archived Topics
Remove Filter ![]() | |
Hey, I've come across an error in my school project. I'm creating a college registration web app. The jsp displays a list of available classes with checkboxes to check the ones you would like to register for. I've been running it in debug mode and it throws an exception at … | |
i need help in following query, how to check this email alreadyexist in our db or not. var_dump($email); output: array(2) { [0]=> string(22) "xxxx7@gmail.com" [1]=> string(19) "yyyyy@gmail.com" } foreach($email as $em) { $sql = "SELECT * from sf_guard_user sf,personal pi where pi.user_id = sf.id and sf.email_address = '$em' "; $query … Web Development php | |
Hi all, I wonder if you can help me at all. I need to display one ul list into separate (3-4) columns one next to the other one, only if the number of items is bigger than 6. Let's look at the following code. Html is: <div class="wrapper"> <h2 id="first">First</h2> … Web Development cms display html-css javascript ![]() | |
Hi, I need help here. I have a for with multiple text inputs. input1 is link, input2 is description. This is repeated a number of time. Each link and description is one record, but I cant igure out how to add them to mysql as such. If I fill in … | |
I have this jquery code <script type="text/javascript"> $(document).ready(function () { var counter = 2; $("#addButton").click(function () { var newTextBoxDiv = $(document.createElement('div')) .attr("id", 'TextBoxDiv' + counter); newTextBoxDiv.after().html('<input class="required" data-val="true" data-val-regex="Provide a valid date." data-val-regex-pattern="^\d{1,2}\/\d{1,2}\/\d{2}$" name="Date[' + counter + ']" id="Date[' + counter + ']" value="Date[' + counter + ']" style="width:165px" type="text" … Web Development asp asp.net javascript-jquery regex ![]() | |
Hi, am new in the forum. Please I need help concerning a hotel booking system am developing. The problem is when custumer wants to make room choice it can only allow 1 type of room when the available room information loads. If a customer wants to book 2 or more … Web Development php | |
Hello Community, I was wondering if there is a way for a string ($string) to be remembered on a form submission? Example: <?php $f = ""; $tS = ""; if (isset($_POST['tSubmit1'])) { if (!empty($_POST['tString1'])) { $tS = $_POST['tString1']; $f = "f2"; } } if (isset($_POST['tSubmit2'])) { if (!empty($_POST['tString2'])) { if … | |
A client of mine wants to implement SSL on their site. They have a number of forms which communicate sensitive/personal information, and want to send the data over a secure channel. I've worked with sites that have SSL certificates already, but never actually implemented one myself. The site runs on … Web Development cybersecurity http-protocol php wordpress | |
Hello, I wonder why when you try to when you try to update location (lokasi) to Product1 it always saved as Home ? input_berita_static.php <?php include('../includes/koneksi.php'); $id = isset($_POST['id']) ? $_POST['id'] : ''; $confirmation = isset($_POST['confirmation']) ? $_POST['confirmation'] : ''; $kategori = isset($_POST['kategori']) ? $_POST['kategori'] : ''; $news = isset($_POST['news']) … Web Development php | |
I am a big fan of the jqtransform plugin [URL="http://www.dfc-e.com/metiers/multimedia/opensource/jqtransform/"]http://www.dfc-e.com/metiers/multimedia/opensource/jqtransform/[/URL] but have discovered that when you add to many select fields on a page, the bottom half of the select fields do not open the option fields. I have a form which takes an passenger's date of birth, but there … Web Development javascript multimedia | |
My boss has several projects where i need to change out information. I did one with an included file of several divs that are hidden/shown, depending on what the user clicks on. It got tedious. But I don't have access to mysql to set anything up. Now I'm doing another … Web Development javascript | |
Hello, I'm trying to update a database using php. I have to add patient id in the format of 'p99' and if it reaches the highest number it should go to the next alphabet like 'q01'. I have this piece of code but it doesn't seem too be doing the … Web Development php | |
Javascript string search string in array not working here is my code Mycode var array = ["foo","fool","cool","god",'searchstring']; var src_keyword=""; $("#search_str").click(function(){ src_keyword=$("#str_search").val(); find(array,src_keyword) }); function find(arr,src_keyword1) { var result = []; alert(src_keyword1); //src_keyword1="oo"; for (var i in arr) { var search = new RegExp(src_keyword1, "gi"); if (arr[i].match(search)) { alert(arr[i]) result.push(arr[i]); } … Web Development javascript | |
What are some common uses of HTML forms that contain just one text input and a submit button? The only one use I find is to submit search queries. Is there some other reason why this is commonly used? Web Development javascript | |
Hello i dont know how to echo from one table row ( table row name title ) id | id_publisher | **title** | price |......... so what i want is to echo title and how many games like **Exaple:** surrounded with ( ) is how many i have. Call of … Web Development php | |
I have an idea for my final year project that will include a back end database to store all the data and an interactive map that will show users attractions in the area. I would want them to be able to click the pins that will be used to show … Web Development html-css visual-studio | |
I am not sure if this issue is a permissions or code problem. Whenever I run my script I get the following error. Microsoft VBScript runtime error '800a004c' Path not found /build-your-own-report/stjreport/includes/includes.inc, line 16 **Line 16 in my includes file is getting the url path to the temp folder. The … ![]() | |
Hello friends :) I would like to get a help once again.. I need to make reports in php with Codeigniter then be able to print it.. Like *list of people who are hasnt yet settle payment* I know..its just a query...but how to turn that a report and give … Web Development php php-codeigniter | |
I have an html form that has 10 text field for trhe user too enter dates into. When the user clicks the submit button each text field should be added as a new record to a mysql table. The way I have it now if only 2 are filled in, … | |
record.jsp <%@page import="java.sql.*" %> <%@page import="beans.connection" %> <% try { Connection con=connection.GetConnection(); Statement st=con.createStatement(); String query="select * from empdetail"; ResultSet rs=st.executeQuery(query); ResultSetMetaData rsmd=rs.getMetaData(); int cols=rsmd.getColumnCount(); %> <table> <tr> <% for(int i=1;i<=cols;i++) { %> <th><%rsmd.getColumnName(i);%></th> <% } %> </tr> <% while(rs.next()) { %> <tr> <% for(int i=1;i<=cols;i++) { %> <td><%rs.getString(i);%></td> <% … | |
Hi All, we have built web site in PHP, Mysql Database and Apache web server. Site is running fine on localhost(Window) but when we try to deploy it on our test environment (ubuntu 12.04.2 platform) .htaccess is not working. I am not getting any error like 500 Internal server error … | |
Dear all, I can use this code to write a value in parent window control. [CODE]StrJScript = "<SCRIPT>parent.document.forms[0].TxtCustomerId.value = '" & ClearSpace(Row.Cells(1).Text.Trim) & "';</SCRIPT>" If Not ClientScript.IsClientScriptBlockRegistered("S1") Then ClientScript.RegisterClientScriptBlock(Me.GetType(), "S1", StrJScript) End If[/CODE] but, I cannot set iFrame visible to false. I use this code : [CODE]StrJScript = "<SCRIPT>parent.document.form1.iFrmCustomer.visible = … Web Development javascript | |
i want change one word from some of the same words with respect to the position of (the first second or third) example : $string = "He had had to have had it."; echo preg_replace('/had/', 'SSS', $string, 1); output : He SSS had to have had it. i want -->: … Web Development php | |
This is kinda relate to my other question...but anyway long story short. I am looking into a way that I can insert a well structured paragraph into the mysql and then display it on the web later on. I have the textarea and the text can insert into the mysql … | |
We use object data sources to access our database and having a problem at the minute, the user enters text and clicks search and the stored proc is pulling so much data back from the database that its taking over a minute in SQL, in Visual Studio the timeout is … Web Development asp.net visual-studio | |
my've got problem like this A PHP Error was encountered Severity: Warning Message: escapeshellarg has been disabled for security reasons Filename: libraries/Upload.php Line Number: 1066 I've tried looking for solutions and one of them by adding @ the library upload.php on a tag escapeshellarg @ escapeshellarg, problem solved but the … Web Development php | |
I always getting this error in my dropdownlistfor: Value cannot be null. Parameter name: items View code: @Html.DropDownListFor(model => model.SiteId, new SelectList(ViewBag.ListSiteClass, "SiteId", "SiteName"), "", new { @onchange = "GetSiteid(this.value);" }) Controller Code: [HttpPost] public ActionResult Create(ServiceDTO ms, FormCollection form) { if (ModelState.IsValid) { int sid = ms.SiteId; ServiceDAO.Insert(sid); } … Web Development asp.net software-architecture | |
hi i have a simple website that includes a WebService and a Webform page. i'm trying to call my web service from the web form using jquery. when i type the web service's url using https, i get "Access denied" error from internet explorer. the call works just fine when … Web Development asp.net http-protocol javascript | |
Hi All, How can we set a value to iframe textbox element either in JS/Jquery <head> <script type="text/javascript"> function load() { alert("Frame is loaded"); myframe.document.getElementById("user_email").value = "<?php echo $var ?>"; } </script> </head> <body> <iframe onload="load()" id="myframe" name="myframe" src="http://www.gigpayrr.com/signup" width="700px" height="600px"> <p>Your browser does not support iframes.</p> </iframe> </body> Web Development html-css javascript microsoft-access php | |
Hi everyone and thanks for reading! I use JavaScript to create sets of text boxes on the fly. I also have a hidden counter in a text box on the form which I also post to my PHP script. This hidden counter is how I tell PHP how many text … Web Development first-post javascript php | |
I've gone through Code Academy's beginner's JS course. I would like to not only practice what I've learned more, but now move on to interdemiate lessons. Is there a site like Code Academy offering such things for free and online? Web Development javascript | |
Hi, I have a problem.I have a third party HTML/Javascript code in which they have text area.They post the content of the text area when user press enter. there is no button to submit the form. So I wanna know how can I submit that form using javascript. Thanks. Web Development javascript | |
Can anyone point me to the right direction with validating a input field like this "p99” (i.e. a letter followed by two digits). Web Development javascript | |
Please tell me if Amazon Payment Gateway Module code for Magento is available or not.Like Paypal Module code is available. i want to check its observer and model file etc. ![]() | |
I am sending email with attachments.. but I did not getting any extention in the email.. all the attachments having name **noname** without extention, if I attach mutiple files then the attachmment also have only one file named **noname** without extention too.. <?php if(isset($_POST['send'])) { include('db.php'); $strTo = $_POST["email"]; $strSubject … Web Development email file-stream php session ![]() | |
hello friend i have two table studentlogin and seconed studentinfo i want that when student login i like to select rollno from student login table in student login there is four field sloginid, rollno, username and password now when rollno fetched succesfully from studentlogin table i like to fetch s_id … Web Development php | |
what i am trying to do is permit the user to claim or reserve a spot with coord my table has 4 feilds id ,continent,coord,nom id is primary key what i am trying to do first i check if the coord already exist if they dont i update the database … | |
Hi, Can anyone tell me why no 'products' are being displayed from the JSON file? This is my code: products.html: <!DOCTYPE html> <html> <head> <meta content="text/html;charset=utf-8" http-equiv="Content-Type"> <meta content="utf-8" http-equiv="encoding"> <style>img{ height: 100px; float: left; }</style> <link rel="stylesheet" type="text/css" href="style.css"> <script src="http://code.jquery.com/jquery-1.7.1.min.js"></script> <script> $.getJSON('products.json', function(data) { $.each(data.products, function(i, item) { … Web Development javascript javascript-jquery json | |
hello im lookin to create site with a login and user registration system like mediafire.com codecanyon.net and other sites could someone explain to me how to do it for example if i want when users registers they upload their profile picture meaning so im wondering how to make it in … Web Development | |
Hi, my problem is that I can't insert the value of $branch to my database, because it returns a null value. I'm still new to PHP and only started using it a couple of days ago, I still don't get much of the functions. Here's my whole code: <?php session_start(); … Web Development php | |
The requested URL /PhpProject1/index.php was not found on this server. this is the error when i am trying to execute an index.php file in netbeans IDE......plz help me... | |
Wasn't sure what thread to post this in but at university we use filezilla to upload our files to the server so we can use php code etc. However when I try to use it at home using the host name, username and password I do at uni it's not … Web Development | |
I wonder when I press hapus / delete nothing happens. It suppose to delete 1 row in table page. admin.php <?php include('../includes/koneksi.php'); //Hapus berita // undefined index: mode if (!empty($_REQUEST['id']) && !empty($_REQUEST['mode']) && $_REQUEST['mode'] == "delete") { $id = $_REQUEST['id']; $result = mysql_query("DELETE FROM page WHERE id =".$id) or die(mysql_error()); … Web Development php | |
hi all i am creating web site accidently i am facing one bug like i didn see pagging on grid after doing same thing on another form it works perfect Please look into my pronlem i am posting my Code here Please Help ASAP Thanks In advance This is my … | |
Hello Lets say I have a text file, in a local or remote location. I want to select it with a file picker (standard Windows browser seleccion). Once I have that selected, I want to click a send button. This send will download the text file from whereever it is … Web Development file-system php web-browser | |
hi all... i'm doing a job site and i want to view jobs from another jobsites like http://www.indeed.co.in/ on my website using xml feed. i dont know how to implelement that ....... pls help me to do that... tnx in advnc... Web Development php | |
Hi guys, I am getting very weird issue here. On my wampserver, this script works fine but not on my liver server which is linux. This is what it does. After a checkbox gets checked, the scripts identifies that and insert a row in table and that script send back … Web Development javascript javascript-jquery ![]() |
The End.