199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Keyra Lee

hi guys...i need help from u guys..my prob is about select option..i'm not good in english. hopefully u guys would understand my english..:(..please help me..:'(..im still new in php.. i want to select a state then a branch will auto will appear if related..i only want if one state is …

Member Avatar for urtrivedi
0
1K
Member Avatar for scarcella

Hi guys, so I need to know how to add Products programtically without getting this error. Fatal error: Call to a member function getPosition() on a non-object in \app\code\core\Mage\Bundle\Model\Product\Type.php on line 854 This is my code: class TCK_Forty_CartController extends Mage_Core_Controller_Front_Action { public function addAction() { $prdId = $this->getRequest()->getParam('product'); $cart = …

Member Avatar for veedeoo
0
463
Member Avatar for davy_yg

Hello, I am trying to find a way to push the admin footer down. How? admin/access.php <button type="button" onClick="parent.location='edit_teacher_access.php'">Add Teacher</button><br><br> <h3>Teacher Access:</h3><br> <table id="admintable" border="1" cellpadding="2" cellspacing="0" width="700px"> <tr> <th>Name</th><th>Username</th><th>Password</th><th>Access Level</th> </tr> <?php $i=0; while ($data = mysql_fetch_array($result)){ $result2=($i%2)?'#DFA09D':'white'; //echo "<tr bgcolor='$result2'>"; //echo '<td>'.$data['page'].'</td>'; //echo "<td><a href='post.php?post_id=".$data['post_ID']."'><img src='../images/post.jpg'></a></td>"; //echo '</tr>'; …

Member Avatar for veedeoo
0
190
Member Avatar for swathys

Hi, am not a experianced coder, would like to seek for help. i would like to create a session logout. a pop out appear which able to count 60 sec " Warning your eMyHome session will expire in 60 seconds. Do you wish to continue?" with button continue & logout. …

Member Avatar for swathys
0
320
Member Avatar for nadiam

for example: function Show(modal) { $(".box).show(); } so maybe use `<body onload="Show()">` is there any other way?

Member Avatar for niranga
0
179
Member Avatar for kanaly.john

Write a program in c/c++ that add two numbers which are between 3000000 and 5000000. the result should be shown as "number 1 + number 2 = result

Member Avatar for Sam_6
0
121
Member Avatar for ravi142

Hello In Form when I Select **"Yes"** in Radio button then **Textbox** Show with **validation**.(Submit button) When Click on **"No"** then submit form without validation. Here my code <form> <input type="radio" name="gender" value="yes" >yes <input type="radio" name="gender" value="no" checked="checked">No<br/><br/> <div id="disp_not"> Company<input type="text" name="company" value="" id="company" /><br/><br/> </div> <input type="submit" …

Member Avatar for hericles
0
276
Member Avatar for Dani

Strictly from a performance standpoint, what are the differences between remove(), hide() and detach()? If I want to permanently make an element go away on the page, is remove() or hide() even marginally faster than the other?

Member Avatar for Dani
0
218
Member Avatar for davy_yg

Hello, I would like to edit a form which I already store the real value for the combo box. Then during editing session, it start reseting the combo box to the top list. studentinfo.php //Load Student Profile if (!empty($_GET['student_id'])){ $result = mysql_query("SELECT * FROM student WHERE student_id =".$_GET['student_id']) or die(mysql_error()); …

Member Avatar for almostbob
0
263
Member Avatar for myk45

Hi All, 1)It's easy to create a window in QT that the user can resize, but when they make the window bigger, all the contents stay where they were in the top left hand corner. They don't grow with the window. 2)Also when the window is launched the size of …

Member Avatar for myk45
0
5K
Member Avatar for sam289312

i have a question regarding a program I am making. please can anyone guide me? i want to add text of two buttons. is that possible?

Member Avatar for JorgeM
0
89
Member Avatar for fedaa91

hello , i have this problem i cant figure if it from the gloable resources or in the event itself, so i am using 2 languages in my website's pages, one language which is not the defualt is working very well ,but the english language mode it isnt , so …

Member Avatar for fedaa91
0
238
Member Avatar for Jjajangmyeon

OK - I'm stumped I'm filling a 2D arraywith inputs, then when it hits the first function - for some reason the very first value in the array is being changed to -5 If I comment the function out, it's fine - it gets passes and passed back with no …

Member Avatar for Jjajangmyeon
0
247
Member Avatar for henryz_box

I have a button with action listener. When action is performed I call a method to show a label with my message using: Actionperformed(){ ShowMessage(); PerformAction(); } NOTE: This code is just an example. The problem is the message never shows even though the action is performed. Any help will …

Member Avatar for henryz_box
0
343
Member Avatar for PinoyDev

Good day! I just want a little help on how to add the textbox data onto the datagrid when a button is click? I have 3 textboxes(txtname,txtaddr,txtcontactno) and a datagrid with 3 columns(Name, Address, Contact #). When a button is clicked, the data of the 3 textbox shouls be transferred …

Member Avatar for Hamza Saleem
0
320
Member Avatar for Clif40RD

I'm Having a problem with trying to figure out how to get my program to switch from one tab to another after a specific "Jbutton" is clicked. As displayed Below.

Member Avatar for llaspina
0
512
Member Avatar for mcroni

#i use python 3xx from tkinter import * from tkinter import ttk # i couldnt install PIL on my computer so I used Pillow. Hope you dont run into any problems import datetime import pickle ## init the variables here since i dont use objects in your code name = …

Member Avatar for mcroni
0
724
Member Avatar for cambalinho

i'm buiding an image class, but i need some information... the C\C++ teach how read binary\text files... but not how the files are build like JPEG, PNG, GIF and others :( i can't find a page for give me the file struture and when i found it, i only see …

Member Avatar for mike_2000_17
0
559
Member Avatar for jthomas

I am trying to send data from a UITableView into any type of database. I have 2 questions. 1: What type of database should I use (ex. MySQL, access)? 2: How will I transfer the database from a table view to the type of database I should use? PS: Please …

Member Avatar for bpp_distributor
0
481
Member Avatar for secretply

I need help in resolving a memory leak found using JavaScript. What the program does is auto scroll the videos and when it reaches the center (supposed to be a grid but for the purposes of this problem, it is not visibily shown but can be noticed immediately) or scrolls …

Member Avatar for secretply
0
426
Member Avatar for Ghost0s

please i intend to learn and study CS by my-self my goal is to be able to do reverse-engeneering,bug analysis and pentesting but i think that coding only doesnt gonna lead me anywhere so i wanna know whats the knowledges should i learn beside programming languages ?? thnx in advance

Member Avatar for Ghost0s
0
234
Member Avatar for asardeen

I am exporting data from excel and show it in gridview and when I click submit, it needs to be updated in existing table. Below is my excel data S.No. RequestID Subdivision No Parcel No CUID Status Remarks 1 5 42 55 55 Open Pending I have successfully exported and …

Member Avatar for JOSheaIV
0
339
Member Avatar for siddiquedu

This the following code for member_account.php in the member_profile.php there is a link for member_account.php, after I login then i can see all information and in the headbar it shows username,account logout home link. but whenever i click to account I can see only logout and home link (i made …

Member Avatar for siddiquedu
0
224
Member Avatar for abaddon2031

SO i have a python code that collects xml data in a file then seraches the file for the scancode and once it finds that the scan code is there it starts scanning for the order number this is where im running into trouble at. What i want it to …

Member Avatar for sneekula
0
478
Member Avatar for surferbloggy

Hi ,i have a contact form made with xib file it works but i can't change the background color of the view programmatically i tryed with this but nothing, i know how to put an image background but i need to change the color on the fly how can i …

Member Avatar for surferbloggy
0
1K
Member Avatar for berrykid

Hi all, i am hoping i will be able to get some quick help here. Ok i am basically building a web application where the user will be able to add,update,delete and edit fields in a database. So far i am on the Update part. I have a page called …

Member Avatar for dipalinigade
0
3K
Member Avatar for Joemeister

I have troubles trying to display a list of items/objects in a array. What I'm doing is I'm adding students with a name, surname, age, and marks for subjects (Properties) to an array. If I added 4 students in this manner to the list I want to display all the …

Member Avatar for Joemeister
0
294
Member Avatar for terryds

This is my query : CREATE TABLE userrole ( userid BIGINT NOT NULL, roleid INT NOT NULL, PRIMARY KEY(userid,roleid), CONSTRAINT fk_userid FOREIGN KEY (userid) REFERENCES user(user_id) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT fk_roleid FOREIGN KEY (roleid) REFERENCES role(role_id) ON DELETE CASCADE ON UPDATE CASCADE ) So, what i want …

Member Avatar for cereal
0
269
Member Avatar for centenond

hi, im just moving all my website that i created from localhost with xampp, i created links like http://website.com/folder/ and when i was working in localhost it worked, it get the index from that folder, but now i pas it to my website and wont work like that, is only …

Member Avatar for centenond
0
248
Member Avatar for annain

Hi, I want to develop RFID access system. I create a user database using Microsoft Access.When system and connection are ready, user will swap the card on the RFID reader and the card id will show on retrieve data column. The card id will use to compare with the data …

Member Avatar for Qing _1
0
2K
Member Avatar for 2384443

Hi, evry1.. i need yur help.. i want to place an image as my background.. how am i supposed to do it..?? i have tried this `setBackground("C:\\image\\background.jpg");`i also tired this `Icon m1 = new ImageIcon("C:\\New folder (5)\\background.jpg");lb1.setIcon(m1);` But none of this is working.. what shuld i do???

Member Avatar for raj.mscking
0
395
Member Avatar for Patrick_3

Hello everyone, I am attempting to make a custom control similar to a tooltip however I am not sure exactly how to produce the effect I desire. My goal is to have a popup, which is shown when the mouse hovers over a control, that contains some message and is …

Member Avatar for docfnt
0
810
Member Avatar for itexamstube

i want to develop my website so i want to know what programming language is the best PHP or VB.NET?

Member Avatar for rubberman
0
487
Member Avatar for lewashby

I'm reading a book on C and it's telling me how to use gcc and about the -c option/flag. It reads "-c Compiles to an object (.o) file instead of an executable. This is important for creating library files." What is an object file and how is this good for …

Member Avatar for rubberman
0
144
Member Avatar for Acurapassion

Hey guys, so, I'm creating a control panel for my site where I can edit user's priveledges etc. What I'm trying to do is populate a drop down list of usernames in the database to select from. This is what I've got so far (it's one continuous chunk so I …

Member Avatar for Acurapassion
0
255
Member Avatar for radostin.angelov.370

I have a table with highschools in different cities. I want to give the user the option to choose a certain city and view the schools there, or view all schools. This is my original query: SELECT * FROM highschools WHERE city = '$givenCity' I need to compare 'city' to …

Member Avatar for hericles
0
200
Member Avatar for Roisin

Hi, I am working on an assignment in c# where I have to maintain student scores...there is a few questions up here already about it but I am still having problems. I need to create a program that allows the user to enter student names and scores... I gather I …

Member Avatar for JOSheaIV
0
558
Member Avatar for ogsirus

I found a bit of code which im unsure about in this poorly documented project im on. To be honest I havent got a clue what is going here. public void TestMethod(ISystemScriptingInterface system, ScriptEventArgs eventArgs) { var databaseScriptingInterface = system.GetInterface("database") as IDatabaseScriptingInterface; if (databaseScriptingInterface == null) { throw system.GetException(LocalisedSystemText.InternalServerError(), "Database …

Member Avatar for deceptikon
0
235
Member Avatar for Wiizl

I'm imitating progressbar value change like: [CODE]private void playAnimation() { for(int i=1;i<=100;i++) { this.progressBar1.Value = i; System.Threading.Thread.Sleep(20); percent = i; } }[/CODE] At the same time I try to run another thread, to update label text like "...% completed". Of course I couldn't change text of label that was created …

Member Avatar for Matthew.diggide.speakman
0
7K
Member Avatar for castajiz_2

I ve made an windows phone app in c# and now I m making equal android app. I ve come to the problem where I have to compare some times. In c# there is a well known TimeSpan class but I see that java(Android) does not have such class. Could …

Member Avatar for castajiz_2
0
854
Member Avatar for Chibuike_1

SGFPMANSITemplateInfo temp_info = new SGFPMANSITemplateInfo(); err = m_FPM.GetAnsiTemplateInfo(m_RegMin1, temp_info); Please how do i convert temp_info, which is of type SGFPMANSITemplateInfo to String or integer.

Member Avatar for PoorRogue
0
157
Member Avatar for saadi06

Hi, I have a query that has a condition that count persons whose blood pressure, weight and height are calculated whose age is greater than 3. I have made this query and this query is working fine but there is a condition that if the age is greater then 2 …

Member Avatar for Taywin
0
184
Member Avatar for malatamil

i want to display last 3 months of data. but this query is not working. it showing empty results. please some one help me. $sql8 = mysql_query("SELECT `orderlist_id`, `brandname`, `packsize`, `quantity`, `mrp`, `ourRate`, `Sum`,user_id,userName,date FROM `orderlist` WHERE `user_id`='$userid' AND `userName`='$usern' AND date=DATE(NOW()) - INTERVAL 3 MONTH"); $i=0; while($row8 = mysql_fetch_array($sql8)) …

Member Avatar for Taywin
0
264
Member Avatar for ShadyTyrant

I know this is kind of a noob question but I have been given a project where I am not allowed to use scaffolding. I didnt auto generate this code but the form is being auto generated by this code. <div class="row"> @Html.LabelFor(model => model.FirstName, "First Name") @Html.TextBoxFor(model => model.FirstName) …

Member Avatar for PoorRogue
0
118
Member Avatar for sushmaja.arumalla.9

Disabled or ReadOnly input field shows Stop symbol when mouse overs on it.How to get out of this problem.The look doesn't satisfied. Please help me how to show only cursor symbol when mouse overs on any disabled or read only input fields.

Member Avatar for almostbob
0
271
Member Avatar for hanspeare_1

Hello Daniweb,, I have uploaded an image using the student_id as its filename. The student id is auto-incremented and unique per student_id. Now i am confused why it gives me problem to display it. I have tried. <?php print '<img src="uploads/'.$session_id.'" />' ?> <?php print '<img src="uploads/'.$session_id.".".$ext'" />' ?> <?php …

Member Avatar for hanspeare_1
0
4K
Member Avatar for rjusman90

I HAVE ONE FORM IN THIS I AM INSERTING AND UPDATIONG BOTH, I WANT TO RETAIN the value of combox box when php validations occurs <td>Page Id</td> <td><select name='pageID' class="select"> <option value='0' >select any page</option> <?php $sql10 = "SELECT ID,Title FROM page"; $val=$PageId?:''; $rs = mysql_query($sql10) or die(mysql_error()); while($row = …

Member Avatar for Webville312
0
229
Member Avatar for Satyam_1

I have vb.net application with MS access database. I use following code to autocomplete textbox from database. the problem is that, although its working but more frequently it gives an error "AccessViolationException was unhandled----Attempted to read or write protected memory. This is often an indication that other memory is corrupt." …

Member Avatar for Satyam_1
0
1K
Member Avatar for nathan rashid

hi!!.. my name is nathan i am trying to davelop voice to text java application i am required to use javax.speech package and i cant find it on my java packages. if any body knows where i can dowmload it please help!!

Member Avatar for raj.mscking
0
1K
Member Avatar for missy_mi

hi everyone, i recently, upload my flash website..it works fine on laptops n pc..but, when i go to view on iphone, windows phone or samsung phone..the result is, i get a blank white page..what can i do about it??can someone help me..apreciate ur kind advise..thanks in advance..

Member Avatar for missy_mi
0
135

The End.