199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for vexer007

Hi, I've run into absolute brickwall and am really desprate for your help please. I have a MYSQL Database with two Tables called user_comment and the second user_table. When a user register with the site, their details are kept in the user_table. the second table user_comment is so that users …

Member Avatar for chocolatte.lavista_1
0
408
Member Avatar for chocolatte.lavista_1

Please help me :) how to do this? Student post an assignment to the supervisor. Supervisor will receive that assignment and approve it whether click button YES or NO. The question here is, how to show YES or NO statement at the student page after supervisor has approved their assignment? …

Member Avatar for chocolatte.lavista_1
0
193
Member Avatar for Phesheya

I want to modify a table columns and rows the way I want them, but i have a problem on doing that please help me.

Member Avatar for chocolatte.lavista_1
0
112
Member Avatar for Ferd12324445

I'm creating multiple custom info windows using only one xml layout, all of the info inside the window will be put In programmatically. I am now trying to give the ImageView an image but when I do that for one marker all of the other markers ImageView images become the …

Member Avatar for raj.mscking
0
345
Member Avatar for Ajay_9

Hi, I am developing a quiz contest in before starting the quiz user is to select the types of question(combobox) & number of question and when the button is clicked we go to next quiz form in the question is displayed in textbox and option is displayed on 4 different …

Member Avatar for castajiz_2
0
259
Member Avatar for Mohamed_26

Hello I am trying to update the quantity value but I am not able to do it. As soon as the user clicks on Add To Basket, if the items exists I want it to update the value. At the moment, the quantity is one. //so this bit checks if …

Member Avatar for Mohamed_26
0
2K
Member Avatar for game4tress

I have the Ajax call listed bellow inside a jquery function, and the ajax call is not working. I've used "alert" to debug and its like the jquery function didn't even had the ajax call. Nothing inside it is processed, with no sucess and no errors. Isn't it possible to …

Member Avatar for dcdruck
0
460
Member Avatar for haider885

I am using Visual Studio 2013. Error in structure... syntax error : missing ';' before '<<' unexpected token(s) preceding ';' #include "stdafx.h" #include "iostream" #include "fstream" #include "string" #include "conio.h" using namespace std; struct input { char f_name[13]; char l_name[13]; char gender[6]; char section; int age; cout << "Enter Your …

Member Avatar for k99rs
0
348
Member Avatar for longinus.ozor

I want to be a programmer but I don't even know where to start. I have read about what computer programming can be used for and what it does but I have no idea about how to start.

Member Avatar for Schol-R-LEA
0
216
Member Avatar for ala_2

How can i measure sequential read/write speeds? is there any API, library that can help me?

Member Avatar for sDJh
0
238
Member Avatar for lillen1421

Hey, Ive recently started programming and kinda hit a wall on how to continue :S Im trying to load the values in a textfile into a array and then calculate the lowest value in the array and display it. The format in the textfile is in HH.MM.SS and every value …

Member Avatar for lillen1421
0
147
Member Avatar for jeffersonalomia

pls help me on my code.. i had successfully avoid data redundant but there is an error "Item cannot be found in the collection corresponding to the requested name or ordinal." and because of that, i wasn't been able to store new data that wasn't exist in my database. please …

Member Avatar for Reverend Jim
0
190
Member Avatar for k99rs

I have an application that where i have a an Asp textBox and i added TextBoxWatermarkExtender to it. <asp:TextBox ID="txtCellNo" runat="Server" /><br /> <ajax:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender4" BehaviorID="CellNoBehavior" TargetControlID="txtCellNo" runat="server" WatermarkText="Cell No."> </ajax:TextBoxWatermarkExtender> Because i have the page constantly postpage the TextBoxWatermarkExtender Blinds everytime it does a Postback. So i added this …

0
81
Member Avatar for STVG

i'm using Soil library to load textures,here is my function to do this: GLuint LoadTexture(std::string file) { GLuint texture; texture = SOIL_load_OGL_texture( file.c_str(), SOIL_LOAD_AUTO, SOIL_CREATE_NEW_ID, SOIL_FLAG_POWER_OF_TWO | SOIL_FLAG_MIPMAPS | SOIL_FLAG_MULTIPLY_ALPHA | SOIL_FLAG_COMPRESS_TO_DXT | SOIL_FLAG_DDS_LOAD_DIRECT | SOIL_FLAG_INVERT_Y ); glBindTexture(GL_TEXTURE_2D, texture); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); return texture; } and i …

0
116
Member Avatar for d100man

pleas ehelp with this program im clueless in what to do for it • The program will ask three questions 1. What is your sex 2. Do you work in a n office 3. What is your race If the sex is Male and the race is white, and the …

Member Avatar for samson.dadson.3
0
161
Member Avatar for Ajay_9

I want access data randomly and i have write the code when i click the button then data is displayed but i want when i again click the button then the next row data is displayed. could you please tell i am stuck here past 15 days.please And when click …

0
102
Member Avatar for lilbrownmpole
Member Avatar for Schol-R-LEA
0
157
Member Avatar for mike julius

hi im a beginner on php and i just want to know if my codes is correct because when i try to update it it only saves the last value i hope some one can understand me. $id = ($_REQUEST['StudentNumber']); $result= mysql_query("SELECT NameofSiblings, Age, HEA, CivilStatus, Occupation FROM $tblname where …

Member Avatar for mike julius
0
182
Member Avatar for BogdanCov

Hello guys. the AutoSize is true, but the form is not autsizing :( first the form looks like [this](http://i60.tinypic.com/2s1uk1v.jpg) . when i press that button generates a matrix of buttons but the form is not autsizing it should look like this [this](http://i58.tinypic.com/11gni9h.jpg) . but no change, it remains at the …

Member Avatar for BogdanCov
0
168
Member Avatar for skorm909

I have a c++ game that i made and i was wondering how i would make it so that i could add graphics, or just use the same basic concept of the game and just put those into a fresh game that i make with graphics. well my question is …

Member Avatar for BogdanCov
0
2K
Member Avatar for beSmart4

Hi. I wonder why this doesn't work. I expected to see ch1 and ch3 are numbers but it shows they are operators.... How can I make this work? #include <iostream> using namespace std; void isItNumber( char *ch ) { if( strcmp( ch, "*" ) || strcmp( ch, "/" ) || …

Member Avatar for Schol-R-LEA
0
169
Member Avatar for Martin_3

Hi guys, I have some C# code in my Powershell script and in that code I have a global variable. How can I access my variable from the powershell code ? $source = @' using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; …

Member Avatar for BogdanCov
0
273
Member Avatar for davy_yg

Hello, I wonder about one thing: I am trying to create a uniform background for this all navigation links in this site: [Infracom](http://www.infracom.co.id/infracom/) I do not really create the site - since we no longer hire the one who create it and I have to maintain it. index.php <?php require('wds.php'); …

Member Avatar for davy_yg
0
174
Member Avatar for chaitu11

<?php $con = mysql_connect("localhost","root",""); $db = mysql_select_db("abc"); if(!$db){ echo 'Could Not connect database'; } $sel = mysql_query("select * from user_registration"); ?> <script type="text/javascript" src="http://code.jquery.com/jquery.js"></script> <script type="text/javascript"> $(document).ready(function(){ $('input[type="checkbox"]').click(function(){ //how to select multiple checkbox value here?????????? }); }); </script> <div> <?php while($row = mysql_fetch_array($sel)){ ?> <label> <input type="checkbox" name="<?php echo $row['user_id']; …

Member Avatar for Ajay Gokhale
0
2K
Member Avatar for Vhyr

Hi all, I'm making a program that can search for all .JPG files and display them in a ListBox. Now I want it to display the selected ListBox Item in the PictureBox1. The files in the listbox are listed like this : C:\Documents and Settings\My pictures\Image01.JPG Thanks, Vhyr.

Member Avatar for Reverend Jim
0
201
Member Avatar for Khyxz

How CAn I get the "sum" of a "Column" in a Data Grid? I dont't use /connect database with my Data Grid! How can I make this happen? Thank you for any responses!

Member Avatar for oussama_1
0
158
Member Avatar for user304795

I'm a novice to MIPS I'm trying to develop a program which takes an input from a ten word array, increments it by two, stores the result back into a register $v0. Which will hold the incremented value. The program should stop when it encounters a value of 0 from …

Member Avatar for Schol-R-LEA
0
6K
Member Avatar for SpS

Can anyone explain me in simple language and better if with an example [B]why constructor don't have return types :!: [/B]

Member Avatar for ishan_1
0
739
Member Avatar for davy_yg

Hallo, This is funny. I export mysql codes to the webserver. Yet, I cannot run the codes correctly, there are some errors when I run the codes: Error SQL query: -- -- Database: `project_infracom` -- -- -------------------------------------------------------- -- -- Table structure for table `infracom_admin` -- CREATE TABLE IF NOT EXISTS …

Member Avatar for davy_yg
0
309
Member Avatar for GrantB

Im trying to create a random 6 digit numeric code that will not repeat. I have tried using guid but that was unsuccessful. random rnd = new random(); int num = rnd.next(000001,999999); I would prefer not to use Random , or to have to iterate through all the previous codes …

Member Avatar for Ketsuekiame
0
2K
Member Avatar for Wendy_1
Member Avatar for Wendy_1
0
724
Member Avatar for murali2489

Dear All, I have an animal class and a thread class. Just to understamd the concept of Object lock in threads. I have used the Animal instance as a lock in my thread class. The program never ends. My question is is there a condition i can put before invoking …

Member Avatar for JamesCherrill
0
244
Member Avatar for chaitu11

My resume is already present in resume folder with following formate eg: 3chaitanya.doc = > [session_id+session_firstname] i need to attach it to email without browsing it <?php session_start(); include('db.php'); $to = "company@gmail.com"; $fromEmail = $_SESSION['user_email']; $fromName = "Job tile"; $subject = "Applying for job"; $message = "some text"; //path of …

Member Avatar for chaitu11
0
172
Member Avatar for YA RAMSAMKER

i want to create an activity log on an application i have wereby on the website i am able to see exactly what the user did on the page meaning which buttons was pressed and what else he did . . . Is it possible ?

Member Avatar for ZER09
0
127
Member Avatar for Mike_danvers

<html> <body> <table border=3> <form action=checkpass.php method=post> <tr> <td>userid</td> <td><input type=text name=n1></td> </tr><br> <tr> <td>password</td> <td><input type=password name=n2></td> </tr><br> <tr> <td><input type=submit value=login></td><br> <td><a href=registration.html>Create new account</a></td> </tr> </form> </table> </body> </html> //checkpass.php <?php session_start(); include "connect.php"; ?> <?php $userid=$_POST['username']; $password=$_POST['password']; $q="select * from cust_details where userid='".$userid."' and password='".$password."'"; $s=mysql_query($q); …

Member Avatar for Alhussaini.Eng
0
255
Member Avatar for brett.warren.1612

Hi, I was working on a solution to problem ten of Project Euler, which states: > The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. > Find the sum of all the primes below two million. I've got code that solves this …

Member Avatar for slate
0
251
Member Avatar for apoorvashah28

INSERT into tbl_inquiry (name,phone,email,subject,message) values ('apoorva','000012345','email@email.com','subject','hi what's up')

Member Avatar for chocolatte.lavista_1
0
173
Member Avatar for netisland
Member Avatar for pritaeas
0
122
Member Avatar for spluskhan

when i try to submit my file i get error > Fatal error: Call to undefined function finfo_open() in C:\xampp\htdocs\Test\file_insert.php on line 49 My Code for Insert.php is: <html> <head><title>File Insert</title></head> <body> <h3>Please Choose a File and click Submit</h3> <form enctype="multipart/form-data" action= "<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> <input type="hidden" name="MAX_FILE_SIZE" …

Member Avatar for Alberto Bucur
0
3K
Member Avatar for Arunkumar k v

I have posted image in database, and i got that image also, but i want to replace the image using php code can any one help me this is my code <?php require("../db.php"); $id =$_REQUEST['id']; $result = mysql_query("SELECT * FROM doctors WHERE id = '$id'"); $test = mysql_fetch_array($result); if (!$result) …

Member Avatar for Arunkumar k v
0
117
Member Avatar for jainasamiento
Member Avatar for rosalyn cruz
Member Avatar for chocolatte.lavista_1
0
104
Member Avatar for rosalyn cruz

how to use sql like operator?how to use it give me example thanks!

Member Avatar for chocolatte.lavista_1
0
117
Member Avatar for Johnathon332

I am having trouble as I am trying to run my clientsocket.connect until a connection has been established. However it is not running my connect method and I cannot seem to be able to diagnose why that is private static ClientSocket clientSocket = new ClientSocket(); private delegate void connection(); public …

Member Avatar for oussama_1
0
286
Member Avatar for mavtcr

I want to save data in to my ACCESS database from textboxes. My code is here. Private Sub BtnSubmit_Click(sender As Object, e As EventArgs) Handles BtnSubmit.Click Dim cb As New OleDb.OleDbCommandBuilder(DA) Dim dsNewRow As DataRow DA = New OleDb.OleDbDataAdapter(SQL, CN) DA.Fill(DS, "Deposit") dsNewRow = DS.Tables("Deposit").NewRow() dsNewRow.Item("Bank") = TxtBank.Text dsNewRow.Item("Acno") = …

Member Avatar for oussama_1
0
364
Member Avatar for pooja_3

<?php $variable=$_POST['module']; $xmldoc = new DOMDocument(); $xmldoc->load('info.xml'); $xpathvar = new Domxpath($xmldoc); $queryResult = $xpathvar->query("testcase[substring-after( substring-after(script, '/'), '/' ) = '$variable' or substring-before( substring-after( substring-after(script, '/'), '/' ), '/' ) = '$variable']"); foreach($queryResult as $var) { echo $var->textContent; echo "\n"; } ?> I have written this code to fetch those content …

Member Avatar for pooja_3
0
206
Member Avatar for lord0o

Hi, I need to make a registration page to my Private Silkroad server on my website, and it works with SQL Server 2012. I'm not really into PHP neither SQL, just figuring it out with poor online guides on the web about it, and I didnt find any help with …

Member Avatar for urtrivedi
0
403
Member Avatar for henrimontreal

I have a Texas Instrument board and I need to make a GUI on PC and link it to my board via a serial port in order to have communication.(energy-meter calibration monitoring window) Therefore, I decided to use Visual Studio 2010. When I started to use it I found out …

Member Avatar for tinstaafl
0
237
Member Avatar for jared.geli

Hi guys I need your help once again. I can update a record from excel through datagrid but I've encounter a problem where instead updating in number/percentage format(I have columns in number format and in percentage format) it updates in General Format. Example: col1 col2 col3 abc 123.00 100% -------> …

Member Avatar for jared.geli
0
195
Member Avatar for davidannis

I am going through an XML file and trying to get the name of a child (or children) node(s) but I'm missing something. Even though there are child nodes, my foreach loop acts as if there is not. $pos = $node->sense->pos; foreach ($pos->children() as $child) { echo "I never get …

Member Avatar for davidannis
0
3K

The End.