955 Topics

Member Avatar for
Member Avatar for mrkm1188

I have an asp table with 5 rows and a button that, when clicked by the user, adds an additional row to the table. The row contains 5 cells for the user to input information into. When the text changes in the 3rd cell, its supposed to calculate the sum …

Member Avatar for AleMonteiro
0
3K
Member Avatar for punji

hello guys i have a problem and i beg for help, i'm doing a student IS i have a result table which store students results it is named capture 3 i have developed html form accept user who add marks for a particular student these are the hmtl code <?php …

Member Avatar for coreyavis
0
2K
Member Avatar for SoMa_2

I'm trying to addrow onclick button, and I need that new row would have the diffrent ids for "keyword" and "chapter" so I can pass the values of these two field in CLO(key, chap) I can only call the CLO() function in orginal row I need to be able to …

Member Avatar for lps
0
10K
Member Avatar for SoMa_2

I have this code to add row to my table function addRow(tableID){ var table=document.getElementById(tableID); var rowCount=table.rows.length; var row=table.insertRow(rowCount); var colCount=table.rows[0].cells.length; var cell1=row.insertCell(0); cell1.innerHTML= rowCount+1; for(var i=0;i<colCount;i++){ var newcell=row.insertCell(i+1); newcell.innerHTML=table.rows[0].cells[i+1].innerHTML; }} and this for AJAX function function CLO() { var a=document.getElementById("keyword").value; var b=document.getElementById("chapter").value; if (a == ""&& b == "") { …

Member Avatar for lps
0
372
Member Avatar for bamun

hi, I m using vb.net 2008 & mysql. i need to save array in 2 different datafield in the same database table. For eg: let consider dim n(10) as array & D1 as 1st data field, D2 as 2nd datafield now i need to save n(1) on D1 and n(2) …

Member Avatar for Reverend Jim
0
265
Member Avatar for Nebil

Hi, I am having trouble with dropping a temp table. I was using it so many times in other projects but this time it went bad. The only thing different now is that I referred a string value from the main form to another form.The other form populates a dgv …

Member Avatar for djjeavons
0
233
Member Avatar for Niloofar24

Hello. There is an html table in admin page, with head columns (POST ID | POST TITLE | POST AUTHOR | ACTION). And in each row, will contain a post id, a post title, a post author that gets from database. And in the Action column, there is a "delete" …

Member Avatar for lps
0
973
Member Avatar for Niloofar24

Hello everybody! There is a problem with my db table. For example i send 6 posts (with title, author and content) to the db table one after an other, so their post's id would be 1-2-3-4-5-6. Then if i delete the post number 6 and then write a new post …

Member Avatar for DJBirdi
0
303
Member Avatar for MarkDbro

I have a question about inserting images into a product page. I have 5 images (saved as longblobs in my products table) and would like to put them in my table like the id, name, quantity and price.... any idea of how i would do this? I have this so …

Member Avatar for MarkDbro
0
1K
Member Avatar for Niloofar24

Hi, as you know i'm creating my own CMS. This is a part of my code: if (!empty($_POST["Title"]) && !empty($_POST["Author"]) && !empty($_POST["Content"])) { $sql = "INSERT INTO Posts (Title, Author, Content) VALUES ('$title', '$author', '$content')"; } I want the script to check if Title Field and Author field and Content …

Member Avatar for Niloofar24
0
479
Member Avatar for Niloofar24

Hello again. I have insert title, author and content data into table with admin-are page and now want to create a user-view-page.php that everybody enter into that page and see all posts one after an other, something like this model: first title by first author first content seconr title by …

Member Avatar for Niloofar24
0
304
Member Avatar for ribrahim

Dear Sirs, I have two tables (Clients and Country), my below php code is for creating a new client with a dropdown box from country to insert the id_country into clients table. When click add new nothing added to table clinets: any help please: <?php $jsFile = 'newClient'; // Add …

Member Avatar for ribrahim
0
320
Member Avatar for Suzie999

Earlier I posted a snippet which showed [how to create a 2 dimensional string array from an SQLite database table](https://www.daniweb.com/software-development/csharp/code/494083/sqlite-database-table-to-2-dimensional-string-array-). This snippet is the reverse, if you will, where we create an SQLite database table from a 2d string array. It should be noted that this code has it's limitations, …

Member Avatar for Suzie999
0
2K
Member Avatar for tqmd1

Sir I have these codes <html> </head> <style type="text/css"> #box1{ width:300px; border:1px solid green; overflow:hidden; margin:0 auto; padding:10px; } th { background:#6495ED; padding-bottom:5px; color:white; } td { border-collapse: collapse; text-align:center; } .format{ padding:5px; background:white; border:1px solid #90bade; } .namebold { color:brown; font-size:12pt; font-weight:bold; text-align:center; font-family: Georgia, "Times New Roman", Times, …

Member Avatar for Wuhoo
0
882
Member Avatar for mgreiner28

How can I add a filter option to be displayed only when the table displays more than 25 results. So when the table displays less than 25 results, the filter option will also no longer be displayed. <div class="container"> <div class="row"> <div class="col-md-6"> <h2> Dicey Dining Results</h2> </div> </div> <?php …

Member Avatar for mgreiner28
0
331
Member Avatar for berserk

I am in need of help on this one :( i cannot seem to figure out what i have done wrong, i set up my code just like in teh examples i read and i dont really see anything wrong with the logic (as far as i can tell) but …

Member Avatar for berserk
0
314
Member Avatar for suneet.pant

hi there, for the last one week I am deliberately trying to solve my problem. **Pls help me** For your better understanding, Layout of my page is something like this : Part -A -------- [ Dropdown list ] [ TextBox ] [ Table -1 ] Part - B -------- [ …

Member Avatar for vishal_isharani
0
345
Member Avatar for Linh_1

can someone show me how to do this please? I am new to programming languge? here is the requirement? Thanks. Create a database table with 10 records with the following fields: Lastname, FirstName, Phone Number, Street Address, City, State, Zipcode. The table name is: “User Info”. Please create the table …

Member Avatar for Aslam Mansoor
0
338
Member Avatar for jovstudios

Hello guys. I Found some code Dynamically Add/Remove Rows In HTML Table Using JavaScript and I found Here : http://viralpatel.net/blogs/dynamically-add-remove-rows-in-html-table-using-javascript/ then i copy and paste and run it in my browser . its successful ok. but when i Add A Little codes is not succesfful ok. because when i click …

Member Avatar for Amit_27
0
9K
Member Avatar for berserk

I have been working with this table for some time now and i cannot figure out how to get the nested feature working correctly, when i try to insert the nested table into the original table is admitidly does go in but it removes all the formatting from my previous …

0
292
Member Avatar for rpv_sen

Hi friends, I am using MSSQL Database, it has more than 13246 reconds in a table. I am trying to display it in a table with bootstrap. But i am unable to load my datas. can any please help me how to resolve this my code is below <?php session_start(); …

Member Avatar for pritaeas
0
269
Member Avatar for Makara

Hello. I have displayed data from SQL Table in the HTML form and I want to use this same form to update COMMENT field in the sql. I have already coded my page as follows; <?php // Connect to server and select databse. $con=mysql_connect("localhost", "root", "")or die("cannot connect"); mysql_select_db("ison",$con)or die("cannot …

Member Avatar for Makara
0
2K
Member Avatar for berserk

OKAY i have been working on this for a little while and i feel i am getting close but there are a few things i can't seem to find on the internet that are good examples/tutorials/reading materials. 1. i need my table to expand and collapse (got that figured out) …

Member Avatar for diafol
0
2K
Member Avatar for showman13

Good Morning, I am trying to create a function that will return a single value that represents the customer that will receive a reward... The source of the data that makes the determination is the banner_key table (partial - sample data) key_id mem_id bid created status keylock last_update 144 10000022 …

Member Avatar for showman13
0
193
Member Avatar for nimz143

Hello :) I'm trying to create web application. I followed the tutorial given in this site : http://aspsnippets.c...-in-ASPNet.aspx My problem now, after I create a table and the UI. Next step show about stored procedure. What is stored procedure use for? Do I need this even though I had a …

Member Avatar for nimz143
0
270
Member Avatar for jonlloydd

I want to filter records being displayed from a MySQL table if the value of a field = one of multiple predeclared values. I am already running a query on my table which displays records based on which option from a dropdown menu the user selects. However before the user …

Member Avatar for linus72982
0
501
Member Avatar for Niloofar24

Well, me again! Have an other problem with creating an other table. I want to create a Posts table with this code: <?php $servername = "localhost"; $dbname = "mydbname"; $dbusername = "mydbusername"; $dbpassword = "mydbpassword"; try { $conn = new PDO("mysql:host=$servername;dbname=$dbname", $dbusername, $dbpassword); $conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $sql = 'CREATE TABLE Posts( …

Member Avatar for Niloofar24
0
269
Member Avatar for Niloofar24

Hello. Look at this file please: register.php <?php $servername = "localhost"; $dbname = "mydbname"; $dbusername = "mydbusername"; $dbpassword = "mydbpassword"; try { $conn = new PDO("mysql:host=$servername;dbname=$dbname", $dbusername, $dbpassword); $conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $sql = "INSERT INTO Users (Username, Password) VALUES ('$username', '$password')"; $conn->exec($sql); } catch(PDOException $e) { echo $sql . "<br>" . …

Member Avatar for lps
0
258
Member Avatar for Joemeister

I am quite new to SQL but I was wondering how to achieve the following. How do I get specific values that fall in the year 2013 when the date format in the table is looking something like this: 1 94 pH 02-02-2012 11:48 AM 1200001 2 103 pH 09-06-2012 …

Member Avatar for Reverend Jim
0
171
Member Avatar for jonlloydd

I have a search box and a dropdown box. I am using these to filter data being displayed on my table from the MySQL table. I can type a county name in to the searchbox and all the records with that county name will be dsiplayed. THAT works fine, however …

Member Avatar for matrixdevuk
0
578

The End.