We're a friendly, industry-focused discussion community of 1M+ developers and IT professionals learning and sharing knowledge. Ask us a question …

Member Avatar
320 Replied To a Post in rsync error
After running rsync with the `-a --delete source dest` arguments on my music library to my sd card I am getting the following errors. default_perms_for_dir: sys_acl_get_file(Tears For Fears/Donnie Darko, ACL_TYPE_DEFAULT): No such file or directory, falling back on umask rsync: mkstemp "/media/garrett/MUSIC-SD/Tears For Fears/Donnie Darko/.Mad World.mp3.yr2Xyc" failed: No such file … Article by lewashby in Linux and Unix
@lewashby, why I noted it was so you could test is it's a space in the filename issue. Also can you reveal how many entries are in the root folder? I'm not there to check basics so I ask.
Member Avatar
Replied To a Post in Updating SQL Server table
Hi Guys, i am building an application in VB.Net with sql server for databases. I have a screen on which the items in a table are populated in a datagridview based on the combo box selection. A button to commplete the sale has a code that must subtract the number … Article by wishala in Programming
Thanks Shark, you just did it.
Member Avatar
Hi Guys, i am building an application in VB.Net with sql server for databases. I have a screen on which the items in a table are populated in a datagridview based on the combo box selection. A button to commplete the sale has a code that must subtract the number … Article by wishala in Programming
Member Avatar
86 Replied To a Post in Updating SQL Server table
Hi Guys, i am building an application in VB.Net with sql server for databases. I have a screen on which the items in a table are populated in a datagridview based on the combo box selection. A button to commplete the sale has a code that must subtract the number … Article by wishala in Programming
Your SQL syntax should be as follows: Inveupdate.CommandText = "UPDATE tblItems SET Quantity = Quantity - 1 WHERE Barcode=@Barcode" MsSQl, MySql or Oracle alaways receive named parameter you can use "?" i.e. question mark when you use only OleDb database provider.
Member Avatar
Hi Guys, i am building an application in VB.Net with sql server for databases. I have a screen on which the items in a table are populated in a datagridview based on the combo box selection. A button to commplete the sale has a code that must subtract the number … Article by wishala in Programming
Member Avatar
Hi Guys, i am building an application in VB.Net with sql server for databases. I have a screen on which the items in a table are populated in a datagridview based on the combo box selection. A button to commplete the sale has a code that must subtract the number … Article by wishala in Programming
Member Avatar
Replied To a Post in Updating SQL Server table
Hi Guys, i am building an application in VB.Net with sql server for databases. I have a screen on which the items in a table are populated in a datagridview based on the combo box selection. A button to commplete the sale has a code that must subtract the number … First Post in Article by wishala in Programming
Member Avatar
1,078 Replied To a Post in unsigned smallint in sqlite
Hi All, in sqlite SMALLINT datatype is used to store 2 bytes integer but i didn't see any Unsigned SMALLINT type to support the range(0-65535). Can anybody let me know how to achieve the same. Article by can-mohan in Software Development
Hi, try the `CHECK()` constraint, for example: CREATE TABLE test ( number SMALLINT CHECK(number BETWEEN 0 AND 65535) ); When you try to insert something out of that range, it will raise an error. See also: * https://www.sqlite.org/lang_createtable.html#constraints
Member Avatar
Replied To a Post in Reinstall my Windows 7
Hi, i would like to ask if i reinstall my Windows 7, does the product Id & License key change also??I'm not really familiar with software. ^_^ Article by Jessica_16 in Hardware and Software
but the product key can change when i reinstall the OS right??
Member Avatar
3,065 Began Watching
Hello, I am new to Jquery and task is given to me to "make a progress bar for task completion " . For example: there are 4 Sections and all those 4 section have different youtube videos . After the user clicks the section and watch the video of that … Article by Himanshu Chawla in Web Development
Member Avatar
3,065 Replied To a Post in Jquery Progress Bar
Hello, I am new to Jquery and task is given to me to "make a progress bar for task completion " . For example: there are 4 Sections and all those 4 section have different youtube videos . After the user clicks the section and watch the video of that … Article by Himanshu Chawla in Web Development
I'll just chip in, remember to consider whether the video needs to be watched in its entirety - for that you will probably need the YT API - but I've not looked deeply into it, so can't comment on whether it has such a feature. An example can be found …
Member Avatar
Joined the Community
Member Avatar
Hi!, I am getting a warning message while trying to update values in textfield but the values are getting updated in database. here is my code, <?php $id = $_GET['id']; //print_r($id); $action = $_GET['action']; $page_name = mysql_real_escape_string($_POST['page_name']); $page_content = mysql_real_escape_string($_POST['page_content']); if (isset($action) && $action=='edit') { $sql = "SELECT * FROM … Article by SubratPHP in Web Development
Member Avatar
Hi!, I am getting a warning message while trying to update values in textfield but the values are getting updated in database. here is my code, <?php $id = $_GET['id']; //print_r($id); $action = $_GET['action']; $page_name = mysql_real_escape_string($_POST['page_name']); $page_content = mysql_real_escape_string($_POST['page_content']); if (isset($action) && $action=='edit') { $sql = "SELECT * FROM … Article by SubratPHP in Web Development
What's the warning message?
Member Avatar
Hi, I am working on membership concepts in asp.net. Now i want to reset new password and getpassword for specific user. this is my web.config code: <add name="MySqlMembershipProvider" connectionStringName="SQL2005DB380ConnectionString" applicationName="MyAppName" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" passwordFormat="Encrypted" enablePasswordReset="true" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/> How can I get old password and reset new … Article by visweswaran28 in Web Development
Member Avatar
Hi, I am working on membership concepts in asp.net. Now i want to reset new password and getpassword for specific user. this is my web.config code: <add name="MySqlMembershipProvider" connectionStringName="SQL2005DB380ConnectionString" applicationName="MyAppName" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" passwordFormat="Encrypted" enablePasswordReset="true" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/> How can I get old password and reset new … Article by visweswaran28 in Web Development
MembershipUser mu = Membership.GetUser(username); mu.ChangePassword(mu.ResetPassword(), password);
Member Avatar
Joined the Community
Member Avatar
1,655 Replied To a Post in Reinstall my Windows 7
Hi, i would like to ask if i reinstall my Windows 7, does the product Id & License key change also??I'm not really familiar with software. ^_^ Article by Jessica_16 in Hardware and Software
Your license key stays the same...
Member Avatar
Hi, i would like to ask if i reinstall my Windows 7, does the product Id & License key change also??I'm not really familiar with software. ^_^ Article by Jessica_16 in Hardware and Software
Member Avatar
Hi, i would like to ask if i reinstall my Windows 7, does the product Id & License key change also??I'm not really familiar with software. ^_^ Article by Jessica_16 in Hardware and Software
Member Avatar
Replied To a Post in Reinstall my Windows 7
Hi, i would like to ask if i reinstall my Windows 7, does the product Id & License key change also??I'm not really familiar with software. ^_^ First Post in Article by Jessica_16 in Hardware and Software
Member Avatar
HELP!!! No beep on my motherboard when i remove the RAM & HDD, i tried another RAM & HDD from another computer but still not working. I checked the RAM & HDD if its working on another, it works, i replace the wires(SATA especially) but nothing change,i also replace the … Article by Jessica_16 in Hardware
Member Avatar
HELP!!! No beep on my motherboard when i remove the RAM & HDD, i tried another RAM & HDD from another computer but still not working. I checked the RAM & HDD if its working on another, it works, i replace the wires(SATA especially) but nothing change,i also replace the … Article by Jessica_16 in Hardware
Member Avatar
HELP!!! No beep on my motherboard when i remove the RAM & HDD, i tried another RAM & HDD from another computer but still not working. I checked the RAM & HDD if its working on another, it works, i replace the wires(SATA especially) but nothing change,i also replace the … First Post in Article by Jessica_16 in Hardware
Member Avatar
$sql = "SELECT doc FROM file_loc where file_id='1'"; while($results = mysql_query("$sql") or die("Invalid query: " . mysql_error()); { // set the header for the image header('Content-type: application/pdf'); header('Content-Disposition: inline; filename = "' .$results . '"'); header('Content-Transfer-Encoding: binary'); if (isset($results)) { $pdf = new FPDI(); // get the page count $pageCount … Article by chandnee in Web Development
Member Avatar
$sql = "SELECT doc FROM file_loc where file_id='1'"; while($results = mysql_query("$sql") or die("Invalid query: " . mysql_error()); { // set the header for the image header('Content-type: application/pdf'); header('Content-Disposition: inline; filename = "' .$results . '"'); header('Content-Transfer-Encoding: binary'); if (isset($results)) { $pdf = new FPDI(); // get the page count $pageCount … Article by chandnee in Web Development
Below: $result = mysql_query($sql) or die('Invalid query: ' . mysql_error()); if ($results && $row = mysql_fetch_assoc($results)) You use `$result` and `$results` - use one or the other.
Member Avatar
-3 Replied To a Post in PHP login Form
hello my dear Friends, for a long time i was not here. I hope u all are geting well. again i have problem in login form anyone can guide me plz, code is below <?php include "conn.php"; if($_SERVER["REQUEST_METHOD"] == "POST"){ $username = filter_input(INPUT_POST, 'username', FILTER_SANITIZE_SPECIAL_CHARS); $password = filter_input(INPUT_POST, 'password', FILTER_SANITIZE_SPECIAL_CHARS); … Article by zebnoon1 in Web Development
ok thx i soved this problem, some mistype was there .....i post correct code here. <?php include "conn.php"; if ($_SERVER["REQUEST_METHOD"] == "POST"){ $username = filter_input(INPUT_POST, 'user', FILTER_SANITIZE_SPECIAL_CHARS); $password = filter_input(INPUT_POST, 'pass', FILTER_SANITIZE_SPECIAL_CHARS); $sql = "SELECT * FROM admintb WHERE username ='$username' and password='$password'"; $result = $conn->query($sql); if ($result->num_rows > 0) …
Member Avatar
Joined the Community
Member Avatar
3,065 Replied To a Post in PHP login Form
hello my dear Friends, for a long time i was not here. I hope u all are geting well. again i have problem in login form anyone can guide me plz, code is below <?php include "conn.php"; if($_SERVER["REQUEST_METHOD"] == "POST"){ $username = filter_input(INPUT_POST, 'username', FILTER_SANITIZE_SPECIAL_CHARS); $password = filter_input(INPUT_POST, 'password', FILTER_SANITIZE_SPECIAL_CHARS); … Article by zebnoon1 in Web Development
You must first ascertain whether you have a successful query or not. If so, use your code, if not, check what the problem is (my one-liner).
Member Avatar
3,065 Replied To a Post in ajax response data problem
Sir I have these codes <script> function myCall() { var data = $("#datepicker-13").val(); alert(data) var request = $.ajax({ url: "ajax_arrival.php", type: "Get", data: { "date": data }, dataType: "html" }); request.done(function(msg) { msg = data.split("##"); $("#wh_bg1").val(msg[0]); $("#wh_jt1").val(msg[1]); $("#wh_wt1").val(msg[2]); // alert(msg); }); request.fail(function(jqXHR, textStatus) { alert("Request failed: " + textStatus); }); … Article by phphp in Web Development
php
BTW: $query ="SELECT qty,jute,weight FROM arrival where date= '$date.'"; Looks wrong as it has a period at the end. Also, ensure that you sanitize `$date` or you will be open to SQL injections. Ideally, you'd use a prepared statement. See my tute: https://www.daniweb.com/programming/web-development/tutorials/499320/common-issues-with-mysql-and-php - points #2 and #4. Your html …