405 Topics

Member Avatar for
Member Avatar for coder91

I have a gridview that is created dynamically in the back end of the code. The gridview is populated depending on the data entered into the form. When the submit button is selected the gridview is populated with the results, however when the user fills the form in the second …

Member Avatar for coder91
0
559
Member Avatar for Simon_4

I have the follow problem/issue. Would like to have it a bit nicer: The vars $gender, $shoe_size, $clothing_size and $growth are an array(?). And I like to have, instead each line with $gender[0] something dynamic... My problem I have, how I do it exactly, that I get each line as …

Member Avatar for Simon_4
0
1K
Member Avatar for panjiasmara

I was asked this question month's ago to stackoverflow.com. is anyone here can solve this one ? I have a fixed element ( for logo , slogan , ect ) and a dynamic table . i give the distance it with <body style="padding-top: 25mm;"> but only the first page that …

Member Avatar for panjiasmara
0
183
Member Avatar for malatamil

upload.php <form name="selectionForm" method="POST" action='query.php'> echo "<select name='$q2['type']'>"; //echo "<select name='selecttype'>"; echo "<option value='Regular Project'>Regular Project</option>"; echo "<option value='FSA Project'>FSA Project</option>"; echo "</select></td>"; echo "<input type='hidden' name='mid' value='$q2[0]'>"; echo "<td width='140'><textarea rows='2' name='comments[]' cols='20' ></textarea></td>\n"; echo "</tr>\n"; </form> query.php $selecttype = $_POST['selecttype']; instead of calling 'selecttype' i want to call …

Member Avatar for diafol
0
246
Member Avatar for sabariN13

I am new to java. I am doing small project on Jsp and servlet.backend database is MySQL.I am just trying dynamic charts using Jqplot with Jsp and Servlet. I searched in many sites. I couldn't get the correct solution.Anyone please guide me how to do dynamic charts in Jsp and …

Member Avatar for stultuske
0
136
Member Avatar for socialmd

This is the report.php view [CODE] if(isset($_POST["addReport"])) { $report = new Report(); $report->employee_id = $_POST["employee_id"]; $report->date = $_POST["date"]; $report->job_id = $_POST["job_id"]; $report->description = $_POST["description"]; $report->attachment = file_get_contents($_FILES['attachment']['tmp_name']); for($i = 0; $i < count($_POST['date_range']); $i++) { $report->request_date[$i] = $_POST["request_date"]; } for($i = 0; $i < count($_POST['date_range']); $i++) { $report->quantity[$i] = $_POST["quantity"]; …

Member Avatar for Ashvin_1
0
5K
Member Avatar for epicrevolt

Title should be load ajax inside ajax because facebook comments load via ajax I am building an all AJAX site for a Facebook iFrame page and am having an issue. All the pages and what not load up dynamically just fine, but some pages use the Facebook commet system. After …

Member Avatar for stevenson.nelli
0
325
Member Avatar for Builder_1

kindly someone to tell me one advantage of a stack backed by a dynamic array over a stack backed by a linked list and one advantage of a stack backed by a linked list over a stack backed by a dynamic array...

Member Avatar for iamthwee
0
159
Member Avatar for FireNet

File I/O With C++ Fstream **Intro** File handling is as simple as writing in a book, much easier to modify and find. It's so simple people get confused with it :-). Welcome to the world of file handling. We will use the c++ fstream classes to do our file handling. …

Member Avatar for Swalih
5
11K
Member Avatar for veedeoo

The purpose of this class is to be able to create an html form with ease. This is inspired by the form helper in CodeIgniter. This can easily adapt to bootstrap or any css and jquery where id is required. To use this class, we need to include the class …

Member Avatar for veedeoo
3
754
Member Avatar for borchu

Hi, I am trying to find 2nd largest number that given input of numbers. The question is actually consider that you enter 5 number : 60, 70, 30, 40, 55 randomly -the order does not matter- my function should find 2nd largest number and return it. I am trying but …

Member Avatar for Magnificant
0
3K
Member Avatar for pratz

Hello, I have few question regarding importing modules. I have created a folder for my python work [quote]/usr/home/pratz/pyfiles[/quote] I have exported this to set the $PATH. And now if I issue the command [code]echo $PATH [/code] I am getting the string the "/usr/home/pratz/pyfiles" in the list. If I am not …

Member Avatar for Amigodornot666
0
514
Member Avatar for rrajeswari03

I am looking for some help on makings a dynamic organisation chart in PHP.Does anyone know where I could find a PHP class to generate organizational charts?

Member Avatar for almostbob
0
115
Member Avatar for vishalonne

Hello How can I get minimum number of coins for a given amount. I have fixed denominations of cents - 25, 10, 5 and 1 If I have 0.67 then what will be the minimum numbers coins I need Thank you all in advance for valueable advices and suggestions

Member Avatar for cayman
0
182
Member Avatar for DavidB

For the past while, I have gotten comfortable doing things a particular way when it comes to inputting data: i) create text file whose first entry is N, an integer indicating the number of data entries following, and the actual data entries. For example, for 101 data values, the text …

Member Avatar for DavidB
0
3K
Member Avatar for bsummers

This is my first time using dynamic sql. My goal is to populate a datagrid with a stored procedure that uses a incoming parameter that equals a column name in the table. I have 2 problems. 1. I can get each sql statment to execute independently with the correct results. …

Member Avatar for h4ng4r18
0
134
Member Avatar for Tinnin

Hi All, I'm trying to display a postal area on Google Maps API within it's boundaries. I want to do this dynamically so that everytime someone changes the text in a text field (entering a postcode or part of), it checks the postcode and calculates the boundaries then displays them. …

Member Avatar for Tinnin
0
9K
Member Avatar for Neil_4

Can anyone show me How to add a button on top of a dymanically programmed button var contentPanel = new HtmlGenericControl(); ButtonPanel.Controls.Add(contentPanel); foreach (DataRow row in dt.Rows) { contentPanel.InnerHtml += string.Format("<a class='tile ol-transparent bg-myGreen brand tile double' href='{0}' target='_BLANK'>{1}</a>", row["LINKURL"], row["LNGNAME"]); } This is my code for dynamically producing one …

Member Avatar for tinstaafl
0
88
Member Avatar for jacksantho

Hi, How to create a dynamic drop down list using php. My drop down list should be: Example: if manager logins : the manager should see only the manager list of a company. if employee logins: the employee should see only the employee list of a company. Please help me …

Member Avatar for tapananand
0
784
Member Avatar for rajeesh_rsn

Hai, I had a main div and two child divs inside that .. I need to arrange as follows .. ------------------------------------------------- | | | | child div 1 | child div 2 | | | | | | | ------------------------------------------------- the height of the child div is dynamic. I had …

Member Avatar for Parveenkumar
0
861
Member Avatar for iamthwee

Hi I am using codeigniter and I want to use a constant defined in the config>constant file. For example, my color theme for my view might be blue, so I save this in the constants file. define('blue', '#3fsefe'); Now I can use this in all my views... works fine. But …

Member Avatar for iamthwee
0
4K
Member Avatar for Bile

->Hi Daniweb-Web Developers. ->I'm using PhP 5.2.5,WAMP 5,MySQL 5. -I'LL TRY TO EXPLAIN IN DETAILS THE WHOLE STORY:- ------------------------------------------------- 1: I've declared a global variable dynamic array ALPHABETS_COMBINATION. 2:It is populated with a group of 3 Alpha combination AAA-ZZZ in a function : Generator($ALPHABETS) 3:Once the Buttonn click event is …

Member Avatar for Bile
0
394
Member Avatar for zulqarnain02

Can anyone please eleborate this project.I have to make a console application of it. Please tell me what is knap-sack and whats the concept behind its programming.

Member Avatar for Hiroshe
0
98
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to make dynamic email address that'll look like this example example_name1@subdomain.example.com or example_name2@subdomain.example.com the subdomains have been created using .htaccess and a wildcard subdomain. So the "example_name" and "subdomain" would be created dynamically. So can this be done using .htaccess? …

Member Avatar for joshl_1995
0
677
Member Avatar for joshl_1995

Hello Community, I'm trying to use dynamic subdomains which works but I'm only wanting .htaccess to to send subdomains without letters, numbers and underscores (_) to the 404 page. Here is my code. Options +FollowSymLinks -MultiViews RewriteEngine On RewriteBase / #Remove www. RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteRule ^(.*)$ http://%1%{REQUEST_URI} [QSA,NC,L] …

1
163
Member Avatar for phony

|29|error: expected unqualified-id before ‘{’ token| |27|error: new types may not be defined in a return type| |27|note: (perhaps a semicolon is missing after the definition of ‘DynStack<T>::StackNode’)| 46|error: ‘StackNode’ does not name a type| ||In member function ‘DynStack<T>::StackNode DynStack<T>::StackNode(T, DynStack<T>::StackNode*)’:| |40|error: ‘value’ was not declared in this scope| ||In …

Member Avatar for tinstaafl
0
1K
Member Avatar for rahulzephyr

Hello,I wanna decrese the size of my windows application projesct.Actually i'm using many animated pictures in my projects so that might be the reason for larger size. Is there any other way to reduce the exe file..will it get reduced if load the pictures dynamically from outside folder??if it is …

Member Avatar for rahulzephyr
0
392
Member Avatar for Silas_1

I have 1 or actually 2 problems. I have 2 sites, the first one generates a table with avatar, coins, and name (which links to a more detailed view like this `/stats/user/?name=<dynamic name>`. It looks like this: <table> <thead> <tr> <th>#</th> <th>Points</th> <th>Name</th> </tr> </thead> <tbody> <?php error_reporting(E_ALL); define ( …

Member Avatar for diafol
0
328
Member Avatar for bejfake

Hi, I need to implement list based on dynamic arrays (second task is to implement as double linked list). Both tasks are done, but I have problem with time limit on test platform when values are millionths. I suppose that resizing dynamic array is delaying so much. I have implemented …

Member Avatar for rubberman
0
991
Member Avatar for ehpratah

Hi all I need some advice making my query work properly. I already played around it a dozen of times and still can't get it work. So as my last option im here:) . what im trying to achieve is sum all amount of a particular rows and display the …

Member Avatar for ehpratah
0
318

The End.