199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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? … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
How can i measure sequential read/write speeds? is there any API, library that can help me? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
how to come up with a code to class queue and circular queue | |
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 … | |
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 … | |
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 … | |
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, "/" ) || … | |
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; … | |
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'); … | |
<?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']; … | |
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. | |
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! | |
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 … | |
Can anyone explain me in simple language and better if with an example [B]why constructor don't have return types :!: [/B] | |
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 … | |
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 … | |
Hi all master is posible srcape a web java applet using curl php? please help | |
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 … | |
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 … | |
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 ? | |
<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); … | |
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 … | |
INSERT into tbl_inquiry (name,phone,email,subject,message) values ('apoorva','000012345','email@email.com','subject','hi what's up') | |
how to get all available SQl SERVERS on the network and their databases? | |
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" … | |
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) … | |
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 … | |
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") = … | |
<?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 … | |
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 … | |
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 … | |
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% -------> … | |
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 … |
The End.