199,114 Archived Topics
Remove Filter ![]() | |
Hello, Recently I am dealing with bad performance in an php application that I have build, googling this issue I found out that using services like memcached you can archive a huge performance improvements. The weird thing comes when I try to find a very good and detailed example I … | |
Hi, I am looking to create a MySQLi class(MVC pattern), I already have the following functions: Query, Execute, Results. Below is a PDO version of a Bind statement and was wondering if you could do the following in MySQLi or something similar in MySQLi: public function bind($param, $value, $type=''){ if(is_null($type)){ … | |
I'm attempting to print a variable print(<variableName>) but I get an error it's not a; function ? I searched online and all I could find is that; it's not a function so how can I fix this; I don't know another command. | |
I'm trying to develop an app that realises the communication between a gameserver and an applcation. My code so far is: #include <cstdlib> #include <iostream> #include <boost/bind.hpp> #include <boost/asio.hpp> #include <boost/asio/ssl.hpp> using namespace std; enum { max_length = 1024 }; class client { public: boost::asio::streambuf receive_buffer; client(boost::asio::io_service& io_service, boost::asio::ssl::context& context, … | |
Why i cannot pass array to function parametter with two items? here is the function, but i get just the first parameter `Username` function selectSQL(Array $item, $table) { global $conn; foreach ($item as $field) { $sql = "SELECT `$field` FROM `$table`"; $result = $conn->query($sql); if ($result->num_rows > 0) { while($row … | |
Hi i am new in VB6 trying to built a simple application : 1 userform with 15 combobox, 46 Textbox and 3 command button. (ComboBox1~15)Each combobox is populated with items, TextBox1~15 are user input, Textbox17~46 are automatically filled by excel application to be executed by command button, then if my … | |
https://gist.github.com/anonymous/b789bf44fcd30c1bc721756346ce52a1 Sending text is perfectly, but when I tried to send an image, it would send all the data except for the last 1 kilobyte of my image. How do I send the image pergectly? I have tired every other forum but I can't find anything. All the close things … | |
I'm having a little brain fart and I just want to double check something ... // Array of [a,b,c,d] $array = array('a', 'b', 'c', 'd'); // Loop through array foreach ($array AS $letter) { // Break out of the loop on a specific condition if ($letter == 'c') { break; … | |
Sir I have these codes #header { width: 60%; height:auto; color: #4169E1; font-size: 30px; font-weight: bold; text-align: center; border: 1px solid #39F; margin:0 auto; overflow: hidden; } #header img { margin-right: 15px; float: left; } <body> <div id='header'> <img src="images/wheaticon.jpg" hspace='10' height="200" width="300" > <strong>Dashboard <br /> Wheat + Bardanana<br … | |
hello i have a project on library management as an admin user i have to modify the books name during run time without using files plz help me. | |
Hello, I am trying to integrate TinyMCE with RoxyFileManager. Can anyone help me with the process ? Thanks in advance. Cek my code below. I wonder what I should place for the selector selector:'textarea' or selector: '#tinymce' ? http://www.roxyfileman.com/TinyMCE-file-browser <!DOCTYPE html> <html> <head> <script src="js/jquery-1.7.1.js"></script> <script src="js/jquery-3.1.1.min.js"></script> <script type="text/javascript" src="js/tiny_mce/tiny_mce_popup.js"></script> … | |
Good afternoon all, The issue I am having is that when POST data values are looped through inside the while loop as each record is compared with the POST data and the database record for any changes. For this test the data from the post is exactly correct. The if … Programming first-post mysql php | |
I am trying to put a post feed on the homepage but I am with difficulties on it. I think my query it might be wrong, but I want to pick the username from 'blabs' table and see if that 'username' from the same table is the user or the … | |
Sir, I have this header.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <link rel="stylesheet" href="css/css3menu1.css" type="text/css" /> <style type="text/css"> #header1 { width: 100%; color: #FFC; background-image: url(images/header.gif); font-size: 28px; font-weight: bold; font-style: oblique; text-align: left; padding: 5px; position: fixed; } #header1 img { vertical-align: middle; } … | |
I have a form in Acrobat DC with a data matrix barcode - when i scan the barcode it looks like this 777777799999MS2334WASHER912/15/16100YesYes3Q127/18 i need a tab between so when i scan them in excel they will fill in cells across a row. The code looks like this - any … | |
I have a validateRequiredField(e) function to validate empty field and a validateExistingEmail() to validate an email has existed in my database. I am able to see both alert("Field" + i + "is Required"); when the fields are empty and alert("This email has been registered"); when the email existed in my … | |
What is the difference between main/index.php and main/ ? Can anyone help me figure that out? I have edit http://www.masterlink.co.id/index.php file yet when I checked it in http://www.masterlink.co.id the file does not load index.php. I thought it suppose to be automatic like http://www.masterlink.co.id/index.php = http://www.masterlink.co.id Can anyone help me figure … | |
I need to validate a name field to validate if the name field is empty and if the name existed in my database. If it passes both the validation(the user has input a name that is not existed in my database), then the form will be submitted. The problem is … | |
How to store the following curl_exec output into mysql table? sent,success,114661698,709081462,+919900123456 sent,success,134707665,937687314,+917795987654 Eg: var1='sent' var2='success' var3='114661698' var4='709081462' var5='+919900123456' --------------------------------------------------- var1='sent' var2='success' var3='134707665' var4='937687314' var5='+917795987654' Thanks in advance | |
My htaccess goes like so: RewriteEngine on RewriteCond %{HTTP_HOST} ^(www.)?audino.us$ RewriteCond %{REQUEST_URI} !^/audino.us/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /audino.us/$1 RewriteCond %{HTTP_HOST} ^(www.)?audino.us$ RewriteRule ^(/)?$ audino.us/index.php [L] I got web hosting under the domain audino.us which defaults to public_html dir on server, how do I set it to … | |
Hi guys, I will soon have a licence to run webstorm on one machine (at work) but I need to think of some other free IDE which supports typescript ideally natively on a different laptop running windows and linux (at home). I had a look around of course, but as … ![]() | |
I have a website that is not mobile friendly, its designed in plain html and css how do i make the website responsive how do i make the menu go small on a mobile device and allthe elements to fit properly | |
Hey guys, I am doing a friend list and it's not working very well. Well I tried to show all the user's friends but it's not working, it only shows one instead of all. In MySQL friends_request I have something like this: username1 -> username2 username1 -> username3 username2 -> … ![]() | |
I have 2 forms namely "form1" and "form2" and checkbox "chkbox1"...The checkbox is created in "form1"..how will I assign variable in my checkbox using boolean and call it to my "form2" using VB6.0? Programming visual-basic | |
I want to make pagination for videos since i have much videos and i cannot load all in the same page, i have a function which displays all videos in the directory and than i limited it only to show first 6. How do i make the pagination so when … ![]() | |
Sir I have these codes <?php $stockdate=""; $queryx = "SELECT max(data.date)as date from ( select max(date)as date from crprp union all select max(date)as date from pouring union all select max(date)as date from product ) as data"; $resultx = sqlsrv_query($con,$queryx)or die ("Error". sqlsrv_errors($con)) ; while ($rowx = sqlsrv_fetch_array ($resultx)){ $stockdate=($rowx['date']); } … | |
# Welcome To Smart Calculator with AI v1.0. # Please try this code on PC COMMAND PROMPT OR 'PyCharm' for Better Experience (Recommended). # Please Leave Comment if anything is wrong in this code OR You have any implementation idea. # Like if You Enjoy the code : By KEYUR … | |
Hello everybody, In an earlier post I created an bingocard with random numbers. The card should have 6 rows and 6 columns. I get 6 rows and 10 columns. I am trying to adjust the columns, but with my script now it prints on each row the first number till … | |
I am an aspiring (at the age of 27) programmer using C++. I have future undertakings including getting a refresher course at a premier University in my country. I am just interested to know in advance how it is to become a programmer. What are the regular routines that you … | |
I am writing a java program that needs to execute shell commands, so I wrote a function that would take the command to execute as a string (ie: "mkdir ~/Folder1") and execute that command with the shell. Here is the function: try { Runtime run = Runtime.getRuntime(); Process pr = … Programming java | |
Is there a way where there is a number on the screen, for example 100, and a form where you can insert a number in the form and that number will be deducted from the one displayed. So if i inserted 5, the number will become 100 and can there … | |
Hi I'm having a problem implementing a mini shopping cart drop down in the header to show the user all the products they have in their shopping cart. It seems the only solution for this is Ajax, and I've looked all over and can't find anything that I could possibly … Programming asp asp.net javascript listview open-source | |
the scenario as the following, after the user login , the application returns he/she visiting numbers for example : 123 150 i preview the value on TextView , how i can make it clickable, and open pdf file like when user click on 150 open the pdf file the located … | |
I'm getting a mising **).** error with a condition if (i=0;i<5;i++) ? | |
Hi friends once I completed C programme in Turbo C , I can see zero errors and zero warnings . But when I suppose to go for output Iam getting note : turbo c IDLE for Windows 7\vista by AKKI. What's this meant ? And how can I get out … | |
i have create desktop based application using java language. now i want to give it to my client so for that i want to create executable file for java prgram so how can i create .exe file from java program? Programming java | |
**Note: this project is being restarted after one year of in-action, using the most relevant files I am able to locate. All final code will be adapted to MySQLi.** Versions of this code functioned properly to the best of my knowlege; now, with a new host I am having issues … ![]() | |
Hi, I would like to know if it is technically possible to develop an automated internet search algorithm. Let me give you a random example of what I have in mind. For example, let’s say I am the largest disaster relief organization in the world and I want to run … | |
Hi, i have a datagridview : grd_ol and i added a button to it: Dim btnColumn As New DataGridViewButtonColumn() btnColumn.HeaderText = "Invoice" btnColumn.Text = "View Invoice" btnColumn.UseColumnTextForButtonValue = True grd_ol.Columns.Add(btnColumn) the table sort of looks like this: | ORDER_ID | CUSTOMER_ID | STAFF_ID | ORDER_DATE | TOTAL(RM) | INVOICE | … | |
Hi. im trying to get data from table TBL_ORDERITEM FLD_ORDERITEM_ID | FLD_ORDER_ID | FLD_PRODUCT_ID | FLD_QTY | FLD_SUBTOTAL grd_productlist.DataSource = ("SELECT FLD_ORDER_ID,FLD_PRODUCT_ID,FLD_QTY,FLD_SUBTOTAL FROM TBL_ORDERITEM_A15428 WHERE FLD_ORDER_ID = '" & id & "' IN (SELECT '" & id & "' FROM TBL_ORDERITEM_A15428 GROUP BY '" & id & "' HAVING COUNT(*) … | |
Sir I have these codes <html> <head> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/jquery-ui.js"></script> <link rel="stylesheet" href="css/jquery-ui.css"> <script type="text/javascript"> $(function() { $( "#coding_language" ).autocomplete({ source: 'autocomplete.php' }); }); </script> </head> <body> <div id="wrapper"> <div class="ui-widget"> <p>Code <input type="text" id="PT"></p> <p>Party <input type="text" size="40" id="coding_language"></p> </div> </div> </body> </html> and autocomplete.php has … | |
Hi. so this is actually a continuation from another question of mine[Here](https://www.daniweb.com/programming/software-development/threads/506795/dynamically-add-values-into-datagridview-cell-from-listbox-vb2010) but i was advised to start a new thread as the original question was already answered. This is the result of previous question answered : code for the listbox - datagridview interaction At the top of the code … | |
my activity is load a grid view from xml file and the controls from other xml file public class ResultActivity extends AppCompatActivity { GridView gridview; ArrayList<String> arrayList; String ip, db, un, passwords; Connection connect; PreparedStatement stmt; ResultSet rs; Button TButton; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.gridviews); TButton = … | |
Hello Everybody, I am trying to create a bingocard with 6 rows and on each row 10 numbers. Row 1 from 10 to 19 (randomly), row 2 from 20 to 29 etc. The code I have till now, displays only one long row from 10 till 69 randomly as supposed. … | |
Alright guys, I'm a total n00b to assembly. NOTE: I am not a student -- I am a professional lawyer who loves to tinker with the computer and waste time. Using Visual Studio 2008 Express (C++), I actually managed to write a function in assembly language that evaluates a character, … | |
Hi All, I am working on a little side project for myself. i have created an interface which contains two listboxes and a few buttons. Clicking on each button would load separate csv files and they would populate in listbox 1. This is as far as i have gotten, what … | |
good evening everyone im in a mood that would let me make a Periodic Table for kids ,so each button is going to have the name of the elements and when you click on one of them you would have a form that contain the detelis of this element , … | |
Need some help with this Array. I am trying to get the sum of the even numbers and the sum of the odd numbers using a for each loop. I know the answers to what I am trying to achive are sum of even = 84 and the sum of … | |
I prepare a table in Excel within a Using () statetement. At the end I UsedRange.Copy() to what I understand is the clipboard. Then I Selection.PasteExcelTable in a Word document. I get an COM Exception "command failed". When I activate the word document and press Ctrl+V the table gets copied. … |
The End.