64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for SeePlusPlus2

What exactly does it mean when an algorithm has a run time of Omega(nlgn) or Theta(n^2), etc. From what I can tell, Big O is used to show the worst case(?) while Omega is best(?) and Theta is either(in between O and Omega?. I'm having a hard time understanding this …

Member Avatar for sepp2k
0
234
Member Avatar for jkulp4

Hi All, I am hoping someone can help me with this and/or point me in the right direction. I am developing a quiz application and have run into a problem when the question being pulled from the database is a true/false question it produces an error, straight multiple choice questions …

Member Avatar for QVeen72
0
345
Member Avatar for danielagaba

hi i'm trying to connect a midlet running on my emulator (jwtk 2.5.2) to an apache tomcat server which has the servlet code. when i run the emulator instead of displaying the name i posted in the midlet code after connecting to the server, the screen displays the servlet code. …

Member Avatar for nms12
0
291
Member Avatar for chdboy

Hi, I have a form in which there are 11 textboxes and two button controls(Just example) ,I want the tab key control to be in the textbox1 when the form loads ,and then If I press Tab Key from keyboard then it will be on second number textbox and so …

Member Avatar for chdboy
0
213
Member Avatar for OsaMasw

hello guys, unfortunly my website got hacked few hours ago, and after investigations I found the was a c99.php file on my server so i deleted it and stopped any upload proccess and change back my chmod to default I want to ask how to prevent php files from being …

Member Avatar for naphets
0
2K
Member Avatar for ngonix

Hi i'm having a slight issue with loading variable into another page without refreshing first page. So here's the deal. I have two windows(pages), when i click a button(agents) in the parent window a child window opens with a list of agents from mysql database. Here are the parent and …

Member Avatar for ngonix
0
3K
Member Avatar for kingkong142

Hi, I want to make this field "Hidden" and want to select by default last option "Both". ho w i can do this? <input id="memberRoleIntlSeller" value="supplier" name="userrole" style="border: 0px none ;" onclick="document.getElementById('userrole-error').style.display='none';changesubmitbtnname('yes');" type="radio" <? if($_REQUEST['userrole']=="supplier"){?>checked="checked"<? }else{echo "";} ?> /> <font class="normal"> <?=$suppliers_title?> </font></div> <div class="buyOrSellBox"> <input id="memberRoleIntlBuyer" value="buyer" onclick="document.getElementById('userrole-error').style.display='none';changesubmitbtnname('yes');" name="userrole" …

Member Avatar for kingkong142
0
162
Member Avatar for davy_yg

I am trying delete data from table, the form method is post. The url http://localhost/RustoleumCustomCMS2/administrator/input_image.php?mode=delete&id=0 (passing mode = delete and id = 0). I wonder why nothing happen. It suppose to delete a row in the database. include('../includes/koneksi.php'); $id = isset($_POST['id']) ? $_POST['id'] : ''; $judul = isset($_POST['judul']) ? $_POST['judul'] …

Member Avatar for broj1
0
166
Member Avatar for PHIPH
Member Avatar for solomon_13000

Base on my understand a mediator is a central authority that varies the interaction between objects in the same group. So can I classify the code below as a mediator? package com.mediator; public class BaseMediator { public void store(){ System.out.println("store"); } public void retrieve(){ System.out.println("retrieve"); } } package com.mediator; public …

Member Avatar for solomon_13000
0
231
Member Avatar for Galbatorix

hi, I have two sql strings being executed at the same time one of which is an update statement and the other a save statement. The save statement works but the update statement does not. Here is the error i am receiving System.NullReferenceException: Object reference not set to an instance …

Member Avatar for Galbatorix
0
161
Member Avatar for Siberian

A script I have that checks if an external HDD is connected, which has a prompt to mount the drive, with the option 'retry' and 'cancel'. If I click 'retry' it says it has found the drive, even though it's not connected, how can I fix this ?

Member Avatar for Reverend Jim
0
157
Member Avatar for James19142

I just started using Qt5 and now i'm getting an error which seems to be generated near the end of compiling saying this: cc1plus.exe: out of memory allocating 408 bytes. I compiled this same exact code in Qt 4.8.1 without any problems multiple times. I have no way of getting …

0
130
Member Avatar for monching
Member Avatar for welshly_2010

i am having problems creating multiple frames and getting them in the right place. i want to put 4 frames on my display so i can have a display like the first attachments but this its not working and the 2 frame is going straight to the middle when i …

Member Avatar for vegaseat
0
7K
Member Avatar for jhonnyboy

Hello everyone. I would like to learn how to make a multi column list box. I have set the multi column Boolean to true and set the width but i have yet to see the two columns. I only see one. I currently have a .csv file and in the …

Member Avatar for danprash
0
8K
Member Avatar for sri.

i am using php 5.4.3 I have this code: <?php $handle = printer_open(); printer_write($handle, "Text to print"); printer_close($handle); ?> when i run get below error message : Fatal error: Call to undefined function: printer_open()... What could be wrong?

Member Avatar for akgreen
0
7K
Member Avatar for kirenemook12

Hello everyone I am trying to make a app. witch uses windows that pop-up if a button is pressed. the problem is, i don't know how to make more than one window. Can anyone tell me how to do that? I am using Microsoft Visual Studio 2010 Express, in a …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for bdheeraj

hi i wrote a Gui program in python3.2. i want to convert my .py program into a windows executable file(.exe). i googled for it and found py2exe but it only supports 2.7 . is there anyway i can convert my program.

Member Avatar for vegaseat
0
5K
Member Avatar for adishardis

Hi, I have a 'persons' table, an 'answer' table and a 'token' table. The token table contains matching unique identifiers from the persons table and the answers table. In my query I want to join the persons table with the answers but I don't know how to proceed since they …

Member Avatar for adishardis
0
137
Member Avatar for Shodow

how to add the sum of them all <script type="text/javascript"> function AddGuestCALC(){ newValue = (parseInt(document.formcheck.Price.value) * parseInt(document.formcheck.Guest.value)); document.formcheck.AddGuestTOTAL.value = newValue; } function MenuChange(){ newValue = parseInt(document.formcheck.Menu.value.asInt); document.formcheck.Price.value = newValue; } function LechonCALC(){ newValue = parseInt(document.formcheck.Lechon.value) * 6500; document.formcheck.LechonTOTAL.value = newValue; } function AmmenitiesCALC(){ newValue = parseInt(document.formcheck.Total.value) + 10000; document.formcheck.Total.value = …

Member Avatar for Shodow
0
188
Member Avatar for Samyx

Hello Everyone, How can I verify if an date type field is empty? I tried: `I_MENOP_NA00_OOPH_DT_3994 eq ""` but it does not work for a partial date type field. <RuleDef OID="MENOPAUSAL_STATUS_V21RULE12" Name="OOPH Provided But Procedure Date Not Provided"> <Description>If OOPH is marked Yes, the Procedure Date should be provided.</Description> <Expression>I_MENOP_NA00_OOPH_9377 …

Member Avatar for Samyx
0
124
Member Avatar for Cameronsmith63

Hi guys, is this possible? I want to click on a picture box and test the response with a message box. Only problem is, these picture box controls only get created on runtime. public Form1() { InitializeComponent(); this.WindowState = FormWindowState.Maximized; //this.PnlViewFolders.Click += new EventHandler(pictureBox1_Click); // this.pictureBox1.Click += new EventHandler(pictureBox1_Click); }// …

Member Avatar for Cameronsmith63
0
219
Member Avatar for nevek

I have for example an objec room which has an atribute floor which is text. Let's say that `$room->floor = "hi i'm a floor"` my querry statement would be `"UPDATE room SET floor=$room->floor where id=room->id"` when I insert it with php into a mysql db it gives an error because …

Member Avatar for broj1
0
196
Member Avatar for deepak.fugo

Hi All, We have website on Shared hosting. I am a newbie. i have installed PHPUnit testing framework on the server. When i try to run a test case in command mode(phpunit --help), i am getting error as attached screenshot. Kindly help me in executing PHPUnit. Regards,

Member Avatar for ahmedhamdy
0
257
Member Avatar for MasterHacker110

I am learning javascript. I get them to work when I use them within HTML code. But I would like to make programs that i can run on my desktop with javascript without using HTML or IE. Is that posible becuase I always get an error when trying to run …

Member Avatar for AffineMesh
0
107
Member Avatar for janskey15

<?php include "dbConfig.php"; $sql_query = mysql_query("SELECT SubjectID, SubjectDesc, FROM tbl_subject"); ?> <select name="X" value="X"> <option value="Choose">Choose</option> <?php while($fetch = mysql_fetch_array($sql_query)) { ; ?> <option value="<?php $fetch['SubjectID'];?>" selected="selected"><?php echo $fetch['SubjectID']; ?></option> <?php } ?> </select> INSERT code <?php include "dbConfig.php"; $Y = $_POST["Y"]; $query="INSERT into tbl_subjectsenrolled(SubjectID) values('".mysql_real_escape_string($Y)."')"; ?> But I cannot …

Member Avatar for janskey15
0
230
Member Avatar for asaidi

HI i have a form that contains checkboxes i put a variable as array and i test the values in this array switch($pulse) { case $pulse[0]==1 && $pulse[1]==2: include('onetwonet.php'); twonet($date,$date2,$report,$netw,$auto,$pulse,$client); break; case $pulse[0]==1 && $pulse[1]==3 : include('onethreenet.php'); threenet($date,$date2,$report,$netw,$auto,$pulse,$client); break; case $pulse[0]==1 && $pulse[1]==4: include('onefournet.php'); fournet($date,$date2,$report,$netw,$auto,$pulse,$client); break; case $pulse[0]==2 && $pulse[1]==3: …

Member Avatar for asaidi
0
103
Member Avatar for dados

I need function to serving different data depend on browser type, mobile or desktop.. I need something like this <?php if browser_resolution_small { // one type of data } else { // another type of data for big resolution } ?> so I need to pull different data but I …

Member Avatar for IIM
0
897
Member Avatar for triumphost

I have a class called Control. All other "controls" inherit from this class. Some controls need a default constructor so that I can assign or construct them later. The classes look like: class Control { private: //All Members Here.. void Swap(Control &C); public: Control(DWORD dwExStyle, std::string Class, std::string Title, ....); …

Member Avatar for triumphost
0
845
Member Avatar for mc3330418

I need to read this into a arrays. 123455 45 67 87 69 98 3456787 67 98 34 54 67 456778 87 76 89 76 34 344568 65 78 76 45 98 56789 98 76 45 34 54 Here is the code I have void getGrades(double exam[], int studentId[]) { …

Member Avatar for rubberman
0
1K
Member Avatar for jonsan32

With the checklist script below, how do I make the letters dim to gray while making the strikethrough a bright red? I know it has something to do with placing one class that holds the text within another that holds the strikethrough and the text, but I just can't get …

Member Avatar for jonsan32
0
452
Member Avatar for Wnt2bsleepin

I am having a hard time applying Little's Law to two subsystems. A system is comprised of 100 smaller systems. 50 of these have a customer arrival rate of 10 per second and a expected delay time of 5 seconds. The other 50 have a customer arrival rate of 20 …

Member Avatar for rubberman
0
342
Member Avatar for chdboy

This code creates XML File Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim connetionString As String Dim connection As SqlConnection Dim adapter As SqlDataAdapter Dim ds As New DataSet Dim sql As String connetionString = "Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\Danial\documents\visual studio 2010\Projects\ESI_PF_Payroll_V1\ESI_PF_Payroll_V1\Pay.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True" connection = New …

Member Avatar for chdboy
0
250
Member Avatar for somjit{}

i have to create a queue where the dequeue operations will be random. that is , a random location will be chosen, and deleted after returning the data stored at that location. i was going through the two underlying datastructures that im allowed to use **:** linked list , and …

Member Avatar for somjit{}
0
2K
Member Avatar for Shodow

whenever i click on a radio button the value that comes out is NaN how to make it an integer function MenuChange(){ newValue = parseInt(document.formcheck.Menu.value.asInt); document.formcheck.Price.value = newValue; } <tr> <th>Menu </th><td>270/Head <input type="radio" name="Menu" onChange="MenuChange()" value='270'></td> <td> </td> <td>300/Head <input type="radio" name="Menu" onChange="MenuChange()" value='300'></td><td> </td> </tr>

Member Avatar for Shodow
0
2K
Member Avatar for anurag2013

Please visit http://www.cuteework.com/members.php Login button not work. here is members.php file details. <?php session_start(); session_register("id_session"); session_register("password_session"); include "header.php"; include "config.php"; $a=""; $b=""; if ($_POST) { $a=trim($_POST["id"]); $b=trim($_POST["password"]); $a=str_replace("'","",$a); $b=str_replace("'","",$b); $a=str_replace("\"","",$a); $b=str_replace("\"","",$b); } if ($a=="" || $b=="") { if ($_SESSION["id_session"]=="" || $_SESSION["password_session"]=="") { ?> <form action=members.php method=post> <br><br><Center><table><tr><td colspan=2 align=center><h3>Members Login …

Member Avatar for anurag2013
0
255
Member Avatar for nova37

i added libmysql.dll as resource to my project ID_LIBMYSQL RT_RCDATA "LIBMYSQL.DLL" Image view :: http://s18.postimage.org/bcpf2s9jt/Untitled.png now when i try to find it using findresource function , i get error code : 1812 mean resource not found HMODULE hMod = GetModuleHandle(_T("libmysql.dll")); HRSRC hRes = FindResource (NULL, "ID_LIBMYSQL", RT_RCDATA); // RT_RCDATA application …

Member Avatar for nova37
0
338
Member Avatar for ganges

hi recently i have installed oracle 11g and i try to work through oracle enterprise manager browser to start up the local host there i found "Host Credentials" i have not set any user name and password for my os while installing i am using windows 7 what will be …

Member Avatar for naphets
0
185
Member Avatar for janskey15

This is my SQL statement.. SQL Statement: SELECT tbl_subjectsenrolled.SubjectID, tbl_subject.SubjectDesc, studentsubjectgrade.Finals FROM tbl_subject INNER JOIN tbl_subjectsenrolled ON tbl_subject.SubjectID=tbl_subjectsenrolled.SubjectID INNER JOIN studentsubjectgrade ON tbl_subjectsenrolled.SubjectID=studentsubjectgrade.subjectID WHERE studentsubjectgrade.StudentID='04-0044' But the OUTPUT is this: SubjectID1 SubjectDesc1 Finals1 SubjectID1 SubjectDesc1 Finals1 SubjectID2 SubjectDesc2 Finals2 SubjectID2 SubjectDesc2 Finals2 Instead of this: SubjectID1 SubjectDesc1 Finals1 SubjectID2 SubjectDesc2 …

Member Avatar for janskey15
0
120
Member Avatar for anisha.silva

Hi, I am getting a xml object from as a web response for getting data from a web page the content is as : " <bookshare>\n <version>4.1.1</version>\n <messages/>\n <book>\n <metadata>\n <author>David Flanagan</author>\n <available-to-download>0</available-to-download>\n <bookshare-id>21385</bookshare-id>\n <brief-synopsis>The 1.4 release of Java 2 Standard edition brings a load of new features - and …

Member Avatar for anisha.silva
0
335
Member Avatar for l.worboyz

I am making an ABACUS MODEL program which adds counters to pegs. The program compiles fine but when i use the test that was issued to me (as pictured) it appears as though my program does not work as intended. I don't know if anyone will be able to help …

Member Avatar for bguild
0
221
Member Avatar for Trle94

Hello there, i know there is alot questions about this and source but i could not manage to get it working since im trying to make it using only one letter example F1 or F5 as hotkey to work on non focused form, but im also in need to get …

Member Avatar for Trle94
0
119
Member Avatar for Sahil89

Hi, I am working on a web project and using Details View to insert new records. The problem is when I click cancel and then try to refresh page it shows dialog box saying >To display this page, Firefox must send information that will repeat any action (such as a …

Member Avatar for LastMitch
0
683
Member Avatar for ayesha789

Hi, I have developed a website using Fireworks + Dreamweaver and website is for 1024X768 pixels. Now I want , it detects the browser and resolution of the user and if user resolution is 800X600 it shows a web page of 800X600 . i have developed in both resolutions. please …

Member Avatar for dados
0
8K
Member Avatar for Papa_Don

Group, I may have messed up bad. I need help. I was having trouble loading a database I had created with data. So I downloaded SQL Server 2008 Express that included the management tools. I tried to find and open the created database and never could find it using the …

Member Avatar for Papa_Don
0
244
Member Avatar for davy_yg

This time, I am trying to retrieve data: input_berita_static.php <?php include('../includes/koneksi.php'); $id = isset($_POST['id']) ? $_POST['id'] : ''; $confirmation = isset($_POST['confirmation']) ? $_POST['confirmation'] : ''; $kategori = isset($_POST['kategori']) ? $_POST['kategori'] : ''; $news = isset($_POST['news']) ? $_POST['news'] : ''; $judul = isset($_POST['judul']) ? $_POST['judul'] : ''; $page = isset($_POST['page']) ? …

Member Avatar for broj1
0
177
Member Avatar for Albert Pinto

Hi People, Got some jquery issue. I'm validating a Contact form. All fields are working fine except <textarea> I mean I wanna make all fields mandatory including textarea... --------------------------------------------------------- HTML CODE --------------------------------------------------------- <div class="formbox"> <form id="contact_form" action="#" method="post"> <span class="error" id="name_error">Please Enter Name !</span> <span class="error" id="email_error">Please Enter Email address …

Member Avatar for pixelsoul
0
11K
Member Avatar for TonyG_cyprus

Hi guys' I'm having trouble with this code <?php $link=sqlite_open('data/3001.sqlite ',0666,$sqliteerror); $comp=sqlite_query($link,"SELECT * FROM assets WHERE asset='chest'"); while($ent=sqlite_fetch_array($comp)){ $item=$ent['content']; $asset= "array(".$item.")"; echo $asset; } $saved=array('food','knife'); $left=array_diff($asset,$saved); echo $left; ?> the echo $asset line displays "array(array(food,knife,scarf,torch,key)" but I get an error Warning: array_diff() [function.array-diff]: Argument #1 is not an array in …

Member Avatar for pixelsoul
0
141
Member Avatar for spluskhan

suppose i have 10 products in my database Example: iphone 2 - iphone 3g - laptop i3 - laptop i7 - nokia n96 etc when i enter iphone in my search i see all records stored in database thats my prob! what i want ? suppose if i enter laptop …

Member Avatar for spluskhan
0
346

The End.