199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Indians

this is my login page coding. my login form html coding and php coding is in same page. now if login successful it will redirect to mainpage.php and then if login failure it will show the error message on same page (login.php). how to do that? i tried something but …

Member Avatar for minitauros
0
11K
Member Avatar for johnyjj2

Hello, I have a difficulty with changing interface from ordinary one to generic one. Could you suggest me how I can achieve this goal, please? This is the way how I initialize API, based on user's choice from configuration which implementation of interface should be chosen: /// MyServiceApplication.MyServiceApplication.cs GeneralSystemAPI.Initialize(); This …

Member Avatar for johnyjj2
0
214
Member Avatar for AmrMohammed

I do not know how pixels are represented? suppose I want to read an image pixel by pixel what type of object I can use to read the pixel's data within it and how to read the image pixel by pixel?

Member Avatar for ddanbe
0
160
Member Avatar for sarolin

Hello, I need to find some websites which has been developed only by Ajax. I do not want to see any hyperlink in those! any suggestion? Could you guys help me? Thanks,

Member Avatar for sarolin
0
92
Member Avatar for tinstaafl

Here's a simple class for what it's worth that will do simple base85 encoding and decoding. This only works with the required blocks of data and not large data structures or streams, and does no validation of the data. What it does do is encode a block of 4 8-bit …

Member Avatar for tinstaafl
0
1K
Member Avatar for Eagle.Avik

i am having problem with converting my sign in script with pdo here is my script if ($_SERVER['REQUEST_METHOD'] == 'POST' && $_POST['form_name'] == 'loginform') { $success_page = $_COOKIE["redirect"]; $error_page = 'signup_error.php'; $indexlogcheck = 'home.php'; $mysql_table = 'users'; $crypt_pass = md5($_POST['password']); $found = false; $fullname = ''; $session_timeout = time()+60*60*24*30; try …

Member Avatar for Eagle.Avik
0
272
Member Avatar for Octavian_1

I have a login scrip (downloaded from the internet) that I have adapted to my database. I However have a problem with linking from the login to a page in my system with details of the user that has logged in. The users table on which the login system is …

Member Avatar for Octavian_1
0
395
Member Avatar for HunainHafeez

i am trying to create and fill crystal report via code but an error occurred, REPORT HAS NO TABLES but when i try to extract data from DATASET then it shows exact data,no problem but doesn't work for Crystal report. CODE: protected void Dataset_load() { SqlConnection sqlcon = new SqlConnection(conStr); …

Member Avatar for HunainHafeez
0
1K
Member Avatar for CorpsMarshal

Paying Off Credit Card Debt Each month, a credit card statement will come with the option for you to pay a minimum amount of your charge, usually 2% of the balance due. However, the credit card company earns money by charging interest on the balance that you don't pay. So …

Member Avatar for Reverend Jim
0
400
Member Avatar for viphilar

Hello all - I am writing a Depth First Search program in java for the eight puzzle problem. I have completed the coding but for some reason I am not able to print the exact depth at which nodes are being searched. Here is two of the methods that does …

Member Avatar for maxbummber
0
977
Member Avatar for HunainHafeez

waht are the uses of crystal reports ? yes i searched google and found same thing everywhere that "it's used for presenting data from different data sources etc". but i can't get the actual meaning. Why and where to use CR in asp.net? Simple words please

Member Avatar for HunainHafeez
0
158
Member Avatar for janik

i write a following shell script to mount attached usb drives. when i run it it runs only su - command. it ask for type password. but didn't run the other commands.what can i do to run other commands? please help me su- mkdir /mnt/Usb mount -t vfat /dev/sdb1 /mnt/Usb

Member Avatar for Fest3er
0
164
Member Avatar for gahhon

![ae11c10b62ad1537f03030637438cc85](/attachments/large/3/ae11c10b62ad1537f03030637438cc85.jpg "ae11c10b62ad1537f03030637438cc85") protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) setDropDownList(); bcChart.Series["Series1"].Points.DataBindXY(getDate(), getAmount()); bcChart.Series["Series1"].LegendText = "#VALX - RM #VALY{N2}"; } As you can see my bar graph is displaying 2 items, but how come the legend only show one items and i can't display the legend text as i …

Member Avatar for gahhon
0
196
Member Avatar for gahhon

[Click Here](http://forums.asp.net/t/1872263.aspx) I want do the same thing as this link posted. But i don't have any idea how can i start or do with it. :/

Member Avatar for JorgeM
0
1K
Member Avatar for priyamtheone

I have an MDI application containing an MdiParent form and few MdiChild forms. The MdiParent has a fixed MenuStrip, a fixed ToolStrip and a fixed StatusStrip. The MdiChild forms have one or more ToolStrips and a StatusStrip along with other controls in them. The ToolStrips and the StatusStrip of the …

0
250
Member Avatar for everton.retweets

Hi Everyone, I am needing some help with a wordpress insert query. I have this update query $qry ="UPDATE `".$wpdb->prefix."comments_real` SET `comment_country` = '$country',`comment_number` = '$phone',`comment_smvcode` = '$ref' WHERE `wp_comments`.`comment_ID` =$comment_id"; how do I change this to insert a new record in a db table called "comments_real" Thanks in advance

Member Avatar for everton.retweets
0
190
Member Avatar for dlmagers

I am studying for a test and I am trying to figure this out, Could someone please help me with this answer? I think it might be number 2, (/^\d{5}$/) I am not sure. What are your suggestions? 1. /[d5]/ 2. /^\d{5}$/ 3. /+\d[5]?/ 4. /$\d5^/

Member Avatar for pritaeas
0
205
Member Avatar for Benjamin_4

I am writing an asset monthly depreciation system and i have written a code which works but i want to set the values such that the user enters the value manually into the system. Currently the values have been declared with a variable. this is my code // declare an …

Member Avatar for Proxet
0
193
Member Avatar for tanatos.daniel

I want my XML file to look like this: <?xml version="1.0"?> <Student> <Name>Jax</Name> <Prenume>Teller</Prenume> </Student> I wrote the following code in C#: using System; using System.Xml; namespace ReadingXML2 { class Class1 { static void Main(string[] args) { XmlTextWriter textWriter = new XmlTextWriter(@"c:\users\danuts\documents\visual studio 2010\Projects\BD - XML\BD - XML\XMLFile1.xml", null); textWriter.WriteStartDocument(); …

Member Avatar for tanatos.daniel
0
393
Member Avatar for alek.mieczkowski

Hi all, Im working on a page that sends information to a mssql database. Its a basic registration page with a UserID, Password, First Name, Middle Name, Last Name, and Email box. When Sign up is clicked, all the information in the textboxes should be sent to the Users table …

Member Avatar for alek.mieczkowski
0
241
Member Avatar for TIM_M_91

Ok so i'm trying to validate my input string for location however its working if input is empty but i'm trying to validate the input for 'Greenwich' but that isn't working. Can anyone see what is wrong with my code: <div class="elements"> <label for="location">Location:</label> <input type="text" id="location" name="location" size="25" /> …

Member Avatar for tiggsy
0
151
Member Avatar for spac

Code the click event of the Play Game button to do the following i. Generate a random integer between 1 and 100 ii. Code a loop that will end when the user guesses the number or 10 guesses have failed to find the number. iii. Use an inputbox function so …

Member Avatar for Jamblaster
0
261
Member Avatar for karma2you

I want my my program to look just like the one below (as in showing what guess # they are on ):I've been working on this for the past hour or so but I just can't seem, to get it right . Can someone help me? For example i keep …

Member Avatar for Ancient Dragon
0
278
Member Avatar for brandon66

This is whats returned from a print r in php how would I work with this? SimpleXMLElement Object ( [@attributes] => Array ( [version] => B000 ) [ReturnMessage] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [id] => 1825050393 ) ) [1] => SimpleXMLElement Object ( …

Member Avatar for brandon66
0
137
Member Avatar for andrew mendonca

CSCI-15 Assignment #4, operator functions/methods. 25 points. Due 11/6/2013 Extend your class MixedExpression class to include operator methods for addition, subtraction, multiplication and division, and to have friend operator << and operator >> functions for reading and printing the MixedExpression objects. Allow cascaded input and output per the << and …

Member Avatar for Ancient Dragon
0
256
Member Avatar for styleest

Please help, I am trying to insert but it is saying syntax error con.Execute ("INSERT INTO Contacts VALUES('" & lblRecordID.Caption & "', " & Replace(UserID, "'", "''") & ",'" & Replace(txtfolio.Text, "'", "''") & "','" & Replace(txtsname.Text, "'", "''") & "', '" & Replace(txtfname.Text, "'", "''") & "', '" & …

Member Avatar for debasisdas
0
105
Member Avatar for Clanstrom

I'm having hard times, learning desing patterns. And, I've been reading quite a lot. But, I'm only interested to know, about two things: Adapter & Factory patterns. From what I undestood, (*which is close to nothing*) Factory Pattern helps create objects on the fly Adapter Pattern helps adapt your class …

Member Avatar for pritaeas
0
214
Member Avatar for shyyaz

guy i need a help i need a code for 12 hour clock for c progrem for atm8535 can any one help me plz

Member Avatar for DeanMSands3
0
276
Member Avatar for andrewriebel
Member Avatar for mk12345
0
199
Member Avatar for andrewriebel

Hello, all. I'd greatly appreciate some assistance in getting this program working properly. Thank you!

Member Avatar for JamesCherrill
0
154
Member Avatar for Zet_

Hi guys I want to develop a pattern recognition system for my final year project. The system will be an interface between a blind person and a mute person; I have chosen android platform for the system as most smart phones use it. I want the smart phone to use …

Member Avatar for JamesCherrill
0
223
Member Avatar for Dennis73

In some web sites, ebay and Amazon specifically, they have several thumbnails below a larger image. When you hover over one of the thumbnails the corresponding larger image is displayed in the space above. This effect would be perfect for a site that I am working on right now. Can …

Member Avatar for number
0
1K
Member Avatar for phpfreek2007

Hi, I have multi tif image (multiple page tiff image having more than one page included in single image). I want to read this tif image using PHP since I need to edit certain portions of image using php library. Can anyone guide for steps to achieve this? Thanks in …

Member Avatar for mikepeal
0
368
Member Avatar for murali2489

Dear Team, I have decided to prepare for Oracle certified Java Programmer certification. When i searched in Oracle site, It showed two certifications for OCJP. 1. 1Z0-851 (Java SE6) 2. 1Z0-804 (Java SE7) For the the second exam which is 1Z0-804 they mentioned, we need to pass two exam first …

Member Avatar for murali2489
0
177
Member Avatar for riahc3

Hello I want to have a drop down menu showing small thumbnail pictures and text in a "smartphone like" grid. What can I use to accomplish this? Thank you

Member Avatar for riahc3
0
856
Member Avatar for Eagle.Avik

why is the code below is not working? $sql = "SELECT password, fullname, active FROM ".$mysql_table.""; $sql = $sql . "WHERE username = :username, password = :password"; $statement = $pdo->prepare($sql); $statement->bindValue(':username', $_POST['username']); $statement->bindValue(':password', md5($_POST['password'])); $statement->execute();

Member Avatar for minitauros
0
560
Member Avatar for seanbp

The server only does the basics. TODOs: The header method needs expanding. The file send method can't handle too large files. Maybe write custom buffer class since some buffering is done. Keep cache of recent files.

Member Avatar for JamesCherrill
0
1K
Member Avatar for Priti_P

Hello, I have installed Ldap module for my Drupal 7 from http://drupal.org/project/ldap site. But am totaly black what to do next in this. :( Any document for this? What are next steps in this - *Where to do settings for connection LDAP and contacting with it? Please help! or any …

Member Avatar for Priti_P
0
128
Member Avatar for armani05

Hi just wondering if anyone can advise why this is not working and offer a solution, I am new to java. Thanks in advance for any help. Print Pattern Feature The “print pattern” feature should function as follows: The user should be prompted to enter the following input values: ! …

Member Avatar for stultuske
0
368
Member Avatar for mbhanley

Hi, I am having an issue, any suggestions will be great. I am trying to fetch records from 3 tables on conditions to retrieve the correct data. So far it brings up 2 of the same results as there are two image file names with the same product id's in …

Member Avatar for rch1231
0
189
Member Avatar for smdjilani

I have unix ubantu softwere.when I run any php filE in my firefox i got only a pop up window where to save the file ? what should i do?

Member Avatar for AARTI SHRIVAS
0
110
Member Avatar for chrisschristou

hello dear friends i would like to show a text (message ) only if users is login (connect) i use this code but i have a error <?php if ($_SESSION['MM_Username']) empty { echo "<h4>please log in before adding to BASKET</h4>"; } ?>

Member Avatar for chrisschristou
0
199
Member Avatar for aMOEBa

Hey guys I am scripting with PHP and I need to write a web page that has a print page link which when clicked prints out a print friendly page. Thanx in advance.

Member Avatar for geoamins2
0
223
Member Avatar for ZombieKnight93

I have to create a quadrilateral program for school where you put in two points and find the area. For the Public double getArea() part it says "return type double is not compatible with void" How do I fix it? Main class public class Point { double x; double y; …

Member Avatar for Schol-R-LEA
0
641
Member Avatar for zeeshanmughal

I am creating a software for my company in C#. The working process is like this. 1: we write information in an Excel file. 2: Then we go to the website (Company's customer support page) there is only one search box. and we search after appropriate information. it gives us …

Member Avatar for doaa.foudah
0
746
Member Avatar for annyangel

# There is a code of crud operations in php using classes. plz help me to correct the error # Warning: mysql_query() expects parameter 1 to be string, resource given in C:\wamp\www\new\customers.php on line 44 <?php class Customers { private $name; private $id; private $desc; private $con; public function __construct($name,$desc) …

Member Avatar for annyangel
0
387
Member Avatar for Eagle.Avik

hi, i am building a cms, when a user(already logged in) post anything, the script will check if the user is already exist or not if not it will create a new account(only save username and useremail) for the cms, so i can keep track of users. ok, so i …

Member Avatar for simplypixie
0
917
Member Avatar for mkash

can any1 help me with my code because i cant delete and copy a folder but i can copy and delete other file extensions in my code. it would be a great help if you can help me with this cause im new in c++...thank you and godbless. code for …

Member Avatar for tinstaafl
0
275
Member Avatar for davy_yg

Hello, I basically trying to create a login form that works that will carry me to the admin page after login. This is what I did so far: models/admin/login_model.php <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* Author: Jorge Torres * Description: Login model class */ class …

Member Avatar for LastMitch
0
384
Member Avatar for entities

Hi I am currently searching for entities in this case study and I am hoping to create an entity relationship diagram after I have found all the entities. So far I have managed to come up with the following entities Members Group members Organised club racing Training sessions Boat Design …

Member Avatar for LastMitch
0
256

The End.