64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for ceeandcee

I have two tables that I would like to work together (stories and events). Stories is a table that is used to produce articles on a website and events is a series of events put into a table. I would like to be able to add events to story based …

Member Avatar for ceeandcee
0
201
Member Avatar for aluhnev

//Hi i do the delivery company project,this are my members of the base class //how do i create 2 constructors in base,one for sender and one for recipient? //I did one for sender ,but visual studio does not allow me to create identical for recipient //Can some one help to …

Member Avatar for rubberman
0
260
Member Avatar for UK-1991

Hello guyz Just written a small code trying to make a scenario in which I get a name from user and see that the provided name is present in my array list if it is then it displays name found if not present in array it simply says name not …

Member Avatar for JamesCherrill
0
107
Member Avatar for redtribal23

Okay so first is I am confused with the void function. It is said that void function does not return a value. If for example I have a void function that gets user input, like price and month, how do I use price and month to do another function? int …

Member Avatar for redtribal23
0
149
Member Avatar for ToniSoft

I am using a Crud plugin and i am having some problems. After i modifie it for my needs i ma having a problems creating a records. Error code is in line 186. this is my code please help.. <?php require 'database.php'; if ( !empty($_POST)) { // keep track validation …

Member Avatar for ToniSoft
0
216
Member Avatar for qaff

Helo, i'm Qaff. i want some advice from system developer about the system that i want to create. this system is only about sales transaction which involve daily sales records and online order. what i means about daily sales record is when custumer buy something from our shop, we can …

Member Avatar for qaff
0
135
Member Avatar for lloyd.farrell.7

Hi Everyone, I have the following prepared statement and I am having problems displaying data from my test db Can someone help me out please. $STM = $dbh->prepare('SELECT * FROM tbl WHERE var = :lsecure'); $STM->bindParam(':lsecure', $var); $STM->execute(); $count = $STM->rowCount(); $row = $STM -> fetch(); if($count > 0){ foreach($results …

Member Avatar for matrixdevuk
0
405
Member Avatar for ardi_lucy

help me plz i need to sort ip address, am try to sort in java.util.Arrays.sort() but it not correct for eg [CODE] String st[]={"10.4.23.16","10.4.23.9"}; java.util.Arrays.sort(st); for(int i=0;i<st.length;i++){ System.out.println(st[i]); } [/CODE] the out put is 10.4.23.16 10.4.23.9 plz give idea

Member Avatar for anita_2
0
1K
Member Avatar for annya

Dear Friends iam facing a problem in the pagination. It was working fine in my offline wamp server when i moves it to the online it was showing Warning: mysql_real_escape_string() expects parameter 2 to be resource, integer given in /home/pps/public_html/news_and_events.php on line 10 Please help me I have gone through …

Member Avatar for matrixdevuk
0
918
Member Avatar for photoguy77

teacher assigned out of the book "python programming: an introduction to computer science. second edition. page 384 # 19 is as follows this below is verbatim from the book and the instructions for the assignment are "Python Assignment #10 Complete programming exercise #19 on page 384 from Chapter 11" create …

Member Avatar for chriswelborn
0
374
Member Avatar for OtepTheThird

Im new to PHP, i just want to know if theres any rule in php in terms of single statement multiple lines. for example in VB.Net we uses "&_"(w/o the quote) to tell vb.net that it is a single statment and it has a continuation. is there any in php? …

Member Avatar for matrixdevuk
0
512
Member Avatar for rony001

hello friends I have two tables with column A and column B. I want to update column B of table2 with column B of table1 . I have trying this query in ms access from Vb.net. update table1 t1 LEFT JOIN table2 t2 on t1.a = t2.a SET t2.b = …

Member Avatar for isozworld
0
285
Member Avatar for cambalinho
Member Avatar for cambalinho
1
216
Member Avatar for Violet_82

Hi all, I have visual studio 2008 and as I recently started to use it, I still develop the HTML from scratch and then move it to ASP.NET. Anyway, when I did my last site and uploaded the CSS in visual, I got quite a lot of CSS 3 error …

Member Avatar for Violet_82
0
737
Member Avatar for savedlema

Hi! I'm developing an application for hospital patients information. Now, as common for hospitals, I need to add a feature for various reports.Now I would like to know if you think Crystal Reports are a good option still. I would like to present many reports which a user will choose …

Member Avatar for xrjf
0
392
Member Avatar for grakovski

Hello. I have one problem with only one text witch shows two times (i want only once) Here is picture: http://i.imgur.com/cfOrBCs.png Maybe the for cycle loops this text and...this is happen. I want to show only once in the middle. Here is code: var matchcount = 4; $.ajax({ type: 'GET', …

0
221
Member Avatar for marvin.lerias

package Assignment2; import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.util.*; public class AuctionDialog extends JFrame implements ActionListener { private JLabel lblOutput; private JTextField tfBidder; private JTextField tfPainting; private JTextField tfAmount; private JTextArea taOutput; private JButton btnSubmit; private Painting paintings; private Bid bids; private Auction artworkAuction; public AuctionDialog( ) { artworkAuction …

Member Avatar for marvin.lerias
0
284
Member Avatar for Simon180

Am trying to make my program menu and skin resize when I disable the MainMenu VCL I have attached a image of a program that uses same idea when menu is enabled there is too buttons hidden but once the menu is disabled the pager and options buttons and rest …

Member Avatar for SalmiSoft
0
239
Member Avatar for OtepTheThird

Hi its me again =), See the code below: <style> td{ width:150px; } </style> . . . echo'<table> <tr> <td>TITLE</td> </tr> </table> . . . Im trying to style the <td> width in css but php doesnt recognize it. I've also tried this <td style="width:150px">TITLE</td>. Do you have any idea …

Member Avatar for OtepTheThird
0
116
Member Avatar for Pyler

I can serialize an object if it's class definition has attributes. So if I have an object whose class does not have attributes, do I serialize the attributes importedi in it's class definition? For example; suppose I have the following class, #ifndef BREAD_H #define BREAD_H #include "EGGS.h"; #include "FLOUR.h"; class …

Member Avatar for mike_2000_17
0
279
Member Avatar for showman13

Good afternoon, I'm drawing a complete blank on this, and decided someone in here could answer the question for me without an issue. I have a mysql DB with thousands of records in it, and over time have used an inadequate system for maintaining terminated records. I've been simply prepending …

Member Avatar for showman13
0
257
Member Avatar for Decode098

package mobile; import java.util.*; /** * * @author user */ public class Mobile { /** * @param args the command line arguments */ public static void main(String[] args) { int[][] data = new int[10][10]; data = timesTable(10,10); Scanner scan = new Scanner(System.in); System.out.print("Enter Row:"); int row2 = scan.nextInt(); System.out.println(""); System.out.print("Enter …

Member Avatar for stultuske
0
272
Member Avatar for UK-1991

Hello guys does any one knows about the wordpress. I need to create a referal program in wordpress like someone wants to register on the website and been reffered by someone he or she would be required to provide a referall code so we would be able to see who …

Member Avatar for lorenzoDAlipio
0
139
Member Avatar for Lilgenski16

//BlackJack // Plays a simple version of the casino style game of blackjack; 1 - 7 players #include <iostream> #include <string> #include <vector> #include <algorithm> #include <ctime> using namespace std; class Card { public: enum rank {ACE = 1, TWO , THREE , FOUR , FIVE , SIX , SEVEN …

Member Avatar for Lilgenski16
0
242
Member Avatar for ncassambai

Hi so basically I need to create a timer for this simple maths test. I need it to give each question, lets say 30 seconds for test purposes, and then move onto the next question after the time is up and repeat the timer like that. Just cant figure it …

Member Avatar for woooee
0
144
Member Avatar for TheGuy831

Hi ive been trying to click a close button within a iframe within a webbrowser control.. my code works in WebBrowser.Document not Reading Outterhtml="x" Try WebBrowser1.Document.GetElementById("bannerClose").InvokeMember("Click") Catch ex As Exception End Try and Dim theElementCollection3 As Windows.Forms.HtmlElementCollection theElementCollection3 = WebBrowser1.Document.GetElementsByTagName("img") For Each curElement As HtmlElement In theElementCollection3 If curElement.GetAttribute("alt").Contains("x") Then …

Member Avatar for J.C. SolvoTerra
0
3K
Member Avatar for ravi142

Hello New One in App Developement I need information about.. I want to make Store account in both Google Play and iTunes for hosting of my application so any cost required for registration.where i can register.? any one help me. Thank You

Member Avatar for peter_budo
0
168
Member Avatar for lester2020

Private Sub btnCalc_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalc.Click Dim checker As Boolean = True Dim prompt As String = String.Empty Dim people As Integer Integer.TryParse(txtPeople.Text, people) people = ValidatePeople(txtPeople.Text) If people = 0 Then prompt = prompt & "Invalid number of people " checker = False …

Member Avatar for Santanu.Das
0
197
Member Avatar for Azii

Hi, I am trying to fetch username from session variable of one php page to another php page. This below code fetch username from login page <?php $uname = $_GET['uname']; @session_start(); if($_SESSION[$uname]) { ?>.... //Remaining Code When I click submit button to go to my next php page I want …

Member Avatar for broj1
0
316
Member Avatar for schroaus

Does anyone know a way to remove the 0's from an integer? i.e 1320000 would be 132 and 540 would just be 54.

Member Avatar for schroaus
0
126
Member Avatar for nitin1

/* package whatever; // don't place package name! */ import java.util.*; import java.lang.*; import java.io.*; class Test{ public static void main(String args[]){ String Str = new String("WelcometoTutorialspoint.com-"); int i=0; System.out.println("Return Value :" ); for (String retval: Str.split("-", 2)){ System.out.println(retval); System.out.println(i); i++; } i=0; System.out.println(""); System.out.println("Return Value :" ); for (String …

Member Avatar for nitin1
0
169
Member Avatar for jean_5

I have the following code: if (filtro.FinalDate != null) { FinalDate = String.Format(" Data <= '{0}' ", filtro.FinalDate.GetValueOrDefault().ToString("yyyy-MM-dd") + " 23:59:59"); } But when I compile and type something in the FinalDate, the following message appears in the log: Could not convert string to DateTime: 18/11/2014. Path 'FinalDate', line 1, …

Member Avatar for isozworld
0
7K
Member Avatar for Azii

This is regarding the sending E-mail using php and OUTLOOK. I have a "php page" which collect output from previous page. once clicking on send button, it should open my OUTLOOK client, which should have collected data as the body of email.

Member Avatar for broj1
0
1K
Member Avatar for Gaurav arora

Hi all, I have created a table in which i have a DateTime Column . i need that i dont want to insert values in that column from the front end. i have created a trigger for that purpose. whenever i insert a row in that table the dateTime column …

Member Avatar for Timothy_3
0
213
Member Avatar for nikk8a

Hello, I have a string which consists of tokens enclosed in square brackets []. I need to identify these and process the string to replace them with some other derived values. I am unable to get list of tokens via Pattern matching. Below is my code snippet. String str = …

Member Avatar for nikk8a
0
247
Member Avatar for ZeroEddy

Below is my code. I want to make a calculator using javascript. The script will check weather you enter a diget. If not it will display a message on the screen saying to enter one. However I want the paragragp "answer" to display the message. I cant seem to get …

Member Avatar for ZeroEddy
0
466
Member Avatar for Slavi

Well basically, I was coding earlier and I encountered this for(int i = 0; i<acl.size();i++){ //System.out.println(acl.get(i)); if(acl.get(i).contains(role)){ permissions = acl.get(i).split(":"); if(permissions[operation].equals("yes")) return true; } } and I was getting index out of boundary exception, but I knew that wasn't the case so I decided to use a for loop to …

Member Avatar for Slavi
0
137
Member Avatar for jarmouz

Hello , I have this error Deprecated: Function split() is deprecated. How can i resolve this problem. I use explode and preg_split but the problem persist $add=long2ip($result["ip_src"]); $mask="24"; $ipNetmask = $add."/".$mask; list($ip, $netmask) = split("/", $ipNetmask ); $ip_elements_decimal = split("[.]", $ip ); $netmask_result=""; for($i=1; $i <= $netmask; $i++) { $netmask_result …

Member Avatar for jarmouz
0
200
Member Avatar for Pyler

So I'm trying to remove 2 brackets from lines I'm reading from a file. For some reason when I run my program the characters in between the delimeters is removed. for example `greetings pe()ple` would end up as `greetings pe` I'm using a char array of delimiters. `char delimiters[] = …

Member Avatar for Pyler
0
208
Member Avatar for lithium112

I am using Linq and keep getting a DBNull error since my datatable contains DBNulls. I have: var Sum = (from dt in dt1.AsEnumerable() where (dtCutOffDate.Subtract(dt.Field<DateTime>("Date")).Days) >= iStartRange && dtCutOffDate.Subtract(dt.Field<DateTime>("Date")).Days <= iEndRange && ((items == null) || (dt.Field<string>("AcctNo") == items)) && (dt.Field<string>("type").Contains("6") || dt.Field<string>("type").Contains("9")) select dt.Field<double>("amount")).Sum(); The date column is …

Member Avatar for lithium112
0
2K
Member Avatar for Lilgenski16

199 C:\Users\Gaming-PC\Desktop\C++ Files\Tic-Tac-Toe.cpp expected unqualified-id before "if" {//Tic Tac Toe //Plays the game of tic tac toe agaienst a human opponent #include <cstdlib> #include <iostream> #include <string> #include <vector> #include<algorithm> using namespace std; //global constants const char X = 'X'; const char O = 'O'; const char EMPTY = ' …

Member Avatar for NathanOliver
0
270
Member Avatar for sergio_pb

Hello, I have my database xampp mysql and i put values from visual studio 2012. I have the code for INSERT INTO mytable, but always i insert the value, this value appears like 0. I dont know the reason beacause if i'm conected to the database and i send the …

Member Avatar for sergio_pb
0
320
Member Avatar for H

Hey there, My program works by having a blank form, then adding picturebox controls to the form. I need to reference these pictureboxes later on, and so I need to add each one to part of an array. But when I am adding my picturebox (The Object) to MyGrid (My …

Member Avatar for H
0
210
Member Avatar for mark103

Hi all I have got a problem with the list of strings. I have got the full list of strings, but I can't be able to print for each string which I can only print for the full string. When I use this: programList = list() # set the channels …

Member Avatar for Gribouillis
0
279
Member Avatar for bbinais

I want to disable the user for 6hrs when he inputs the wrong password 3 times i'm using mysql... please help me... and this is my usercheck.php [code=php] <?php session_start(); include("config.php"); if (isset($_POST['sub'])) { $myusername = $_POST['txtusername']; $mypassword = $_POST['txtpassword']; $name = stripslashes($myusername); $password = stripslashes($mypassword); $myusername = mysql_real_escape_string($name); $mypassword …

Member Avatar for diafol
0
3K
Member Avatar for Ebroxy

Hello, I want to print a letter from a html page. But within the letter, I want it to contain the name of each student on the database. It is the same letter but I want to print/download it having each student's unique name.

Member Avatar for diafol
0
153
Member Avatar for Papa_Don

Hello group! I need to scrape data from the screen of an open application. It will be used as text, so it will need to be converted into a string that I can parse. I've looked around and found scrapers that use the "picture" as a bitmap or jpeg. The …

Member Avatar for cgeier
0
3K
Member Avatar for arafath077
Member Avatar for Dinesh_9

Hi everyone,I am assigned with an task of writing an java code to create an Word-Frequency-Counter which needs to satisfy the following constraints: 1)It must prompt the user to enter an path from where the code will read all the contents of text files(.txt) present in that directory. 2)An property …

Member Avatar for vighnesh.anap
0
6K
Member Avatar for bro_1

how to make php security in the url with the get method for example as media.php?hal=detail&id=1

Member Avatar for veedeoo
0
513

The End.