199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for developer707

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 …

Member Avatar for Dani
0
650
Member Avatar for SunnySideUp

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)){ …

Member Avatar for Dani
0
388
Member Avatar for Siberian

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.

Member Avatar for ddanbe
0
437
Member Avatar for zekstein

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, …

Member Avatar for rubberman
0
1K
Member Avatar for Stefce

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 …

Member Avatar for Stefce
0
294
Member Avatar for ArielSerrano

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 …

Member Avatar for mohammad.islam
0
1K
Member Avatar for Zach_2

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 …

Member Avatar for Zach_2
0
408
Member Avatar for Dani

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; …

Member Avatar for ryantroop
0
376
Member Avatar for phphp

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 …

Member Avatar for ryantroop
0
192
Member Avatar for shalu_1

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.

Member Avatar for shalu_1
0
183
Member Avatar for davy_yg

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> …

0
194
Member Avatar for davidjennings

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
0
404
Member Avatar for Nunix

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 …

0
164
Member Avatar for phphp

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; } …

Member Avatar for gentlemedia
0
358
Member Avatar for dennis_10

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 …

Member Avatar for JamesCherrill
0
394
Member Avatar for PKI

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 …

Member Avatar for otengkwaku
0
593
Member Avatar for davy_yg

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 …

Member Avatar for cereal
0
374
Member Avatar for Jeremy_7

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 …

0
188
Member Avatar for blueguy777

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

Member Avatar for cereal
0
2K
Member Avatar for caltech

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 …

Member Avatar for cereal
0
474
Member Avatar for Violet_82

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 …

Member Avatar for diafol
0
418
Member Avatar for Richard_35

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

Member Avatar for gentlemedia
0
368
Member Avatar for Nunix

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 -> …

Member Avatar for diafol
0
304
Member Avatar for Jhovyn

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
Member Avatar for rproffitt
0
295
Member Avatar for Stefce

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 …

Member Avatar for diafol
0
272
Member Avatar for phphp

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']); } …

Member Avatar for cereal
0
253
Member Avatar for Keyur_2

# 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 …

Member Avatar for ddanbe
0
1K
Member Avatar for reminem

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 …

Member Avatar for reminem
0
207
Member Avatar for markdean1989

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 …

Member Avatar for markdean1989
0
308
Member Avatar for brothman01

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
Member Avatar for JamesCherrill
0
3K
Member Avatar for Joshua_18

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 …

Member Avatar for brothman01
0
153
Member Avatar for Connie_4
Member Avatar for Clif40RD

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 …

Member Avatar for Xavier_5
0
2K
Member Avatar for HibaPro

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 …

Member Avatar for rproffitt
0
257
Member Avatar for Siberian
Member Avatar for Siberian
0
136
Member Avatar for Siva_13

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 …

Member Avatar for ddanbe
0
284
Member Avatar for pranjiee

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
Member Avatar for JamesCherrill
0
622
Member Avatar for Matthew_16

**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 …

Member Avatar for diafol
0
370
Member Avatar for Zainab_4

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 …

Member Avatar for pritaeas
0
425
Member Avatar for nadiam

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 | …

Member Avatar for tinstaafl
0
418
Member Avatar for nadiam

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(*) …

Member Avatar for nadiam
0
363
Member Avatar for phphp

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 …

Member Avatar for phphp
0
1K
Member Avatar for nadiam

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 …

Member Avatar for nadiam
0
616
Member Avatar for HibaPro

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 = …

Member Avatar for imchivaa
0
340
Member Avatar for reminem

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. …

Member Avatar for reminem
0
2K
Member Avatar for cpsusie

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, …

Member Avatar for Zack_7
0
12K
Member Avatar for Ivnas

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 …

Member Avatar for G_S
0
807
Member Avatar for moom

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 , …

Member Avatar for rproffitt
0
809
Member Avatar for Brian_22

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 …

Member Avatar for rubberman
0
541
Member Avatar for PerplexedB

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. …

0
344

The End.