No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
How to create submit button on each row ? If i press the button on that row, the information on that row will be confirmed. What is the problem? [CODE] ;<input name="<?php echo $row['id']; ?>" type="submit" id="<?php echo $row['id']; ?>" value="Confrim">&[/CODE] The whole code [CODE] <?php $host="localhost"; // Host name … |
|
Re:
Hi all, How can I change the BACKGROUND color of the MDI FORM in C#? I changed it using the background color property but the color is not changed. What should I do to perform this task? Please help me out!! Thanks in advance!! |
|
Re:
I need help in using a variable passed in a hyperlink query string to do PHP query of a MySQL database. I want use the variable to query the database and return the unique row field data to display in a table The hyperlink is: [CODE]http://www.site.com/bios.php?pc=ab [/CODE] After connecting to … |
|
In DOS, C, VB6 we could check if Transmitter Shift Register or Transmitter Holding Register empty or not before writing any data onto the serial port. This facility would certainly avoid making the attempt of writing while the port is not ready to accept data. similarly, we could check if … |
|
Hellow. I have 3 variables 1. string query; 2. public static OracleCommand oracmd; 3. public static OracleDataReader reader; I have used these variables in a function [CODE=C#] . . . public void PreviousValue() { query = " select * from....... "; oracmd = new OracleCommand(); .... .... reader = oracmd.ExecuteReader(); … |
|
Hellow. I have installed IIS7 in windows 7. I have a ASP.NET project. Now i want to run it through IIS7. But whne i try it from by web browser by [B][url]http://localhost/Myweb/Default.aspx[/url][/B], it shows the following error on my browser.. [CODE] Server Error in '/' Application. -------------------------------------------------------------------------------- Configuration Error Description: … |
|
Hi, I am having problem on getting value from dropDown list. [CODE] using System; using System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.OleDb; public partial class _Default : System.Web.UI.Page { OleDbCommand comm; OleDbConnection conn; //conn = new OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=G:\\Demo11(1).accdb;Persist Security Info=False"); protected void Page_Load(object sender, EventArgs e) { if … |
|
Re:
Hi im new to php, so can some body help me out with this code? "Parse error: syntax error, unexpected $end in E:\EasyPHP-5.3.2i\www\Survey\register.php on line 79" [CODE]<html> <?php if (isset($_POST['button'])) { if ($button) { // get data $username = $_POST['username']; $password = $_POST['password']; $retypepassword = $_POST['password']; $email = $_POST['email']; if($username … |
|
Re:
i'm having 2 select boxes, if i change the first one i would like a 2nd select box to change the content, everything is comming from a database. not xml because i want everything to be stored in a database for. is this possible with an onchange command or something? … |
|
Re:
I'm just trying to output a value, but whenever it gets to "var max = tb1.value;" it stops working. I can't find out what's wrong with my code. [CODE]<html> <head> <script language="javascript" type="text/javascript"> var tb1 = document.getElementById('textbox1'); function output() { var max = tb1.value; document.write( max ); } </script> <title>asd</title> … |
|
I have an html div [CODE] <div id="myDiv"> <table border="1" bgcolor="#FFFFFF" width="600"> <tr style="text-align:center"> <td>Subject Code</td> <td>Subject Title</td> <td>Credit Hour</td> </tr> </div> [/CODE] Now, I want to have a button by which i can convert this <div id="myDiv"> to image or .doc.... can any one help me |
|
Re:
What is wrong here ... as verb_id and item_code is being entered into the database as "0" ... even the date is like 0000/00/00 ... Thanx in advance !! [CODE]<?php $verb_description=$_REQUEST['verb']; $item_description=$_REQUEST['item']; $post_description=$_REQUEST['post_description']; //to fetch verb_id $verb_sql="SELECT verb_id FROM tbl_verbs_master WHERE verb_description='$verb_description'"; $verb_id=mysql_query($verb_sql) or die(mysql_error()); //to fetch item_code $item_sql="SELECT item_code … |
|
I have an html div [CODE] <div id="myDiv"> <table border="1" bgcolor="#FFFFFF" width="600"> <tr style="text-align:center"> <td>Subject Code</td> <td>Subject Title</td> <td>Credit Hour</td> </tr> </div> [/CODE] Now, I want to have a button by which i can convert this [B]<div id="myDiv">[/B] to image or .doc.... can any one help me |
|
Re:
How should I call jquery from my php page? This is my php page: [CODE] <form action="#" method="post"> <input type="file" name="fileInput" id="fileInput" /> <input type="submit" value="submit" disabled /> </form> <div id="result"></div> [/CODE] And this is the js file: [CODE] $(document).ready( function(){ $('input:file').change( function(){ if ($(this).val()) { $('input:submit').attr('disabled',false); } } ); … |
|
Re:
Hello all, I'm having a problem with having code execute when I'm adding javascript/ajax to my php. When I do the following piece of code, nothing happens. This is just a test line of code, my real code links to more javascript which uses ajax, but I have to figure … |
|
Re:
Hi frens I have a row containing 3 text field and a dropdown. the user enters details into the textbox and chooses a option from the dropdown. User may choose to save the details or add more details by clicking on Save or Add Row button resp. If the user … |
|
Re:
hello! i'm a super newbie at php i'm trying to learn some scripts, what im trying to do now is a simple shop system. i have a table that contains item_id , item_name, price, quantity what i want to do is that a customer will choose an item, how many … |
|
Re:
Hi all.. I got this code that dealing with ajax..Basically the ajax code is to get the data from the html element and insert it to the database. this is ajax and the html code : [CODE] <script type="text/javascript"> $(document).ready(function(){ $("form#post_reply").submit(function() { var discuss_text = $('#discuss_text').attr('value'); var test5 = $('#test5').attr('value'); … |
|
My form is like the above [CODE] <form method="post" name="publishResult" onsubmit="return g(this);"> <select id="options1" name="se1" > <option value="0" >-- Grade --</option> <option value="A+">A+</option> <option value="A">A</option> <option value="A-">A-</option> <option value="B+">B+</option> <option value="B">B</option> <option value="B-">B-</option> <option value="D">D</option> <option value="F">F</option> </select> <select id="options2" name="se2" > <option value="0" >-- Grade --</option> <option value="A+">A+</option> <option … |
|
I started a thread... [url]http://www.daniweb.com/forums/thread345301.html[/url] I got some replies which solved my problem...after that I have clicked the M[U]ark this Thread as Solved[/U] under [U]Has this thread been answered?[/U] But still its showing Discussion Thread Unsolved |
|
Hi, I can pass an array through jquery ajax. [CODE] var regSubCodeArray = new Array(); var temp = 9; var i; for(i=0;i<temp;i++) { subname = 'sub'+i; subcode = 'sub_code'+i; subcredit = 'sub_credit'+i; regSubCodeArray[i] = document.getElementById(subcode).innerText; } $.ajax({ url: "testArray.php", type: "GET", data: "page="+regSubCodeArray, cache: false, success: function (html) { $('#ttl').html(html); … |