199,114 Archived Topics
Remove Filter ![]() | |
I have two values in my code one is from a SQL Server query echo to the screen as formattedNum10d my second value is stored in a MySQL database and echo to the screen as formattedNum10f. In a seperate column i would like to subtract foramattedNum10f from formattedNum10d and echo … | |
Hey, what's up guys, Can anyone explain what ADT is? How do you know when you are using it? When? Why? I mean, in a simpler way than some books define it. P.S. I am not even sure if my questions are valid :D Thanks! | |
Hello, This is Laravel. After inputting the profile_info I wonder why after checking the dd($here) the result remains the same. I expect it to change the same just like the value that I input. setting.blade.php <div class="setting-box profile-open"> <form role="form" id="form_update_profile_info" method="post" action="{{action('AjaxController@postUpdateprofileInfo')}}"> <div class="form-group"> <div class="col-group"> <textarea style="height: 150px;" … | |
<div class="content" style="margin-left:17%;"> <div class="box box-warning" > <div class="box-header with-border" style="margin-left:20%;"> <h3 class="box-title">Add Package</h3> </div><!-- /.box-header --> <div class="box-body" style="margin-left:9%;"> <div class="row"> <div class="col-md-10" > <form action="" method="post" accept-charset="utf-8"> <div class="row" > <div class="col-md-6"> <div class="form-group"> <label for="varchar">Name </label> <input type="text" class="form-control" name="name" id="name" placeholder="Name" value=""> </div> </div> <div class="col-md-6"> … | |
Im working on a one huge project that is combination of many sub projects which is talking to eachothers and they all use apart from data base whice responsible to manage user's account i dont want to work with one database so i have to isolate each project's database and … | |
Hi Guys, Im currantly having a problem with simulating balls bouncing of each other in a 2d space, everything is working and all, but it just doesant seem natural for me... If we had any math wizzes here now is your time please:) my circles are painted inside of rectangles..... … | |
Hey guys, I am at the very beginning of learning Java and my task right now is to code a maze (2D Array) and let a bot automatically solve that maze using only the right hand rule. If I let the programm run it prints out an infinite number of … | |
Hi there, I am not sure where to post this question. I want to know how to animate objects like my "project images" when i click on menu item on web page. For better understanding please visit the following link and click on my work from top navigation. Thank you. … | |
Hi I have made a desktop application and i have to print some data to printer.For this purpose I have done my code and ran it successfuly and test on xps doucuments and on oneNote . I have no physical printer but i am satisfied by testing it on xps … | |
I want to make a game that allows users to make a log in which requires them to make a username and password,I will then give them an option whether they woul like to register or log in.This is where I am stuggling as I dont know how to save … | |
Hi, I'm trying to copy the data from a table in one database to another table (with the same fields of the origin table) in another database. And this is my code $con= mysqli_connect("localhost", "root", "") or die("error"); $sql="insert motcenter.d select * from mot_hrms.d "; $result=$con->query($sql); But nothing happens when … | |
Hi Guys Its me again, wasnt sure if i should start a new thread so i just did :) I completly redid the code Now im having a problem with the renderer again. It called called in the timer of the controller class... but it doesant get called? Also my … | |
Hello everyone and happy new year, i wonder is there something that allows you to detect that android device is near you? I want to create an app that will show me android devices that are near me, for scientific purposes. But without my app installed on their devices, so … Programming android android-development | |
For example, in Facebook, if you enter someone's profile you can see all the user's data. I know how to get the logged in user's data. But what I don't know is how to get every single user's data and show them. I searched a lot and all what I … | |
Hello Guys, So im a student at 12 grade and im trying to build a website from scratch and i've been successfull until now, i've been stuck in this error for 2 or 3 days, i cant send the text area + other input to database at the same type … | |
I am trying to follow the sample of the barcode reader from codelabs. However I am stuck, could someone help me out please. [Codelabs tutorial](https://codelabs.developers.google.com/codelabs/bar-codes/#0) I have updated the manifests to include the vision libaries. import android.app.Activity; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.drawable.BitmapDrawable; import android.os.Bundle; import android.util.SparseArray; import android.view.View; import … Programming android android-development java | |
I have to create a program that asks a person to enter numbers (1-99) and convert it into words. I've been working on this for days and I still don't see what I'm doing wrong! PLEASE HELP ME!!! I get an error on all the case numbers and I dont … | |
1- I want to edit the search code where I search all the fields with no repetition of the data 2- And modify the deletion code where it deletes and saves the data all code Imports System.Data.OleDb Public Class Form1 Public con As New OleDb.OleDbConnection("provider=microsoft.ace.oledb.12.0;data source=" & Application.StartupPath & "\web_database.accdb;Jet … | |
Hello, I'm writting a program to create a "Snake Game" in C#. What I want to do, is to constantly call the FOrm Paint Event Method to draw the snake and fruits in the form. I added a Timer that will call the Paint Event Method every 100ms. The thing … | |
I'm jumping into Python/Django, and have been hitting some speed bumps. I'm a somewhat novice programmer. I know the basics, but haven't done anything more than create a PHP webform, and build very simple websites. I have a thousand questions about Django (most centering around Views and customizing the Admin, … | |
Currantly trying to make a simple game but i cant get the renderer to repaint. My problem is that i used to make everything in 1 class... much simpler. But now im just not sure anymore. This is what i have so far... it just wont repaint. (Note i have … | |
Hi! I have developed a desktop application in java. Now I want to do payment integration with this app. Actually I have to do payment integration for first time in my life. So i have some questions/confusions for payment integration. But before asking those questions I tell you that what … | |
``//this program show the implementation of a sigle class #include<iostream> #include<conio.h> using namespace std; class Example //class is reserved keyword and "Example is the name of class { public: int first_value; int second_value; //these are data member of class with "public access modfire" void setValue(int f,int s) //here i used … Programming c++ | |
Hi can anyone help me fix my code, i keep on getting erros and option 4 for my main menu will not work. Problem asks: Write a program that can be used by a small theater to sell tickets for performances. The theater’s auditorium has 15 rows of seats, with … | |
Hi Guys Just starting to make my first java game, im getting a few errors. Im just trying to figure a few things about about the game loops before i get started and this is driving me crazy when i just call the renderer to repaint after i initialize the … | |
I have a file where I must find and delete a string, which in this case is called 'queue'. After I delete it, I must then delete all the following lines until a '[' character is found. I can't figure out how to do this, being a newbie in python … | |
my c++ code is giving error syntax declaration int hang(void) { const int maxl=80; const int maxt=5; int lfill (char,char[],char[]); void unitunknown (char[],char[]); int m2(void); int m2 () { \\the syntax declaration is here char unknown [maxl]; char letter; int nwrong=0; char word[maxl]; char words[][maxl]= { "india", "pakistan", "australia" , … | |
hi, i am new to php. I am trying to fetch the image stored in database by using mysqli but couldnt fetch it. Please help me with this. Please find the code and let me know where i am lacking... <?php $link = mysqli_connect('localhost','root','','db_image') or die(mysqli_connect_error()); if(isset($_POST['btn_submit'])){ extract($_POST); $file_name=$_FILES["image"]["name"]; $file_tmp=$_FILES["image"]["tmp_name"]; … | |
i have a two menu bar option which are home and my account after login my user and pswd its show home page but when i change home to my account page its show message below and logout Notice: Undefined index: user in folder\myaccount.php Notice: Undefined index: pswd in folder\myaccount.php … | |
i have a simple database where i want to sum Amount of one one text box at the footer of my form textbox. Am using access as the database Programming vb.net | |
**Table: category** **table structure** id label parent **example data** id - label - parent 1 - Apparel - 0 2 - Technology - 0 3 - Travel - 0 4 - shirts - 1 **For above table I have two links** 1. First link display category with no parent (e.g. … Programming data-structure display php | |
hi everyone hope you are all well... i am login with userid and password and i want to display there username after login from my oracle database how? | |
Hello Everyone! I am unable to upload fiels using Code Igniter framework. I have one form with the help of it need to upload 4 images in fabrics folder each time. Before uploading images I need to create folder sructure also but unable to do so by giving absolute path … | |
hi all im attempting to update some script and i have a undefined error in a page see coding for error $column = "select * "; $sql .= " from favorites where user_id = '".$_SESSION['userid']."' "; of which the information a want to echo shows up so when i put … | |
Hello Daniweb-Community, I got a node in my xml-File for a java-link. it looks like "C:\Program Files (x86)\Tool7\javaw.exe -splash:splash.png -cp ./cl/cl.jar; -Dawt.useSystemAAFontSettings=on" If i start the tool by double click on the node, it doesn´t start it, because it doesn´t load the arguments. Next i createt a new attribut (called … Programming file-stream ide microsoft-office vb.net visual-studio xml | |
The present code snippet just does an especific task. This is, given an ordered sequence of natural numbers, starting at zero, generate all the different permutations there can be. When we talk about permutations, the order of the sequence does matter. So, the sequence 0, 1, 2 differs from 2, … | |
The second annual Imperva Hacker Intelligence Initiative report, this one entitled [Monitoring Hacker Forums](http://www.imperva.com/docs/HII_Monitoring_Hacker_Forums_2012.pdf), is out and reveals that the threat surfaces being discussed by the hacker community are very different from those that businesses are spending money on defending against attack.  The Imperva research analysed the content … | |
Hello, how can i bypass captcha images when im posting with curl ? i'm sending post but cant get the value of the captcha there some way to do this? thanks . | |
Dear team, We are going to develop the WEB Application which contains more than 200 forms with different fields. Kindly, let us know which technology is best for front end (Angular 2 , React or any other technology) | |
i want to change (.php) to my own extension like (.abc) and it should work like php page in lighttpd server in ubuntu os. Anybody knows how to do this? | |
LoadLibray returns 0 when I'm trying to load a dll file. I'm using Visual Studio 2017 #include "App.h" #include <windows.h> #include <iostream> using namespace std; typedef int(__stdcall *f_funci)(unsigned char, unsigned int); int main(int argc, char **argv) { SetDllDirectory((LPCWSTR)L"C:\\xmrig-master\\build\\Debug"); HINSTANCE hGetProcIDDLL = LoadLibrary(L"asm.dll"); if (!hGetProcIDDLL) { cout << "could not load … | |
i want to display my image from a folder but its not work what i change in code to work <?php $dir_path = "/xampp/htdocs/image/"; $extensions_array = array('jpg','png','jpeg'); if(is_dir($dir_path)) { $files = scandir($dir_path); for($i = 0; $i < count($files); $i++) { if($files[$i] !='.' && $files[$i] !='..') { // get file name … | |
Hello there guys! I must implement a linked list in assembly (using MIPS). We're supposed to dynamically allocate memory for the nodes. This is what I am asked to do: Write a program in assembly (MIPS) that implements a link-list. The client can choose among the following options. So the … | |
Plz tell me how I would calculate time complexity of the program: int i = N; while (i > 0) { int Sum = 0; int j; for (j = 0; j < i; j++) Sum++; cout << Sum << endl; i--; } thnx in advance | |
i am doing a project, its a database system and i need to use fingerprint scanner.i am using php and i am new to it. is ther a way that i can use fingerprint scanner? | |
hi everyone i need help in my query while user login. <?php $username = $_POST["username"]; $password = $_POST["password"]; $con = oci_connect("user","pswrd","db"); if(! $con) { die('Connection Failed'.oci_error()); } $query = "SELECT username, password FROM users WHERE username=$username"; $stmt = oci_parse($conn, $query); $row = oci_fetch_array($stmt, OCI_NUM);; if($row["username"]==$username && $row["password"]==$password) echo"You are a … | |
hi everyone hope you all are in good. i have query while login form in php with oracle database..... i want to simple login with database html code: <p> <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> Username:<br /><input type="text" name="username" size="10" /><br /> Password:<br /><input type="password" name="password" size="10" /><br /> <input … | |
for example, i have this code def awal(): a = 2 def akhir(): print(a) awal() akhir() well i got error that said a is not defined? i used global, same error use return, same error any idea why? | |
Hello, how to make a button for change image and upload image with database. Please help me <!DOCTYPE html> <html> <head> <div class="profile_info"> <img src="images/user_profile.png" > <div> <?php if (isset($_SESSION['user'])) : ?> <div class="box-body no-padding"> <font size="6%" face="Comic Sans MS"> <strong><?php echo $_SESSION['user']['username']; ?></strong> <i style="color: #00f7fc;">(<?php echo ucfirst($_SESSION['user']['user_type']); ?>)</i></div></font> … | |
else{ echo "Password should not be empty"; die(); } i want to hide a button here is the full code using mysql data with phpmyadmin on online server (not localhost) <!DOCTYPE html> <html> <head> <title></title> </head> <body> <form> <input type="button" onclick="location.href='/question1.php';" value="Go to question1" id="button"> </form> </body> </html> <?php $username … |
The End.