i have problem when adding a subject it got two subject that need to be selected by teacher , management sub and DBMS sub.. said Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\PhpProject3\navhead_user.php:57) in C:\xampp\htdocs\PhpProject3\teacher_add_subject.php on line 104.. when i select one of them it appear that error.. but when i select DBMS it inserted the subject but with error.. let say 1st i selecting management as the subject, it occur error but after refresh the page it appear in the list of the teacher subject then i add another subject DBMS subject and it …

Member Avatar
Member Avatar
+0 forum 3

This might be a duplicate but I can not find a solution for the small challenge I am facing. I want to assign the href and text in an `<a>` tag to variables and use them in a jquery script. Examples I have found pertain to diving into the DOM and retrieving several `<a>` based on class or specific ones based on an id. I think there should be a way to drill down and select a particular one. I have a list of links rendered from php. Currently, they all have the same class. An admin user has the …

Member Avatar
Member Avatar
+0 forum 3

Hi, I have a VS2005/C#/.NET 2.0 application in which i'm hosting a web browser control. I would like to offer a "record" and "playback" functionality for web page activity. Meaning- Say a user wants to record a certain sequence of actions like (just a raw example): 1) navigating into a certain web page 2) entering credential information 3) setting two radio buttons on that page 4) clicking login 5) [navigates to another page] 6) selecting a checkbox 7) clicking a button 8) [navigates to the final page] when the user hits "record", I'd like to record these actions as the …

Member Avatar
Member Avatar
+0 forum 2

hi i have used datepicker for picking date and i need to validate for empty value .i should not allow the user to go to next page without selecting any dates how to do that ..

Member Avatar
Member Avatar
+0 forum 10

am creating a new social network like FB: In that i cant able to change the text color permanently by selecting a theme... help me guyz:

Member Avatar
Member Avatar
-3 forum 3

I have one zend form.In this form i have on dropdown and blank div. In view page on dropdown change blank div fill another dropdown. I want to validate div's dropdown so that without selecting second dropdown form could not submit. Plz suggesssst any help

Member Avatar
+0 forum 0

Write a java application that uses random-number generation to create sentences. Use four arrays of strings called article, noun, verb and preposition. Create a sentence by selecting a word at random from each array in the following order: article, noun, verb, preposition, article and noun. As each word is picked, concatenate it to the previous words in the sentence. The words should be separated by spaces. When the final sentence is output, it should start with a capital letter and end with a period. The application should generate 20 sentences and output them to a text area. The article array …

Member Avatar
Member Avatar
+0 forum 2

Hello, I have a form in which , I have DIV1. Selecting option from DIV1 another DIV2 gets open and form is filled. But I want after filling DIV2, its values should get refreshed to default ones. How can I do this in JS?

Member Avatar
Member Avatar
+0 forum 1

vb color commondialog box return color if i am selecting cancel in color dialog box.how we can handle this. commondlg.showcolor lblcolor.forecolor=commondlg.color

Member Avatar
Member Avatar
+0 forum 1

i have 2 tables, first is main category will display in dropdownlist, and second is subcategory chexboxes. i have a problem in this. need to display subcategory while selecting any maincategory from dropdownlist id to display subcategory. category table: state:<select name"category" id="category"> <option value="0">...select state...</option> <option value="karnataka">karnataka</option> <option value="Tamilnadu">Tamilnadu</option> <option value="kerala">kerala</option> </select> subcategory table: inside karnataka i have data's like bangalore mysore tumkur mangalore etc inside Tamilnadu chennai coimbatore madurai salem etc inside kerala kochin pallkad etc these values i added in diff table by using first table id. if i select state as karnataka then that related cities are …

Member Avatar
Member Avatar
+0 forum 3

I have one dropdownlist in that i want to display some categories. and second is subcategory in checkboxes ,while selecting any category from dropdownlist that related subcategory should display in checkbox, after that whatever i need to select in checkbox values to store in database. here is my code: Main Category: <select name="catagory" id="catagory"> <option value='' selected="selected">...Select a Category...</option> <?php include("db.php"); $query = "SELECT `id`,`MainCatagory` FROM `catagorykeywords` "; $result = mysql_query($query); //echo mysql_error(); while($rows = mysql_fetch_array($result)) { $selected = ""; $categoryId = $rows['id']; $categoryName = $rows['MainCatagory']; if($catid == $categoryId) { $selected = "selected"; } ?> <option value="<?php echo $categoryId; ?>" …

Member Avatar
+0 forum 0

In Jsp page, on selecting a table name, I need to display all columns associated with the table in a drpdownlist with checkboxes.can anyone plz provide code for that?.

Member Avatar
Member Avatar
+0 forum 1

Hi , I m using VS2008 with SQL server 2008 at the backend. I m creating a windows application in which I have 2 listboxes.the data is being retrieved from SQL server database in listbox1.i want to select few itms from this listbox and add them to second one through add button. PROBLEM: the values are being retireved from database but when i click add button after selecting a value from listbox1, System.Data.DataRowView is displayed in listbox2 automatically. listbox2 is not currently connected to any databse. here is the code for (int i = 0; i < listBox1.Items.Count; i++) { …

Member Avatar
Member Avatar
+0 forum 20

I am trying to code a mysql query that will enable me select and insert multiple vaules from one table to another table in the same mysql database. I want to automatically populate the values from my id,levy from my tb_residents into table 2 resident_payments uid , rate . I know there has got to be an easier way than first selecting all the values from my tb_residents table then writing a separate insert query. I have written this so far, but i'm not sure how to tie both queries together. mysql_select_db($database_conn, $conn); $query_rpz = "SELECT * FROM residents "; …

Member Avatar
Member Avatar
+0 forum 3

<div class="message-container" id="message-composer"> <div class="message-form-content"> <div class="message-form-header"> <div class="message-form-user"><img src="{$url}/thumb.php?src={$avatar}&t=a" /></div> {$lng->form_title} <div class="message-form-private"></div> <div class="message-loader" id="post-loader9999999999" style="visibility: hidden"><img src="{$url}/{$theme_url}/images/preloader.gif" /></div> </div> <div class="message-form-inner"> <form id="imageForm" name="form" action="{$url}/requests/post_message.php" method="POST" enctype="multipart/form-data" > <textarea id="post9999999999" class="message-form" placeholder="{$lng->message_form}" name="message"></textarea> </div> <input type="hidden" name="privacy" id="message-privacy" value="{$private_message}" /> <div class="selected-files"><span id="queued-files">0</span> {$lng->files_selected}</div> <div class="message-form-input"><input type="text" name="value" id="form-value" /></div> <div id="values"> <div class="button-image"> <input name="my_image[]" id="my_file" size="27" type="file" class="inputImage" title="{$lng->label_image}" multiple="multiple" /> </div> <input type="radio" name="type" value="video" id="video" /><label for="video" title="{$lng->label_video}"><img src="{$url}/{$theme_url}/images/icons/events/video.png" /></label> <input type="radio" name="type" value="map" id="map" /><label for="map" title="{$lng->label_map}"><img src="{$url}/{$theme_url}/images/icons/events/map.png" /></label> <input type="radio" name="type" value="visited" id="visited" /><label for="visited" title="{$lng->label_visited}"><img src="{$url}/{$theme_url}/images/icons/events/visited.png" /></label> <input type="radio" name="type" …

Member Avatar
Member Avatar
+0 forum 4

# Asp.net with c# language # I have 3 table let say table1 ,table2 and table3 Table1 with 2 columns pid and productname pid(P.k) productname 1 abc 2 qwe 3 ewre 4 jui Table2 with 2 columns fid and imagename fid(P.k) imagename 1 a 2 b 3 c 4 d 5 e 6 f 7 g 8 h 9 i Table3 with 3 column name id pid whick is foreign key and fid with foreign key of table1 and table2 respectively id pid(F.k) fid(F.k) 1 1 1 2 1 4 3 1 6 4 1 8 5 2. 2 6 …

Member Avatar
+0 forum 0

The End.