153 Posted Topics

Member Avatar for James_43

//ini_set('display_errors', 1); //error_reporting(E_ALL & ~E_NOTICE);

Member Avatar for James_43
0
128
Member Avatar for AntonyRayan

Hi, I am not familiar in google map. I want like this, My map page reloads after every 10 seconds. when I load map page it will just show the map with the given static latitude and longitude. after 10 seconds, it will plot the available vehicles from mysql table. …

Member Avatar for Taywin
0
107
Member Avatar for AntonyRayan

Hi... Is there any other solution to use map but not google map, which works in offline also?

Member Avatar for almostbob
0
926
Member Avatar for AntonyRayan

In a table, I show S.No , Name , Amount, Payable Amount, Balance Amount dynamically. So I need a calculation to show balance amount by subtracting payable amount with amount for all textboxes in onblur dynamically. Here is my code. But it does for only the first row, and how …

Member Avatar for jkon
0
301
Member Avatar for AntonyRayan

Focus not working. What is the error in my code Dynamic Textbox Code: select query $i =1; while() { <input type="text" name="class_teacher_entry[]" id="class_teacher_entry<?php echo $i; ?>" class='marks' size="5" maxlength="3" onkeypress="return onlyNumbers(event);" onblur="markValidation(this.value,document.getElementById('marktotal').value,<?php echo $i; ?>);"/> } <Script> function markValidation(a,b,i) { var c = parseInt(a); var d = parseInt(b); if(c>d) { …

Member Avatar for AntonyRayan
0
119
Member Avatar for AntonyRayan

Hi, good morning, Dynamically I pass student id, subject id, subject marks. for example, assume that there are 50 students in a class, subjects are 5. so that 5 fields are there to enter 5 subjects mark. and the total will calculate automatically. while storing in database , I have …

Member Avatar for hericles
0
172
Member Avatar for AntonyRayan

For loop error problem Method: for($i =0;$i<count('$std_id);$i++) { for($j=0;$jcount('$sub_id;$j++) { mysql_query("INSERT INTO mmst_tbl(std_id,sub_id,mark)VALUES('$std_id[$i]','$sub_id[$j]','$mark[$j]')"); } } How to solve this? instead of 138 rows it goes 2000+ lines

Member Avatar for diafol
0
233
Member Avatar for AntonyRayan

Hi, I am new to this concept, In a page there are 5 select boxes and 2 radio buttons. First select box has standard ID , second select box has respective section id, after selecting rest of the three selectboxes final I have to select either first or second, if …

Member Avatar for urtrivedi
0
224
Member Avatar for AntonyRayan

Hi good evening, In a page I show a list of students with checkboxes dynamically and one message box. When the user submit if no checkboxes (atleast one check box) selected, I want to show one alert meassage like "Please select atleast one student"; I did in javascript like this …

Member Avatar for diafol
0
123
Member Avatar for AntonyRayan
Member Avatar for rproffitt
0
73
Member Avatar for AntonyRayan

In a page, I have a table with user entering field. There are 4 fields, first three are user entering fields and the fourth field is auto calculating of the first three fields,if the user leaves a field the total field showing NaN. How to solve this problem?

Member Avatar for diafol
0
165
Member Avatar for AntonyRayan

Hi, In a page, By selecting values I display a table using javascript ajax. The table looks like this: S.no name S1 S2 S3 S4 S5 Total 1 A 80 90 78 76 100 424 2 B 50 50 50 50 100 350 ;; . . . it goes like …

Member Avatar for diafol
0
252
Member Avatar for AntonyRayan

I have lot of values in mysql database. I want to display all that data in excel file. How to do? without plugin is it possible? or how to do? Without any plugin, is comfortable. I am new to this concept.

Member Avatar for pritaeas
0
108
Member Avatar for AntonyRayan

I created a table with dynamic table headings and also dynamic textboxes for that respectively. Now my query is, how to insert that textboxes values into appropriatre fields of table, Suggest me?

Member Avatar for rpv_sen
0
129
Member Avatar for AntonyRayan

Can any one tell me ? which framework is easy to learn and configure. And Which one is best codeIgniter or Zend or CakePHP or any other?

Member Avatar for AntonyRayan
0
119
Member Avatar for AntonyRayan

In a table, I want to show the list subjects based on standard selection from mysql. How to do? Example: s.no(default title)|subject1(English) |subject2(French)| subject3 based on standatrd selection| total(Default) 1 90 95 100 285 Like this I need. How to do?

Member Avatar for diafol
0
93
Member Avatar for AntonyRayan

I have two date fields. One field is from date and second one is to date. While the cursor moving from second date field to submit button, I have to compare the two dates. if from date greater than to date it has to display error and has to empty …

Member Avatar for Taywin
0
201
Member Avatar for AntonyRayan

Hi, I am new to this concept. I have website in local and it has home,aboutus, testimonial and contact pages. In an index page(home page), I want to display whole page view in single div. Wherever I am clicking something, it has to display there also. How to do?

Member Avatar for diafol
0
118
Member Avatar for AntonyRayan

Hi, By selecting standard and date. I want to display the student attendance report either he is absent or present or leave or holiday. I am new to this concept. Can any one provide any ideas to do in php and I want to display it in a table format. …

Member Avatar for pritaeas
0
75
Member Avatar for AntonyRayan

SELECT subject,GROUP_CONTACT(description)FROM assignment WHERE standard_id='1' AND section_id='61' AND assignment_date='2015-06-30' GROUP BY subject; For above query , I am facing this error , what is the mistake, Error:#1305 - FUNCTION ssv.GROUP_CONTACT does not exist.

Member Avatar for Teddy112
0
136
Member Avatar for AntonyRayan

Hi, Good morning. In a table I show a list of names using while loop from 'name' table and textbox for each student to enter the marks. I showed two students , so two textbox fields will be displayed, and after entering marks in two textboxes, I wrote normal insert …

Member Avatar for Lau_1
0
94
Member Avatar for AntonyRayan

In javascript, I took the difference between twodates. When Finding difference between two dates for example 12.00.PM to 02.00.PM, I got output 2 But when I am finding difference between two dates like 12.00.PM to 01.30.PM, I got output like 1.5. So I want to show this 1.5 like 1 …

Member Avatar for diafol
0
65
Member Avatar for AntonyRayan
Member Avatar for AntonyRayan
Member Avatar for AntonyRayan

in onblur i called two different events; but its not working. First event only working. How to do? either in onBlur() or onFocus() Example: onblur="a();b();"

Member Avatar for diafol
0
88
Member Avatar for AntonyRayan

I have two radio button. by clicking first radio button it will show one text box, the count of typed values will display in another text box which is default. If weclick next radio button it will show two text boxes, the count of typed values in that two text …

Member Avatar for Aeonix
-1
176
Member Avatar for AntonyRayan

Hi, I searched example for multiple dates selecting at a time in a calendar, its working in online., but not in local. Can anyone help me for multiple datepicker to select multiple dates from a single calendar ?

Member Avatar for diafol
0
3K
Member Avatar for AntonyRayan

How to split session values? I am getting error like "Notice: Array to string conversion in PHP" in session; How to solve that?

Member Avatar for diafol
0
173
Member Avatar for AntonyRayan

while sending message , I face the error : like Resource id #8 while echo the curl_init()

Member Avatar for pritaeas
0
55
Member Avatar for AntonyRayan

I am retrieving from table based on standard and date. For first standard It, has two sections A & B. A has one subject and B has two subject. While displaying I want to display in a table like this: section | Description A | English B | French,English My …

Member Avatar for cereal
0
181
Member Avatar for AntonyRayan

Hi, I Show list of standards in one select box, Based on that selection, I will display the related section in another select box, after that I will nter remaining fields normally, then it will save into DB. My question, How to edit that second Select box values in ajax …

Member Avatar for AntonyRayan
0
173
Member Avatar for AntonyRayan

Hi, In a form, I have 4 select boxes(default), and two text boxes(default). If I click the first (static values) based on that next second(new) select box will come (it has been done by ajax), based on the new select box, I display checkboxes based on the select box values, …

Member Avatar for Gideon_1
0
3K
Member Avatar for AntonyRayan

Hi, Dynamically I show the checkbox based on selected select box values. By slecting checkboxes I will display the related values in a selectbox. While selecting a single checkbox, I can easily display related values into select box. While selecting more than one checkbox I want to display the related …

Member Avatar for pritaeas
0
164
Member Avatar for UK-1991
Member Avatar for AntonyRayan

In a form, I am displaying a select box value , based on that select box value i show two more select boxes using ajax in div id. And I don not know about session, I want to save that in session using ajax . How to do?

Member Avatar for lps
0
212
Member Avatar for AntonyRayan

Hi, For a dropdown , I display from one table, While Editing How to show the selected value in that dropdown. <select name="dropdown"> <option value="">--Select--</option> <?php $a=mysql_query("Select * from student whre status='0'")or die(mysql_error()); $b=mysql_num_rows($a); if($b >0) { while($row=mysql_fetch_array($a)) { ?> <option value="<?php echo $row['st_id']?>"><?php echo $row['name'] ?></option> <?php } } …

Member Avatar for Gideon_1
0
13K
Member Avatar for AntonyRayan

Hi, I need a code for inserting, viewing, editing, deleting in a single registration form in simple way.

Member Avatar for AntonyRayan
-1
239
Member Avatar for AntonyRayan

Hi, In a representative table, I have fields, like, id, mark_id, rep_id rep_name, father name,etc, In this table, rep_id field is empty, And in rep_area table, the fields are like id, rep_id, dist_id,etc, in this table, rep_id has values. While editing the representative form i want to display rep_id from …

Member Avatar for e.geofrey
0
208
Member Avatar for AntonyRayan

Hi, In a form , there is radio btton , by clicking that a bootstrap popup window will open, user should select both district and pincode(zipcode)in two respective selectboxes, it is inserting in db. But I want to display after selecting the popup values in parent window . How to …

Member Avatar for diafol
0
83
Member Avatar for AntonyRayan

Hi , In a form I have two funtions using that two ajax functions I retrieve values from mysql database. My problem is both functions are not working at the same time, only neither one nor working. Here I inserted the sample code, tell me the solution <?php include('./include/Connection.php'); ?> …

Member Avatar for AntonyRayan
0
262
Member Avatar for AntonyRayan

Hi, I am displaying list of jobs that are posted by admin from mysql db. In that Table I used requisition_id (job id) , and the datatype is varchar(255), if we click the job id , it will show the description . My problem is, if it more than one …

Member Avatar for bugz313
0
192
Member Avatar for AntonyRayan
Member Avatar for smith32
-1
107
Member Avatar for AntonyRayan

Hi I am getting error this error while upload image? Error:Fatal error: Class 'Image' not found Code: $gallerycate_img = "gallerycateimg/".$_FILES["txt_photo"]["name"]; $gallerycate_image = $_FILES['txt_photo']['name']; if (($_FILES["txt_photo"]["type"] == "image/jpeg")||($_FILES["txt_photo"]["type"] == "image/jpg")||($_FILES["txt_photo"]["type"] == "image/gif")||($_FILES["txt_photo"]["type"] == "image/png")&& ($_FILES["txt_photo"]["size"] < 200000000)) { move_uploaded_file($_FILES["txt_photo"]["tmp_name"], "../gallerycateimg/" .$_FILES["txt_photo"]["name"]); copy("../".$gallerycate_img, "../gallerycateimg/thumb/".$gallerycate_image); $file_thumb="../gallerycateimg/thumb/".$gallerycate_image; $file_thumb_1="gallerycateimg/thumb/".$gallerycate_image; $img = new Image($file_thumb); $size = …

Member Avatar for pritaeas
0
206
Member Avatar for AntonyRayan

Hi, In a page I have 20 fields including image field, And I have 4 buttons like, submit, preview,send Email, cancel. If i click the print button it has to show what are the fields I have entered with values after that it has to take in printout, for this …

Member Avatar for AntonyRayan
0
105
Member Avatar for AntonyRayan

Hi everyone, I am creating a invoice page, for that in the invoice table I have fields like(id, ionvoice_no, invoice_date,client_name,address,service_cost,tax,etc). While I enter invoice, I don not want to enter invoice, but it should change automatically from 1 previously it has to check whether already invoice number is or not. …

Member Avatar for mangel.murti
0
6K
Member Avatar for AntonyRayan

<?php include("connect.php"); $cat_id=$_REQUEST['cat_id']; $search_key=$_REQUEST['search_key']; if($search_key != "") { $sql=mysql_query("SELECT * FROM tbl_products WHERE title LIKE '%$search_key%' OR short_descrp LIKE '%$search_key%' OR description LIKE '%$search_key%'")or die(mysql_error()); $count=mysql_num_rows($sql); if($count > 0) { while($row_city=mysql_fetch_array($sql)) { //echo $row_city['title']."<br>"; //echo $row_city['short_descrp']; ?> <div class="section group"> <div class="city"> <div style="float:left"> <img src="images/member_posts/<?=$row_city['image1'];?>" title="<?=$row_city['title'];?>" height="100" width="160" > …

Member Avatar for jj.dcruz
0
252
Member Avatar for AntonyRayan

Hi, I need a code for downloading a file in doc, docx and image in pdf format in php My code is working in downloading but while opening the I can`t

Member Avatar for jj.dcruz
0
147
Member Avatar for AntonyRayan

Hi, In admin side, I enter the details with image, while uploading the image I get a alert box error like this "DataTables warning (table id = 'DataTables_Table_0'): Requested unknown parameter '6' from the data source for row 0", but the image is saved in db. What is th solution …

Member Avatar for AntonyRayan
0
160
Member Avatar for AntonyRayan

I want to a facebook share button to my website to share the particular content or page. How to do? at the same time it has to count how many people shared it.

Member Avatar for diafol
0
81
Member Avatar for AntonyRayan

Hi, How to calculate no of days working of an employee and no of days absent in a current month.

Member Avatar for kalxas
0
383

The End.