48 Solved Topics
Remove Filter
|
|
Hello everybody. There is a row in my db table I have set it's type as "TIMESTAMP". How should I fill in? Should get the current timestamp in php and send it to that row, correct? So how can I do that? |
|
Hi. I'm working on my own CMS, i want the script to echo 3 posts in every page, and want the script to echo from the recent post and back to the oldest post. I mean like this: For example there is totaly 30 posts; First page => posts 30-29-28 … |
|
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" … |
|
hi all! it might look similar to previous question but actually different.. i'm trying to calculate stock value. for this i want to use "average last purchase value" of item. like if closing stock is 14 and purchase detail is like this 2014/2/2 15pc @ 38000 2014/2/15 5pc @ 36000 … |
|
hey guys. so i was thinking of creating this page that has 2 different tables : table1(table1 filled with names that are populated from database but lets not think about that part for now) and table2(empty), table1 rows are clickable and when doubleclick on one row the data in that … |
|
hey guys so im trying to delete a row using checkbox but i get an undefined index error = Notice: Undefined index: check in D:\Xampp\htdocs\EMS2\event.php . i think its because the checkbox is echoed(?)maybe? or is it something else that i overlooked? <tbody class="tbody-event-list-table2"> <?php require "connection.php"; $check = mysql_query("SELECT … |
|
I need to write a code that is gonna remove a whole row/column in a matrix(either static or dynamic matrix) |
|
HI, so im trying to add new rows to my table using the codes that were given but the row doesnt stick, as in it disappears just after clicking a button. Am i doing something wrong? <script type="text/javascript" charset="utf-8"> var giCount = 1; $(document).ready(function() { //initialise the table $("#tables").dataTable( ); … |
|
I am trying to get the highest value in my rows. I have been at this awhile trying to figure it out. I assume it is suppose to return 3 values but honestly i really suck at this. Here is what I have public static int getHighestInRow(int[][] numbers, int row) … |
|
I copied a list into Excel and some of the list formatted into the neihgboring columns instead of lining up in the list. I need to get the items floating out in the columns back into the proper place in the list. I assume I need to somehow run a … |
|
I have a MSHFlexGird (fgdCompany) and a search command. When the user enters the search data into "txtSearch", the command should search for the data and show it to the user by : Highlighting the record in the MSHFlexGrid -OR- By bringing the row that contains the searched data to … |
|
I have code that worked before so i copied and pasted into new PDO as I am upgrading my website. It displays all images in one row, even though i have told it after 4th image in row crete new row and sart putting images below the row above. <?php … |
|
Hello to everyone, my problem is, Im creating dynamacly rows in a table with a textfield and a checkbox, but to delete the rows the checkbox must be on the first column witch I dont get it, if I move the checkbox to the last column and press it, javascript … |
|
# Row spacing, go away, and never come back! # Hey all, I can't for the life of me figure this one out. I have an email. I have a table. I have a gap between two rows that I can't get rid of in IE. I've googled it, tried … |
|
Hello every one. I am stuck in a place. I am entring medicine record in a table. That's most possible that medicine may exceeds from the rows i am providing. I would like to be assist how can i add new new with a hyperlink text. Also how this row … |
|
Hi Guys, Right... I've managed to run select statements with associated Joins to show the data I want in DGV's which is great. Seems to be working fine. I'm not to the point where I need to be able to Insert, Update & Delete Rows in my Database. I am … |
|
hello, i'm having trouble getting my delete selected checkbox working for a code I'm writing: the trouble is really just in the bottom half of the code after i make the while loop...i made this off of an example that i found on a site but like it was pretty … |
|
Okay, so I would like to say in advance, thank you for the help. With that said, I am having an extraordinary amount of trouble with some code. So here it is: function school_user_exists($school_user = false, $school_id = false) { if($school_user || $school_id) { $school_user = sanitize($school_user); $school_id = (int)$school_id; … |
|
Hello, a noob in web programming here. Doing some course related database, would appreciate any help :), I want to ask whether any of you can help me on how to retrieve get data from mysql using php function, but separate each data from mysql one by one, cause i … |
|
hi guys i got some problem with this code error said that exact fetch row return more than expected rows CREATE OR REPLACE PROCEDURE "MAINTAIN_REQUESTSTATUS1" (emplevel IN NUMBER,eid IN NUMBER,depid IN NUMBER,teamid IN NUMBER) is lastreq number; seq number; stat NUMBER; tok varchar2(60); appr number; CURSOR c1 IS select empid … |
|
i have a list and mysql table. my goal is to make the links active if there is a game in its section: this is my code: mysql_select_db("my_db", $con); $result = mysql_query("SELECT * FROM gameChart"); $row = mysql_fetch_array($result); echo "<dl><dt>Writer's Forge</dt>"; if (!$row["secID"] == 1){ echo "<dd>Collaborated Poetry</dd>";} else { … |
|
So im trying to make a password login and im getting errors. i got past my Unable to jump to row 0 error with this: **mysql_num_rows($result) >= 1** but now it wont jump to the row when the password is correct ether :/ here is the code; whats wrong with … |
|
Hi, i'm trying to do a table with border:1px solid #000000 But i want border between rows and columns. Can someone help me, please? Here's my table if it helps or something: <table> <thead rowspan=1> <tr> <td>Nome da Banda</td> <td>Estilo</td> <td>Atividade</td> <td>Line Up Atual</td> <td>Line Up Tour</td> <td>Ex-Membros</td> <td>Linguagem</td> </tr> … |
|
Hello Friends, One help is required.... I have a select query which is based on two criterias.... if the order is in process or if the order is received.... The datagridview will show all the records from the database,,,, I want to disable the rows in datagridview which will be … |
|
i have this code, it's purpose is to automatically add a colon when the index is 2, i have done it, but when replacing(overwrite) index 2 where (:) is, you can replace it with a different char, so basically colon will be removed. and also what if the user has … |
|
hi guys, this is my first javascript program so i'm certainly a noob. i just want to ask why doesn't this global variable not recognized by my functions .. ? the thing is i need to get the id of a certain table to count the number of rows and … |
|
Hi, I am having problems with deleting part of a record. The record has approximately 15 different fields, and I only wish to delete 3 of them using the following piece of SQL coding: DELETE [PMID 1], [PMName 1], [Price 1] FROM Subscriptions WHERE [Customer ID]="001" The code works absolutely … |
|
Hi, I Want a shell script, when i run it should print the current row & column number of the terminal in which is invoked , so how can i get the current row & column number in the linux . Thanks Srikanth M. |
|
This is my first post on Daniweb. I am developing a social networking site and the register form isn't quite working as expected. Here is the PHP code : [CODE]<? $title = 'Register' ?> <?require ('scripts/top.php'); ?> <link rel='stylesheet' type='text/css' href='scripts/form.css'/> <div id='content'> <h1> Register an account </h1> <div id='form'> … |
|
Im building a control panel on my website to cover a bunch of stuff for my website. It makes viewing each member and video, website etc alot easier. But im building a table for my members. And i have it layed out pretty good. but there's one issue. When you … |
The End.