405 Topics

Member Avatar for
Member Avatar for fcvolunteer

I'm working on a dynamic form where based on a visitor's selection of radio buttons certain <div> text and additional fields are shown or hidden. I would like to make some of these additional fields required but only if they are visible. Problem is: I can read php more than …

Member Avatar for fcvolunteer
0
1K
Member Avatar for adeyombo

I integrated my website to an e-payment platform, and after processing the payment, it redirects to a page with a dynamic url that is like this: http://www.abcdef.com/paymentsuccess.php?TransactionReference=2012101020201015T&OrderID=61373444. and i have a page created as paymentsuccess.php. The question is this: what code snippet can I put inside this paymentsuccess.php to make …

Member Avatar for Bachu
0
202
Member Avatar for david.f.smith.351

Hi, Ive already started a thread similar to this but for a different form format. this one is as follows... Im struggling with the correct code to do the following... probably something simple to many but im new to PHP and learning as I go. I have a simple php …

Member Avatar for adam.adamski.96155
0
474
Member Avatar for genegavino

Can anyone please help me with this one? i have successfully save data in my form but i can only do it in a single row.. please help me how to add rows automatically, how to auto number the Item No., how to auto-total the Quantity column and the Unit …

Member Avatar for diafol
0
2K
Member Avatar for jamesmadison43

import java.util.Arrays; import java.util.List; import java.util.Random; class DynamicArrayOfInts { private int[] storage; private int size; private final int INITIAL_CAPACITY = 8; private final int GROW_FACTOR = 2; public DynamicArrayOfInts() { storage = new int[INITIAL_CAPACITY]; size = 0; } private void rangeCheck(int index){ } private void ensureCapacity(int size_wanted) { int max_capacity …

Member Avatar for Taywin
0
176
Member Avatar for demingd

im writing a program that creates a dynamic array then input numbers(not exceeding 100). i used *new int* to create the array. im running into the problem that it only allows 21 numbers to be entered, then does sort,mean. could anyone explain where im going wrong setting up the array …

Member Avatar for WaltP
0
227
Member Avatar for weeraa

This my code in button click event. I want to add dynamic text boxes. It is focused to line no 7 and show "Object reference not set to an instance of an object." Dim txtBx() As TextBox Static x As Integer Static i As Integer x = x + 20 …

Member Avatar for Reverend Jim
0
266
Member Avatar for pkfx

Im trying to increase a dynamic array by 1 element and assign a integer variable to it but recieve a heap overload error. Any advice would be appreciated. void CardSet::AddCard(int cardNum) { int* tmp; nCards++; tmp = new int[nCards]; for(int i = 0; i < (nCards - 1); i++) { …

Member Avatar for Ancient Dragon
0
181
Member Avatar for melanushka

I'm trying to create dynamically text box in WPF. It is very essential that I will have the flexibility to determine where the text box will be - in pixel level. I have found many answers which use stackpanel to create "run-time" text box - but couldn't find how to …

Member Avatar for nmaillet
0
2K
Member Avatar for jckb188

Hello! I am trying to figure out how to dynamically generate div ids, and then use onclick in correspondence with an image to pull up the correct div. I have been stumbling on this for two weeks and don't know where to turn at this point. Below is the current …

Member Avatar for Taywin
0
394
Member Avatar for charles.haselden.3

I am trying to build a tic tac toe program for an assignment. My trouble is making a dynamic array, I am new to c and my understanding of pointers and malloc is still very limited. I would like a resource I could read or an explination of how malloc …

Member Avatar for deceptikon
0
261
Member Avatar for ratanji

dude anyone knw how to create to assign height and width dynamically in web page for images? like this site http://muslider.musings.it/

Member Avatar for Traevel
0
111
Member Avatar for krupanand

Can any one help me in generating a webpage using php which should contain a form in a table of 4 columns and more than 50 rows with textboxes.. The data in the first 2 columns has to be retrieved from the database based on the attributes selected in the …

Member Avatar for krupanand
0
176
Member Avatar for blakehouston

Does dynamic keyword insertion on ads and landing pages guarantees high quality score? How can it generate positive effects on conversions?

Member Avatar for PrimeOutsourcin
0
223
Member Avatar for phpHelp

I need to fetch questions with 4 optional answers from dtabase.... tables are questions | options...html code is below... <table width="536" height="54"> <tr> <td class="deco">Q<?php echo $index.") ".$questions; ?> </td> <td width="15"></td> </tr> <?php while($row_wrong_ans = mysql_fetch_array($res_wrong_ans)){ $op_index = $row_wrong_ans['fbo_index']; $op = $row_wrong_ans['fbo_ans']; ?> <tr> <td width="473"><input type="radio" name="radio[<?php $index;?>]" …

Member Avatar for phpHelp
0
2K
Member Avatar for rahul.ch

class Dog { public void bark() { System.out.println("Dog bark"); } } class Hound extends Dog { public void bark() { System.out.println("Hound bark"); } public void sniff() { System.out.println("Hound sniff"); } } public class CastingMethodCall { public static void main(String r[]) { ((Dog)new Hound()).bark(); //((Dog)new Hound()).sniff(); } } On executing above, …

Member Avatar for JamesCherrill
0
257
Member Avatar for bunnyboy

How can I cast a base class to a derived on at runtime. What I am trying to do is the following: I need a system which will hold the subscriptions, where a certain type of message, has an assigned Subscriber. When a message is received, it will bi forwarded …

Member Avatar for bunnyboy
0
234
Member Avatar for jameswj83

I am having trouble with this assignment, especially the input file and how to get the data into an array: You will design a set of classes for storing student information, along with a main program that will read student information from a file, store the data, compute final grades, …

0
246
Member Avatar for vasvigupt

is it possible?? $a= 5; $b =10; $c= "+" $d= $a.$b.$c; How can I do dynamic calculation like this. I know this code will not work. But Just want to use opereater directly input through form. How can I prevent opreater to converting into string.

Member Avatar for diafol
0
1K
Member Avatar for grh1107

currently I'm rewriting old euler solutions into classes so i can store them in a library. I wrote a program that digitizes a number so it can check to see if it a pallindrome, The base class digitize dynamically allocates memory for the size of a number and stores each …

Member Avatar for mike_2000_17
0
247
Member Avatar for DAZL

Hey Guys, I'm struggeling with an idea of mine and hope there's someone here who can help me. **My idea:** A small gallery package, consisting of as few files as possible (html, css, javascript) that can read the /images folder in the same folder, and output those files to the …

Member Avatar for DAZL
1
249
Member Avatar for rakwel10

I have included "header.php" on my pages to fix redundancy. In header.php you'll find the navigation, style sheets and scripts. The problem is, I cannot use header.php dynamically on different pages because it has a static links. Pls help me. im a newbie here. Thanks in advanced!

Member Avatar for diafol
0
162
Member Avatar for Aparna9019

I need to add dynamic timestamp with the attachment file test.dat as (test_currentDateTime.dat) sample code which I need to modify: <node name="testEmail" type="emailoutput" subject="this is a test mail with an attachment" xsl="&XSLPATH;test.xsl" outputType="text/plain" > <attachment type="text/plain" name="test.dat"/> </node> How can this be done in the attachment tag that is inside …

Member Avatar for Mike Askew
0
1K
Member Avatar for Patiodude

I recently converted all my website's files to .php, including my index.html and 404 page. Everything worked fine until I clicked a dead link, and no 404 page came up. Naturally, I figured I forgot to update the .htaccess file. After doing so and re-uploading it, every page on my …

Member Avatar for |-|x
0
246
Member Avatar for |-|x

Hi All I'm looking for ideas or suggestions about how to implement this feature. The concept is I have 2 dropdown select boxes, with data that is not directly related (in the sense that there is no identifiers or foreign keys or anything within the data itself) but that have …

0
100
Member Avatar for Lord_Migit

Hi there. I am having some trouble trying to figure out how to delete a pointer that is held in a vector. int main() { vector<Test*> iVector1; vector<Test*> iVector2; vector<Test*>* pVec1(&iVector1); vector<Test*>* pVec2(&iVector2); pVec1->push_back(new Test(11)); pVec1->push_back(new Test(12)); pVec2->push_back(new Test(23)); pVec2->push_back(new Test(24)); //delete iVector1.at(0); delete iVector1[0]; iVector1.at(0) = new Test(21); pVec1->at(1) …

Member Avatar for Lord_Migit
0
248
Member Avatar for ramganesht

Below is the code in which I am creating the list of URL s with the information of hotels in a city, the problem is when click on the URL no values are being displayed. please let me know how should i modify the code. <?php include ('connectdb.php'); $query = …

Member Avatar for |-|x
0
223
Member Avatar for ramganesht

Hi there, I am facing problem in coding PHP for my search results, my search results produce dynamic URLs (clickable texts) but when i click on the url's no results. In my website am trying to display all hotels in a city, and Iam searching with the hotel name and …

Member Avatar for ramganesht
0
189
Member Avatar for Reverend Jim

This code demonstrates how to add controls to a form at run time. The number of rows and columns, the spacing between the controls and the size of the controls are all determined by Consts, but this could easily be changed so that the parameters are user entered. My example …

3
652
Member Avatar for MysticalNomad

My project requires that I have several arrays defined in javascript such as: var d1 = new Array(2,17,18,19,20); var d2 = new Array(2,18,19,20); var d3 = new Array(2,18,21,19,20); var d4 = new Array(2); var d5 = new Array(2,18,19,20); var d6 = new Array(2,18,21,19,20); etc I have a `<select>` element which …

Member Avatar for Troy III
0
192

The End.