199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for RaeesIqbal

I have this code in PHP: $sql = mysql_query("select * from peoplebase where FName like '%$fname%' AND MName like '%$mname%' AND LName like '%$lname%' AND street like '%$street%' AND city like '%$city%' AND state like '%$state%' and zip like '%$zip%' and ssn like '%$ssn%'"); while ($row = mysql_fetch_array($sql)){ echo "<div …

Member Avatar for RaeesIqbal
0
284
Member Avatar for CutP

Hey i have no clue what to put in the ReduceFration and CommonDemoninator sections. I know that you call the gcd function for ReduceFration and lcm function for CommonDenominator. Should be easy few lines of code but I'm a Beginner! Here's the code: #include <iostream> using namespace std; int gcd(int …

Member Avatar for deceptikon
0
280
Member Avatar for somjit{}

i was thinking of downloading some database software that would help me learn sql. so far i have only *read* sql , ie havent done any practical sort of thing. i made a post earlier in this forum , where i was told that sql server express will be a …

Member Avatar for somjit{}
0
194
Member Avatar for wilsonz91

Hello, I have a problem using Qt 4.8.4 on VS2012. I manage to compile the code but when I run it, it says: Qt: Could not initialize OLE <error 80010106> on the console but since it has reached the end of the program where it says 'press any key to …

Member Avatar for Terminator1337
0
544
Member Avatar for Vimal123
Member Avatar for deceptikon
0
65
Member Avatar for ddanbe

Would I create "more" randomness if if I had the library random function selecting randomly a value from the logistic function,with initial values showing chaotic behaviour, which I then would use as a seed to the random function provided by the library? Phew, whole mouthfull I guess . . . …

Member Avatar for deceptikon
0
116
Member Avatar for aaloo

I am building a chat application based on websocket protocol.I am uploading this on an apache server and i am getting this error : "Warning: socket_bind() [function.socket-bind]: unable to bind address [98]: Address already in use" I am using port no. 12346. When i checked this port's status i got …

Member Avatar for dorco
0
1K
Member Avatar for MasterHacker110

I only see tutorials for installing the Cosmos OS kit with visual studio 2010. I have visual studio 2012 express and would very much like to start writing my experimental OS with Cosmos Os kit. Is there a way or do i have to download visual studio 2010?

Member Avatar for MasterHacker110
0
151
Member Avatar for caloy007

Hey everyone, I have a query that is to return a set of rows depending on its WIPDataValue. Say for example, I have added new WIPDataValue which is 1-9. So obviously the resulting set should have 9 rows and on those 9 rows, the value of each is 1-9. This …

Member Avatar for pritaeas
0
146
Member Avatar for B0716L

I was wondering if there was a way to make a "remember me" button for a login form. I am working on a javascript only login box, that is pretty secure, but I just need to know how to make that remember me checkbox! Please help! Here is the current …

Member Avatar for pritaeas
0
1K
Member Avatar for hanan-kh

hi... i have this error in my code Fatal error: Call to undefined method myclass::addCat() in G:\AppServ\www\society\Admin\addCat.php on line 23 this is aclass function function addCat($t1) { mysql_query("insert into categories (Categoriesname)values ('$t1')") or die(mysql_error());} and this aline have a error if (isset($_POST['but1'])) { $t1=$_POST['txt1']; $m= new myclass(); $m->addCat($t1); } I …

Member Avatar for hanan-kh
0
369
Member Avatar for ASWEDAN

Hello there, I face this error message when I try to save a new record in Table: viruses_analysis, I would like to use the same way in the code below, but where is the error? please be informed that I used the same way in other applications and worked very …

Member Avatar for ASWEDAN
0
325
Member Avatar for ef_mag

Hi, i am trying to write a program in java where i would concatenate a CREATE TABLE statement with my values from the first row of excel file and hold the fields name to create the SQLStatement. To be more specific i would like to create a table to store …

Member Avatar for ef_mag
0
230
Member Avatar for arunpawar

I tried to run this code on xampp and also on codepad and it seems it is not compiling at all. <?php class MyName{ public $name="johnh"; public $lastname="doe"; public function setProperty($var_name,$var_lastname){ $this->name=$var_name; $this->lastname=$var_lastname; } public function getProperty(){ return $this->name. " ". $this->lastname; } } $obj=new MyName(); $obj->setProperty("jane","doe"); $obj->getProperty(); ?> Is …

Member Avatar for masterjiraya
0
135
Member Avatar for ben.nahalewski

ok so i have set commands which i normally use with cmd.exe but i need to create gui so its easier based off clicking a button and it would process the entire command for me but still have selection with VB if anyone could show me the the conversion of …

Member Avatar for tinstaafl
0
209
Member Avatar for shakayu

Hello Guys, am actually working on a website... I want a login on the top left corner...*login*..then when the user click on this ..a modal form would appear asking them for their user-name & password.. I have a already do the login form *controller* ?php function index() { $data['main_content'] ='login_form'; …

0
109
Member Avatar for Martin C++

Hello, I have a div that contains small posts, it grows automatically. When size is too big then the scrollbar apepars with CSS overflow property. What I want is that when more data is added then the div is automaticall scrolled down to it BUT when user decides to scroll …

Member Avatar for Martin C++
0
4K
Member Avatar for devianleong

I've a problem to my linkedlist at line 10. Can anyone help me to solve it? Thank in advance. ![edcc2efd2d7051037a9a147491e15671](/attachments/large/3/edcc2efd2d7051037a9a147491e15671.png "edcc2efd2d7051037a9a147491e15671") This is my code : package linkedlist; import java.io.FileReader; import java.io.IOException; import java.util.Scanner; public class LinkedList { private String firstName; private String lastName; private static LinkedList<LinkedList> classRoster = new …

Member Avatar for devianleong
0
262
Member Avatar for dinhunzvi

i have the following code in my php script. it's for displaying a Crystal Report file. $cr = new COM( "crystalruntime.application" ); if ( $cr ) { $cr->OpenReport( "SelectExpert1.rpt", 1 ); } if i try to access the file with this code on my browser i get the following error. …

Member Avatar for diafol
0
823
Member Avatar for l.worboyz

Basically i have literally just started learning Java Script and i was seeking some help as to how i could repeatedly display the character "X" any given number of times using a function. Here is what i have so far: function makex(8) { var resultStr = ""; for (var xcount …

Member Avatar for stultuske
0
293
Member Avatar for IMIDEV

Hi every body, I am trying to parse an xml file with sax parser in java and then fulfill a Jtable with the XML elements. The parsing is well done, the Jtable is created but the problem is that all the elements are placed in the same row and the …

0
244
Member Avatar for vanessakate

Is there a way to load CSS from the database, I am developing an Ecommerce website for UK in a system in which the user can discuss directly with the suppliers through the inbuilt chat. Please someone help me by showing the coding, Thanks.

Member Avatar for imBaCodes
0
489
Member Avatar for RawrInYoMouth

I just needed some assistance on formatting the output into a specific fashion. I satisfied all the requirements of the assignment, except the output. I apologize for the bad format of this post, any suggestions and help is greatly appreciated. I need the output to look like: Mr. Random - …

Member Avatar for Pobunjenik
0
447
Member Avatar for Gobble45

Hi there, My issue: I have a datagridview and a DB file with ~100 columns and ~200 rows of data. This data is imported to the DGV onLoad(). Once i have the data i run a script that searchs a predefined(by the user) folder for text files. Each text file …

Member Avatar for Gobble45
0
2K
Member Avatar for naheedkassam

I have 2 tables that i have joined together to be able to evaluate the availabilty of rights to a user. the query is as below SELECT R.RIGHT_ID,RIGHT_NAME, RVIEW=CASE WHEN R.RIGHT_VIEW = 0 THEN NULL WHEN R.RIGHT_VIEW = 1 AND A.RIGHT_VIEW IS NULL THEN 0 ELSE A.RIGHT_VIEW END, RADD=CASE WHEN …

Member Avatar for LastMitch
0
415
Member Avatar for zawpai

Hi all, Is it possible to select multiple records (rows) in "DataGrid" and then delete all selected items? Because I can't find any properties to enable for multiple selection. Whenever I try to delete a record, system always prompt the run time error. Private Sub Command4_Click() Dim count As Integer …

Member Avatar for zawpai
0
3K
Member Avatar for silent lover

how to get img src value without img id? (with javascript) ababababa<img src="http://example.com/blabla/bego.png">ababababa

Member Avatar for silent lover
0
208
Member Avatar for saleem.mukhtiar

Dear Friends i want to add a progrress bar in this uploader please help me ... Imports System.IO Imports System.Net Public Class Form1 Private Sub btnUpload_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnUpload.Click Dim request As System.Net.FtpWebRequest = DirectCast(System.Net.FtpWebRequest.Create("ftp://ftp.uibonline.com/uibsat/saleem.jpg"), System.Net.FtpWebRequest) request.Credentials = New System.Net.NetworkCredential("ksauib@uibonline.com", "123456") request.Method = System.Net.WebRequestMethods.Ftp.UploadFile …

Member Avatar for Reverend Jim
0
302
Member Avatar for mikeybware

I have a calendar/scheduler that I am coding and I want people to be able to search for the next available date via a few options. One of those options is to only search those dates that are "Monday" for example. I have the following SQL command to retrieve data …

Member Avatar for kRod
0
418
Member Avatar for GlenRogers

Hi I have a 'categories' mysql table and a 'subcategories' table. I need to make a form so the site owner can remove subcategories as needed. I was think of having a form with 2 dropdowns on it, the first to choose the category, the second to choose the subcategory. …

Member Avatar for masterjiraya
0
187
Member Avatar for turpentyne

I have an svg object on my page, with mouseovers that call a function on the page itself (outside of the svg). This function shows/hides divs on the page by id: onmouseover="top.showit('option28')" When the page is first loaded, the divs hide/show just as they're supposed to. But I have separate …

Member Avatar for turpentyne
0
230
Member Avatar for PrimePackster

Hi guys, I have been working on a sudoku solver, that finds solution by brute forcing during my school days.... But due to the huge number of loops i couldn't do it at then.... SO decided to complete it now.... So here the algorithm: 1. Get the number of fixed …

Member Avatar for Gonbe
0
326
Member Avatar for kakalahori

<form action="process_registration.php" method="get" > <label for="lname">Login Name:</label> <input type="text" name="lname" id="lname" /> <label for="pswrd">Password:</label> <input type="password" name="pswrd" id="pswrd" /> <input type="submit" value="Submit" class="animated shake" /> <input type="reset" value="reset" class="animated shake" /> </form> and the php code is <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”> <html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en” lang=”en”> <head> …

Member Avatar for kakalahori
0
311
Member Avatar for kakalahori

while giving command zf create action login i get the error PHPUnit is required in order to generate controller test stubs. -------------any suggestions

Member Avatar for kakalahori
0
245
Member Avatar for Squidge

Hi All, Not sure really where this should go but..... I have recently setup a shared HTDOCS under XAMPP across a dual boot system (Win7 & Ubuntu). Not sure if there is an interest, but if anyone would like to know how to do it, please give me a shout …

Member Avatar for Squidge
0
136
Member Avatar for cyberdaemon

Good day, I am having troulbe with my computation here. i want to compute for the Custom_Haulage_In_Transit but when i exec my sp the value of the Custom_Haulage_In_Transit is 0. can anyone help me with this please.. here is my code SELECT distinct MATERIAL ,Description ,Material_Type -- ,Requested_Delivery_Date ,ATP_check ,Delivering_Plant …

Member Avatar for adam_k
0
217
Member Avatar for flywheeljack

I thought it would be a straight forward API call of the shell32.dll but I cannot for the life of me figure out how to use shell32.dll to do what I need it to do. Part of this is due to the fact that I can't find any code that …

Member Avatar for tinstaafl
0
225
Member Avatar for chocolatte.lavista

excuse me, can somebody help me to make a simple program that combine an array,function and pointer.. please... i'm already confuse about C++. please... thank you!

Member Avatar for Schol-R-LEA
0
127
Member Avatar for zachattack05

I have a DataGridView that contains 3 columns, the first is a drop down and the second and third are textboxes. However, the third one is read-only and is only there to provide information to the user on the item selected from the dropdown column. If the user changes the …

Member Avatar for zachattack05
0
6K
Member Avatar for denikov

I would really like for someone to take a little time and look over my code. I'm parsing some news content and I can insert the initial parse into my database which contains the news URL and the title. I'd like to expand it farther, to pass along each article …

Member Avatar for pritaeas
0
266
Member Avatar for walas

// i want create doubly linked list in c with following choices: 1- add to head 2-add to mid 3-add to tail 4- delete from head 5-delete from middle 6-delete from tail 7- search 8- print 9- exit i write my program but founded some errors what is it? [CODE]#include<stdio.h> …

Member Avatar for syker111
0
620
Member Avatar for Navlag

So I have this OpenGL program that displays a cube using gluLookAt(0.0, 0.0, 5.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0); And it allows users to modify/rotate it along the x, y and z axis using input. Right now it looks it works pretty well, however, it terminates once the image …

Member Avatar for myk45
0
273
Member Avatar for superstar515

Hello, I am glad to join a community of over a million members. I am trying to develop an application which will try to protect keystrokes from being send by keyloggers and even if it can be send it will be encrypted or obfuscated. Would like to know what are …

Member Avatar for tinstaafl
0
168
Member Avatar for bradly.spicer

Hi all, Having a small issue with some PHP i'm re-writing. I'm converting my old mysql to Mysqli for a new project. my database is called "jobboard" my table is called "details". The Idea is to have a drop down and then select the persons name (Which has the ID). …

Member Avatar for diafol
0
228
Member Avatar for wilsonz91

Hi, I wrote a simple windows form in VC12 which works fine. However, I am unable to terminate it properly. Upon clicking either the 'X' (close button) or a button I put in with the code, Application::Exit(); The GUI disappear/closes but the process is actually still running when I check …

Member Avatar for gusano79
0
243
Member Avatar for vinay7868

this is the below code in which when user press enter then the details of textbox go into gridview then again when user press enter then if that record is already available then not allow to insert in gridview.i a unable to do this please help any one... If Asc(e.KeyChar) …

Member Avatar for Begginnerdev
0
280
Member Avatar for Papa_Don

Group, In reviewing the data in one of my SQL Server tables, I noticed that my nchar or nvarchar fields have additional spaces added to the end of the record. Is there a way to stop this? Should I be using a different data type? In advance, thanks for your …

Member Avatar for Stuugie
0
228
Member Avatar for Tinnin

Hi All, I've tried the following to format my date in 'dd/mm/yyyy' instead of 'dd/mm/yyy hh:mm:ss' when importing data from csv to DataSet. CONVERT(VARCHAR(10), [dateColumnName], 103) AS [DD/MM/YYYY] and CONVERT(DATETIME, [dateColumnName], 101) AS [DD/MM/YYYY] Both give me the error: Undefined function 'CONVERT' in expression What would be the correct method …

Member Avatar for Tinnin
0
583
Member Avatar for san.ssj

Hello, As mentioned in the title I wanted to generate a data report and found this bit of code on microsoft page. http://code.msdn.microsoft.com/vstudio/VBWinFormPrinting-ca19810f Hoping Im correct, Private Sub printDocument1_PrintPage(ByVal sender As Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Dim f As Font = New Font("Vanada", 12) Dim br As SolidBrush = New …

Member Avatar for Begginnerdev
0
158
Member Avatar for kumar_g

Hi Freinds I am programmer in VB.net & wanted to make a software Well this is a common problem. Consider there are 2 friends A & B One day A requires an urgent document which is there in B's laptop But unfortunately B is out for some work & will …

Member Avatar for Begginnerdev
0
270

The End.