64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for James_43

Hi all, For some reason, a white edge has appeared down the side of my website. It was never there before. The web suggested I should make sure to reset margins etc to 0 at the top of my stylesheet, which I already do. The edge is not due to …

Member Avatar for James_43
0
206
Member Avatar for shashigowda

Hii..this is mysql query $querry="SELECT CONCAT(`insert_id`, `type`) AS 'order_id' FROM orders WHERE email='$email'"; $order_id=mysql_query($querry); echo $order_id; i need to convert this into ** mysqli**. Any Help??

Member Avatar for shashigowda
0
376
Member Avatar for Violet_82

HI guys, I've just run into an issue. Basically I'm working t a wordpress site, and there are some conflicts with the usage of the "$" sign so I used this in the document ready to allow me to use "$" in place of jQuery: jQuery(document).ready(function($){ ... }); It works …

Member Avatar for Violet_82
0
251
Member Avatar for UK-1991

Hello, I have created a form using ajax and php but when I click on submit the values in the textarea remains as it not disappears so I found a way to make form reset once I click on submit here is my code and please let me know how …

Member Avatar for UK-1991
0
254
Member Avatar for pritaeas

I have a MultiView in a part of a WebForms page (within a RadPane which is a Telerik component). It contains two Views, an overview and a detail view. When switching between them, the scrollbar position is kept, but I would like to force it to the top. All options …

Member Avatar for pritaeas
0
356
Member Avatar for kouty

Hello. My question is very basic but I can not find/understand the answer anywhere. How check if the name-value "name": value in an object. I know that with Object.keys() method we can checking the names of the properties. I know too that with Object.name or Object["name"] we can see the …

Member Avatar for kouty
0
331
Member Avatar for shany0786

I am always short of logic when every things works fine then i come up with new problem? **PROBLEM** There are generally 6 user type accounts.Everyone has their own "edit profile page".Now i want to know how can i handle this.user login then directed to home page then in navbar …

Member Avatar for shany0786
0
288
Member Avatar for Violet_82

HI guys, as I'm gettng into Java GUI again after a long time, I'm trying hard to remember things, but not everything is that clear anymore. I'm in the process of building a very simple GUI application with a few buttons. First question is about the JFrame and JPanel. From …

Member Avatar for Violet_82
0
304
Member Avatar for Mike Askew

Howdy I have a timespan that contain in excess of 24 hours. For the example lets use a value of 1 day 6 hours and 32 minutes. I would like to get this into a string that displays "30:32". Have so far tried something along the lines of `string.Format("{0}:{1}", TimeSpan.TotalHours, …

Member Avatar for Teme64
0
2K
Member Avatar for tony75

Hi I ran python script on my windows and I got this error below ,how can I fix it? I'm using python 2.7.3 from pyasn1.codec.der import decoder ImportError: No module named pyasn1.codec.der

Programming python
Member Avatar for tony75
0
11K
Member Avatar for jemdev03

Hello, I need help with android programming. The problem is that I can't make this portion of my codes to work the way I want to. I want to simply: - Delete a record inside the SQL lite database - Delete the record also inside the AlertDialog Single Choice Item …

Member Avatar for jemdev03
0
299
Member Avatar for Miurei

I need help about this, I've been working for this a quiet while... I want to log-in using one login form for both admin and normal user but after log in, some of its form and/or buttons in the form should not be available for normal users. here is my …

Member Avatar for Miurei
1
7K
Member Avatar for 9580515953
Member Avatar for shany0786

I am trying to fetch data from multiple table but i am getting this error `The used SELECT statements have a different number of columns` 4 tables will have different number of columns i am doing this because i have common edit profile page number filds may vary.So how can …

Member Avatar for shany0786
0
18K
Member Avatar for FarrisFahad

Hi, I want to advance my experience in web development. I know the basics of PHP, jQuery, CSS, HTML, and MySQL. I have no problems with CSS, HTML, and MySQL. I am very good at them because they are simple. But I am having trouble how to understand how can …

Member Avatar for V3N0M
0
349
Member Avatar for SimonIoa

Hello i ve got this message from a fellow programmer. * Directly you load your site from your server in to android or IOS like iframe, we have the option in mobile device webview you can directly load your site url into the mobile app* and this * if you …

Member Avatar for hericles
1
369
Member Avatar for James_43

Hi all, I've been trying to follow the basic Apple developer tutorial, where you create a food tracker app. I can not get one part of the code to work, and I can't see why. Not only is it exactly the same as in the example, but searches online also …

Member Avatar for James_43
0
807
Member Avatar for fo2sh

Hello, I am trying to add a scrollbar to my code with no luck to do so, could anybody help in this, thx in advance. Below is my code. @import "../chameleon/styles.css"; /** * "optional-" prefix means that the style is not necessarily used, it can be left blank * "generated-" …

0
169
Member Avatar for robotnixon

First off, happy thanksgiving everybody. Second, my program has problems. I've discovered a horrible way (for me anyway) to design and my attempts to fix it aren't getting any where. I have to design a roman numeral calculator (input romans, output romans) with at least two functions (decimal->roman, roman->decimal). I …

Member Avatar for Edwin_6
0
1K
Member Avatar for kindo

I have be writing code for Json requests, but haven't seen this before.. How do I go about it? I want to return all the countries with their name and Phonecode Here is the Json am getting request from: data.json: { "af": { "name": "Afghanistan", "phoneCode": "93" }, "al": { …

Member Avatar for diafol
0
379
Member Avatar for overwraith

Say hypothetically you had a reader which did something like this... //testing reader, automatically parses strings and converts to the custom type via attributes! using ( FlatFileReader<MyCustomClass> reader = new FlatFileReader<MyCustomClass>(config) ) { MyCustomClass custom; while ( (custom = reader.ReadLine()) != null ) { Console.WriteLine(custom.ToString()); } } Would this actually …

Member Avatar for ddanbe
0
249
Member Avatar for WolfShield

I'm wanting to make a voice controlled program, But when I type: 'import javax.speech' into NetBeans it says that 'javax.speech' doesn't exist. I then downloaded Free TTS, copied the speech.properties like I was supposed to. It still is showing the error. I did some more research and found a place …

Member Avatar for Asif_12
0
2K
Member Avatar for kashif farooq

[code=php]// display records page wise code starts: $adjacents = 3; $tbl_name="feedback"; // $display = "SELECT COUNT(*) as num FROM $tbl_name"; $display = "SELECT COUNT(*) as num FROM $tbl_name"; $total_pages = mysql_fetch_array(mysql_query($display)); $total_pages = $total_pages[num]; /* Setup vars for query. */ $targetpage = "dispfeed.php"; //your file name (the name of this …

Member Avatar for dineshkumar R
-1
794
Member Avatar for kouty

Hello. I want to submit a code stuff with an explanation. It is not a valid code. Someone can help me to find error? <code> ** ** I'm trying to build a program that change numbers writen in decimal notation. If we consider each ranges of numbers: unities, 10-es, 100-es …

Member Avatar for kouty
0
647
Member Avatar for zachattack05

I am starting a new application for our business to help maintain our client information, so it is going to be a very data driven application. I'm curious, from the standpoint of those who have used both and who may have constructive suggestions on the future direction of development, should …

Member Avatar for zachattack05
0
221
Member Avatar for Divyang_1

i am trying to write code for login system .. but .. i know how to work normally .. nut how to create ..perfect i dont know , help me

Member Avatar for jwenting
0
236
Member Avatar for Suzie999

Please excuse my terminoligy, as I'm not certain of it in regards winforms components. I have a ContextMenuStrip on my form and in it there are some SubItems created manually. I need to add more to SubItem dynamically. I'm unsure if I'm saying this correctly so I'll post a screen …

Member Avatar for ddanbe
0
2K
Member Avatar for shany0786

There is no problem in my code it's running fine but i want some suggestion.I have edit profile page for user when user is login he can click on edit profile button to edit his profile but i have what i we generally see is when user click on edit …

Member Avatar for shany0786
0
2K
Member Avatar for Doogledude123

I know you're not supposed to use Lightweight Components like JFrame with non-Lightweight Components like JFrame, so my question is, what do you use with a Canvas? Is there also some example code for it? Thanks!

Member Avatar for JamesCherrill
0
479
Member Avatar for joe97

Pig is a simple dice game first described by John Scarne in 19451. It is a form of jeopardy dice game, where a players decisions are between protecting current gains, or risking current gains to make greater gains. In Pig, each player takes a turn rolling a 6-sided dice, playing …

Programming algorithm c pdf publishing
Member Avatar for joe97
0
1K
Member Avatar for Aeonix

I'm working on certain PHP-skill-teaser. No background is really needed as error is purely PHP-based. The [PasteBin](http://pastebin.com/N8UKt1JW). I have double do-while in there, however I can't modify variables from within that loop, they simply don't affect the variable anyhow. I have tried a lot of solutions, including those about `$GLOBALS` …

Member Avatar for cereal
0
235
Member Avatar for solomon_13000

The code below works well on all browser except for IE 8. So I added the respond.js script however it is not responsive in IE 8. Did I missed out something? <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> <title>index</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <style> …

Member Avatar for gentlemedia
0
231
Member Avatar for LibraryCode

How would i fix the search function? AVL.h: #pragma once #include<iostream> #include<stdio.h> using namespace std; template<class T> struct TreeNode; template<class T> class AVLType { public: AVLType(); void InsertItem(T item); void Insert(TreeNode<T>*& tree, T item, bool & taller); void RotateLeft(TreeNode<T>*& tree); void RotateRight(TreeNode<T>*& tree); void RightBalance(TreeNode<T> *& tree, bool & taller); …

Member Avatar for tinstaafl
0
2K
Member Avatar for london-G

Hi, I converted a as3 file into a html5 file using swiffy tools offered by google. My code is below: var stage = new swiffy.Stage(document.getElementById('swiffycontainer'), swiffyobject, {}); stage.setFlashVars("clickTAG=%%CLICK_URL_ESC%%%%DEST_URL%%"); stage.start(); It works fine but I want to link the stage to a new page. Any idea how I can achieve this? …

0
186
Member Avatar for JModak

how to search a data in particular fields(ms access database) in vb6.0 using data1 control. I create a project in vb 6.0 using ms access data base and data control. I want to find a particular name from the data base table field. My code is.... If Data1.Recordset.Fields("C_Number") = Text15.Text …

Member Avatar for DenisOxon
0
428
Member Avatar for Hamza_9

Hey guys!! I have my semester Project on Libaray database and they asked me to bring Class diagram of the project. Its just that i am confused how to make that ? Can anyone help me in that or give me an example of that

Member Avatar for rproffitt
0
164
Member Avatar for SimonIoa
Member Avatar for shashigowda

Hiiii,Good Evening I have a code that search for data in the database but I can search for only 1 keyword in a time,which is working fine for single keyword. if I type 2 keywords separated by a space or comma's which return blank page. I would like to modify …

Member Avatar for pritaeas
0
2K
Member Avatar for Doogledude123
Member Avatar for JamesCherrill
0
329
Member Avatar for OMER AHMED

Hi i am making an application in vb.net and i need help. The user will send me his issues or information through attachment. but i want a restriction on filesize that he can not attach file more then 20MB i did some coding but its not working. it will show …

Member Avatar for Minimalist
0
433
Member Avatar for Violet_82

Hello guys, long time no see! i've put together a very small simple console base application that takes a date and a few strings and print them off. Let's look at the code first. Date.java /*Date.java this class represents dates */ public class Date{ private int month; private int day; …

Member Avatar for jwenting
0
3K
Member Avatar for Hermelix

Can somebody help me, why this aren't working? I always get: else without a previous if PS: I'm from Austria, sorry for my bad English :) #include <stdio.h> int main(void) { int w; double v, s, t; printf("Dieses Programm berechnet Geschwindigkeiten, Wegdifferenzen und\n" "Zeitdifferenzen fuer eine gleichfoermige Translation.\n" "1 ... …

Member Avatar for AndrisP
0
590
Member Avatar for Simon180

Hello am trying to encrypt my strings in delphi I already encrypted my needed strings in php but am having a little trouble getting the matching string from my delphi test application below is the php code am using to encrypt on website then following code is my delphi app …

Member Avatar for Simon180
0
1K
Member Avatar for Testt

Hi all, I was trying to create a kill switch for hours but with no success i wasnt able i have tried css killswitch and ajax killswitch, this is the tutorial http://menacingcloud.com/?c=ajaxKillSwitch2 i tried but wasnt able to make it work i also researched and found csskillswitch.com but also that …

Member Avatar for gentlemedia
0
573
Member Avatar for phoenix254

Hi, I Have this php code: <?php //require('dbconnection.php'); $conn = mysqli_connect('localhost','root','','user_registration'); if (mysqli_connect_errno()){ echo "Failed to connect to MySQL: " . mysqli_connect_error(); }else{} ; function getUsers() { //return require('online-users.txt'); $getAllUsers = mysqli_query($conn,"SELECT * FROM login"); if($getAllUsers === FALSE) { die(mysqli_error()); // TODO: better error handling } while($rows=mysqli_fetch_array($getAllUsers)){ echo $rows["firstname"]; } …

Member Avatar for cereal
0
12K
Member Avatar for new_developer

Hi everyone, Please check my code below and tell me that why double stores number upto 3 decimal places ? #include <iostream> using namespace std; int main() { double dNo; dNo = 363.430965; cout<<"double no : " <<dNo <<endl; //cout only outputs dNo value upto //3 decimal places return 0; …

Programming c++
Member Avatar for rproffitt
0
326
Member Avatar for laguardian

Hello guys. I'm creating a web application on Netbeans. Under Source Packages, I've created: - DAO Factories for Customer, Inquiries, and Employee; -DB Connection to establish connectivity with a database I've created; -Entities which include Customer, Inquiries, and Employee; -Servlets containing Login, Reservations, EmployeeRegistration. I'm just wondering if my understanding …

Programming java java-jsp mysql
Member Avatar for JamesCherrill
0
191
Member Avatar for shashigowda

i have installed wordpress in localhost,till yesterday it was working properly.but now i have tried to login to admin panel using **localhost/destin/wp-admin**,it is simply redirecting to http://localhost/destin/login/?redirect=http%3A%2F%2Flocalhost%2Fdestin%2Fwp-admin%2F this url.i have also a tried **localhost/destin/wp-login.php** in this case also it is redirecting to some strange URL.pleasehelp me ASAP

Member Avatar for shashigowda
0
614
Member Avatar for SimonIoa

Hello i want to put some html content on a lightbox pop up window, not just an image i use this script <a class="example-image-link" href="img/demopage/image-2.jpg" data-lightbox="example-2'cxxzxzzx'" data-title="Optional caption.'cxxzxzzx'"><img class="example-image" src="img/demopage/image-2.jpg" alt="image-1"/></a> this pop ups image2.jpg i want the window to show some html content like this <div > <span>html content</span><br …

Member Avatar for SimonIoa
0
250
Member Avatar for bLuEmEzzy

Hi Guys, I am inserting values in two tables. After the insert of values in the first table, I want to get the inserted ID(first table) because I need that value in my second table.This is my code but I think it will gives error when there are many values …

Member Avatar for bLuEmEzzy
0
156

The End.