199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Jibran12345

Hi I'm creating a website that uses a count query, to see how many things in the database match a variable. Table eg: Whats Liked User Liked By potatoes djiajgi computer djiajgi ......... Now, I'm trying to see people who like the same thing as you do, and am ordering …

Member Avatar for pzuurveen
0
291
Member Avatar for abhishek2409

` if(something here) { <img src="a.jpg" class="image" /> } else if(somthing here) { <img src="b.jpg" class="image" /> } I have something like it But class and events associated with it in jquery does not work for second block. Please help.

Member Avatar for pzuurveen
0
115
Member Avatar for thilipdilip

I got a product table like this id | name | category 1 | name1 | 2,1,5,8,9 2 | name2 | 2,1 3 | name3 | 5,8 And I got a category table like this id | catname 1 | cat_name1 2 | cat_name2 5 | cat_name3 8 | cat_name3 …

Member Avatar for thilipdilip
0
2K
Member Avatar for ivan.dyadi

Qn. Given the following pseudo code, write a program that executes it. (20 marks) read a read b compute x=a*b+2 compute y=a-b total=x2+y*(x+a)*(y-b) print total Solution:vv

0
122
Member Avatar for newbie26

hi.please help me with mysql query. i have a table tblGrades with fields ID, Subject, Remarks. how can i create a stored procedure that will display the students that have subjects(user input) and Remarks='Passed'? the Subjects will depend on the user, therefore it may be one or two or three …

Member Avatar for newbie26
0
2K
Member Avatar for Patrick_3

Hello everyone! I have tried again and again to get this to work using multiple suggestions from the Internet. I am trying to convert an int[] to an Image object. I am getting the array using a PixelGrabber object: int img1_1d[] = new int[img1_w * img1_h]; PixelGrabber grab1 = new …

Member Avatar for JamesCherrill
0
763
Member Avatar for melhanz

<select name='brgylist' id='list'> <?php require_once "connection.php"; $result = mysql_query("SELECT `BrgyCode`,`Barangay` FROM `ref Barangay`"); while($rec = mysql_fetch_array($result)) { echo '<option value="'.$rec['BrgyCode'].'">'.$rec['Barangay'].'</option>'; } echo 'The Code selected is '.$rec['BrgyCode']; ?> </select> I want to store the selected dropdown list to a variable because i will use it to query to output in …

Member Avatar for minitauros
0
318
Member Avatar for nowewiesci

In which **real** situations have you seen C++ usage for web applications wth PHP? I've looked throught the forum, I've asked uncle Google and I know that: - PHP extensions can be written in C/C++ - there is a great amount of C/C++ libraries you can use in PHP projects …

Member Avatar for pritaeas
0
153
Member Avatar for Jibran12345

Hi, I'm creating a website where users can liket things and by liking things you'll see people who have liked the same thing on your home page. Now, currently my code shows people who like ONE same thing as you, but how would I make it so that if anyone …

Member Avatar for pritaeas
0
430
Member Avatar for priya.chitroda

Create a structure for a classroom. Make sure it includes the following: Room Number, Lecture Name, List of Students, Number of chairs, Window (Yes/No), Projector (Yes/No), Available(Yes/No). Instructions: Create functions that allow you to add data to the attributes of the classroom. Create functions that allow you to print out …

Member Avatar for james.opdyckeii
0
128
Member Avatar for darrylnuyda

Hi everyone, Can I ask your suggestion? Please.. I got the problem in my query, about storing the Date into my database. When time I submit o saved the data inputed to my textfield , the query is okay, but when I checked the database the date it's not good(the …

Member Avatar for KushMishra
0
178
Member Avatar for Alibi Ghazi

Can any one help me , i need an algorithm of the fast fourier transform without using fft function .

Member Avatar for phorce
0
143
Member Avatar for ryanpalma0794

I have no idea in how to make a simple database using C++. Please share some ideas or LINKS in how to make a simple database using C++. thanks in adnvance!

Member Avatar for Ancient Dragon
0
360
Member Avatar for showman13

This may sound like a question I shouldn't need to ask, but here I am asking it... In a PHP page I am doing some simple html stuff, where there is a reference in a paragraph to information on another part of the page (rather lengthy document)... in html I …

Member Avatar for JorgeM
0
207
Member Avatar for showman13

Good Morning All, and HAPPY NEW YEAR to everyone, whether you celebrate it or not... I have what should be a relatively simple question that I would like to pose that could avoid a very lengthy one... if I create an associative array and place several key>value pairs in the …

Member Avatar for showman13
0
228
Member Avatar for kentuckyjoe

I'm trying to iterate through the controls on a form and set the tabIndex to 0 for all labels. I copped the following code from google but it doesn't work for me and I'm pretty certain it's because all of my controls are on a panel and not on the …

Member Avatar for kentuckyjoe
0
269
Member Avatar for GlenRogers

Ok,I havent a clue how to do this. I have a mysql table for products, each has id as the primary key. I have an admin page where I upload products to this table or delet/hide them too. But I want a way where when I'm uploading the products to …

Member Avatar for iamthwee
0
101
Member Avatar for cambalinho

i'm building a data base.. heres what i did: 1 - create the forms and put the controls; 2 - create the Service-base DataBase(add New Item); 3 - a toolbox, on left, is showed and then i create a new table; 4 - using the mouse right button, i select(on …

Member Avatar for cambalinho
0
189
Member Avatar for VasquezPL

Hello guys... I have written a program which uses templates prepared in HTML to send emails. Everything was working in OUTLOOK 2003/2007 but now 2013 is a standard in my company. The problem is that OUTLOOK 2013 does not accept <img>link</img> anymore. My program open html template and read it …

Member Avatar for VasquezPL
0
356
Member Avatar for rikje.van.driessche

can annyone help me with this code? package me.nocare.who.cmds; import me.nocare.who.Whoplugin; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; public class WhoCommandHandler implements CommandExecutor { private Whoplugin plugin; public WhoCommandHandler(Whoplugin instance) { this.plugin = instance; } @Override public boolean onCommand(CommandSender sender, Command Command, String commandLabel, String[] args) { String msg …

Member Avatar for rikje.van.driessche
0
206
Member Avatar for Shodow
Member Avatar for hina_7
0
3K
Member Avatar for M@hdi

I need red.proxy.dll reference file for my VB program. i dont have it.... how can i download that??? PLZ help

Member Avatar for Deep Modi
0
122
Member Avatar for Skate Bart

I have a MSHFlexGird (fgdCompany) and a search command. When the user enters the search data into "txtSearch", the command should search for the data and show it to the user by : Highlighting the record in the MSHFlexGrid -OR- By bringing the row that contains the searched data to …

Member Avatar for Mamoundi
0
551
Member Avatar for kgizo

I would love to know whether this code is the correct manner to send mysql data to a remote database. $host = 'www.domain.tld'; $user = 'remote_user'; $pass = 'remote_password'; $time_end = microtime(true); //grant per;misions to connect to remote host if (!function_exists("ssh2_connect")) die("function ssh2_connect doesn't exist"); // log in at server1.example.com …

Member Avatar for The Diamonds
0
589
Member Avatar for Ashneel Chand

Design an online lottery game in C++ which will randomly store 6 number in the range of 1 to 30 as the winning numbers. Then it will ask the user to enter 6 numbers of their choice and match with the winning numbers. It should display the following: “Jackpot” for …

Member Avatar for duskoKoscica
0
539
Member Avatar for inspire_all

Please can anybody explain me the following things below:: 1.What is a hashmap 2.Its use 3.What do we do to avoid collisions....

Member Avatar for deceptikon
0
128
Member Avatar for blue_Student

Hi, I've been testing about converting infix to postfix expression. I've made the code and it compiles. My problem is it stops working when I run it. This involves the use of stack and arrays. I just call the method polish to get the strings infix and postfix, and to …

Member Avatar for deceptikon
0
354
Member Avatar for corleen19

HEY THERE! COULD ANYONE HELP ME WITH THIS? THIS CODE DOESN'T HAVE AN ERROR BUT MY PROBLEM IS NOTHING DISPLAYS ON MY TEXTBOX. I WANT TO GET THE VALUE FROM MY MYSQL DATABASE TO TEXTBOX. Is there another way to do? dbcon = getconnect() dbcon.Open() cmd = New MySqlCommand("select * …

Member Avatar for Deep Modi
0
1K
Member Avatar for Khawar_1

sir i am using VB6.0 POS software, i want to know the source code of the software. Regards! Khawar

Member Avatar for Deep Modi
0
118
Member Avatar for tashee2007

@ by : O This is topic (http://www.codeproject.com/Articles/21351/Import-Data-to-SQL-Server-from-Excel-or-Access-usi) is reactivated again which was posted by : Oxiegen for further information: The code is corrected but the data is not getting exported from Access database to SQL. The code is as follows : Private Sub Button1_Click(ByVal sender As System.Object, ByVal e …

Member Avatar for Deep Modi
0
388
Member Avatar for david.roun.7_1

I'm wondering if anyone could help me with this code. I'm trying to display a photo based on the current month. function pictures(){ document.getElementById('pics'); var m= new Date(); var month=d.getMonth(); switch (month){ case (0): var img=new Image(); img.src="Holiday/HolidayDesktops/Newyear.jpg"; break; case(1): var img=new Image(); img.src="Holiday/HolidayDesktops/Vday.jpg"; break; case(2): var img=new Image(); img.src="Holiday/HolidayDesktops/St.Patday.jpg"; …

Member Avatar for david.roun.7_1
0
235
Member Avatar for Mohamed_26

$_GET is empty and this is my code. I dont know what to do <?php session_start(); ?> <?php error_reporting(E_ALL); ini_set('display_errors', '1'); $hostname = "localhost"; $username = "xxxxx"; $password = "xxxxx"; $database = "db1104107"; //echo '24'; //connection to the database try { $dbhandle = new PDO("mysql:host={$hostname};database={$database}", $username, $password); } //to handle …

Member Avatar for ryantroop
0
275
Member Avatar for waleed.makarem

Dear Experts, Simple question , I need TTS , Text To Speech engine that should be Free Arabic .net independent , OR compatible with .net 3 framework. Thanks, Waleed

Member Avatar for oussama_1
0
265
Member Avatar for mattyd

A simple question (One which I do not have the answer to yet). One small yet important aspect of my current project is collecting IP addresses via email registration/email confirmation. I assume seeing an IP is not difficult (User's email header?) **My question is**: *Is this IP the IP of …

Member Avatar for JorgeM
0
138
Member Avatar for Jibran12345

Hi, I'm trying to make a website in which users can post thing. The thing is, is that if it is a photo then I want it to show as a photo. Unfortunately, if the first row in the database that matches my query, all the posts will be echod …

Member Avatar for Josh Connerty
0
208
Member Avatar for silversurf

Hello everyone. Here is the code first Private Sub Grid1_Click() Dim i As Integer, j As Integer Grid2.Cols = Grid1.Cols Grid2.Rows = i + 1 C = Grid1.Row For j = 0 To Grid1.Cols - 1 Grid2.TextMatrix(i, j) = Grid1.TextMatrix(C, j) Next j i = i + 1 End Sub …

Member Avatar for mushtaqueahmed.chandio
0
969
Member Avatar for mushtaqueahmed.chandio

Dear friends i am making inventory management i have one problem when i have purchase product form its working successufully. other form is edit purchase order. when i click update it does not save. please any one can help me? here is code private cmdsave_click() Dim dd1 As Database Dim …

0
141
Member Avatar for getmeusername

Hello Friends, I am new to c programming. I want to create data structure for client server communication. I can simply transmitt simple char to server and return it back. My requirement is to have dynamic number of variable in client side i.e my client should be able to transmitt …

Member Avatar for Ancient Dragon
0
166
Member Avatar for sinnerbynature

The below program is working but it have some constraint #include<windows.h> #include<iostream> using namespace std; void gotoxy(int x,int y) { COORD CursorPosition; CursorPosition.X=x; CursorPosition.Y=y; SetConsoleCursorPosition((GetStdHandle(STD_OUTPUT_HANDLE)),CursorPosition); } void decone(int num,char suit,int x,int y) { int i; for(i=0;i<200000000;i++); gotoxy(x,y); for(i=0;i<11;i++) { cout<<"*"; } y++; gotoxy(x,y); cout<<"*"; gotoxy(x+10,y); cout<<"*"; y++; gotoxy(x,y); cout<<"* "<<suit; …

Member Avatar for Ancient Dragon
0
237
Member Avatar for Daniel_18

AGH that was annoying...After typing this whole thing I went to register with Google+ and now I have to type it all again...anyways... I have a registration page on a CMS that I'm building. The first step in attempting to register is to enter an email address. Once it's entered, …

Member Avatar for Airshow
0
299
Member Avatar for ali hassan q

finds the average number of hours per day spent programming by each student over a three-day weekend. User should enter the number of hours worked each day and number of students.

Member Avatar for Moschops
0
404
Member Avatar for CJMW

So im making a simple RPG using c# and xna. For collision, i am using a text file that contains data about whether a tile is passable or not. I iterate through them and create rectangles based on the position of the 'bad' tile in the text file. I then …

Member Avatar for CJMW
0
346
Member Avatar for CJMW

So im posting this here and not under game development because this is more of a problem solving question, not directly game related. Im making a simple RPG using xna. Im currently working on collision detection, however running into difficulty. I can successfully check for a collision between the player …

Member Avatar for CJMW
0
333
Member Avatar for noel9

hiee i want to sort a column on the click of hyperlink of header i m doing it by sql query so how so i write javascript for this so that i can call on onclick of hyperlink and column get sorted

Member Avatar for JorgeM
0
125
Member Avatar for alina.nazchowdhury

My program worked fine untill i changed it, cause i wanted to be able to see recently opened files in menu bar, after i finished it shows this error: Input past end of file, i do not understand what to do with it, somebody help please, I'll provide full code: …

Member Avatar for Minimalist
0
503
Member Avatar for Ambrish_1
Member Avatar for umaima_121

Please can anyone cheack my work its not working with me ! Also if you have any simple Solution can I use, it will be better ! Protected Sub Button1_Click(sender As Object, e As System.EventArgs) Handles Button1.Click Dim conString As String = "Data Source=BUSH;Initial Catalog=HOTEL;Integrated Security=True" Dim sqlCom As SqlCommand …

Member Avatar for JorgeM
0
380
Member Avatar for Decode098

so we where tasked to make a tic tac toe w/ out gui or even using array so here's what ive done so far its still far from complete but i cant seem to get the result i want but since this is just a test class that would be …

Member Avatar for Paul.Esson
0
181
Member Avatar for cwarn23

I have been trying to create a script that will fetch an image file, store it in a 2d grayscale non-alpha byte array based on the x and y axis so I can perform math operations then save that array back to a new image file. I have come close …

Member Avatar for JamesCherrill
0
261
Member Avatar for noel9

how do i stop user inserting duplicate records INSERT INTO person_tbl(person_name,person_status,creation_time,modified_time) VALUES ('$person',$status,$ctime,$mtime) WHERE person_name NOT IN(SELECT person_name FROM person_tbl WHERE city_name='$person');

Member Avatar for rch1231
0
128

The End.