153 Posted Topics

Member Avatar for AntonyRayan

Hi , I am displaying description from table dynamically. For that I need Left and right arrows, How to do that? I need with some examples in a simple way.

Member Avatar for AntonyRayan
0
154
Member Avatar for AntonyRayan

Hi, I am displaying brochure from db under that there is a link for all ,called download, if i click that link I want to download, which I clicked,

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

Hi , I have no idea for this, I am displaying images from db dynamically, by clicking gallery link I dislay all the images, but I want to display by folder type for a set of images. Can anyone help for me?

Member Avatar for DaveAmour
0
162
Member Avatar for AntonyRayan

Hi. I am displaying image dynamically from database, When I click the particular image I want to show that image in a popup or lightbox in a simple way. How to do?

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

Hi , In a form , I have a field for image , in edit page, i can display that image, when I am clicking update, without modifying image it shows error in image. How to save previous image if its not changed. Sample Code: <span><img src="profile/<?=$rows["upload"]; ?>" id="blah" style="height:25%; …

Member Avatar for alisajjad160
0
193
Member Avatar for AntonyRayan

Hi , How to validate Indian Mobile Number, in Javascript. that starts by 9 or 8or 7 containing 10 numbers without country number

Member Avatar for lps
0
89
Member Avatar for AntonyRayan

Hi, I have 5 different forms (5 pages),by filling each form it will go to next form, it will continue till last form.in first form i have a select box, that select box contains two values, called, a and b. if I click A , I want to hide the …

Member Avatar for JorgeM
0
162
Member Avatar for AntonyRayan

Hi, I`m new to bootstrap. In bootstrap I have 6 tabs, for each tab i have two buttons like previous and next. , For first tab previous will be hidden, like that for final next button will be hidden, I took it from net. I want to save all the …

Member Avatar for diafol
0
164
Member Avatar for AntonyRayan

Hi, I need a php code for converting from any format to pdf by clicking a button called convert to pdf. How to do?

Member Avatar for cereal
0
136
Member Avatar for AntonyRayan

Hi, In a bootstrap page I have button called language known, by clicking that a popup checkbox modal will open in that I have two button called close and savelanguages, by clicking savelanguages button what are the languages that are selected nnear to the languages button in a textbox.. I`m …

0
149
Member Avatar for AntonyRayan

For image upload , This is my code, What is the error, its not checking in else part if(!$('#upload').val()) { alert('Upload Your Photo'); $('#upload').focus(); return false; } else{ $('input[type=file]').change(function () { var val = $(this).val().toLowerCase(); var regex = new RegExp("(.*?)\.(jpg|jpeg|txt|png|docx|gif|doc|pdf|xml|bmp|ppt|xls)$"); if(!(regex.test(val))) { $(this).val(''); alert('Unsupported file'); } }); }

Member Avatar for AntonyRayan
0
184
Member Avatar for AntonyRayan

Hi, In one window by clicking a button(button name select) a pop up window, in that pop up window , I have only lot of check boxes. My query is, I want to show what are the values I selected in the pop up window that should display in the …

Member Avatar for AntonyRayan
0
87
Member Avatar for AntonyRayan

Hi Once again! I don`t Know. In a page I have a contact form in that The fields are ike name, email, subject, message. All are mandatory. I wont store in database. After clicking submit query , it should go to admin mail how to do? tell me with example?

Member Avatar for Squiva
0
142
Member Avatar for AntonyRayan

Hi, I need your examples. for creating new responsive online admission form . Its urgent.

Member Avatar for diafol
-1
143
Member Avatar for AntonyRayan

In a form, I have a field called mode of transport: for that I used three radio buttons like own , private and public. If he clicks public radio button, it should show two radio buttons like pickup and drop. Otherwise it should not show it(pickup and drop). I don`t …

Member Avatar for diafol
0
125
Member Avatar for AntonyRayan

Hi, by clicking history of book, I show all book details in textbox and student details(only limited columns) in table format(which student took that particular book), Now I want to export in excel file.I am new to this concept. How to do? with examples....

Member Avatar for AntonyRayan
0
164
Member Avatar for AntonyRayan

How to create a online registration form for admission in college with all designs. Can anyone give me a perfect example for that

Member Avatar for AntonyRayan
0
86
Member Avatar for AntonyRayan

Hi every one, I want to take a photo by using webcam , and I want to store it in db and finally I want to view it. How to do? Its urgent.

Member Avatar for almostbob
0
105
Member Avatar for AntonyRayan

how to compare two dates and how to show the availabilty for the particular date?

Member Avatar for minitauros
0
106
Member Avatar for AntonyRayan

while saving in database, if I save A it shouldnot save as A, it should save as 1, for b as 2, it should continue till 26. How it is possible?

Member Avatar for diafol
0
164
Member Avatar for AntonyRayan

How to do Autocomplete in php? Can any one tell me with example in ajax with javascript.

Member Avatar for Sugmuffen
0
285
Member Avatar for AntonyRayan

Hi everyone, I am importing an excel file in php , in that file there are 10 lines,so it read that ten line and saves it in database. After that I inserted five more lines , while again I am inserting , it should avoid the 10 lines and should …

Member Avatar for AntonyRayan
0
138
Member Avatar for AntonyRayan

How to read an excel file in php? This is my index page::: <html> <head> </head> <body> <form method="post" action="save_category.php" enctype="multipart/form-data"> <label >Import File<span class="mandatory">*</span></label> <input type="radio" name="file" value="1" checked>Excel File&nbsp;&nbsp;&nbsp;&nbsp; <input type="radio" name="file" value="0">CSV File <input type="file" name="import" value="Import" required/> <label >Book Category Name<span class="mandatory">*</span></label> <input type="text" id="categoryname" name="categoryname" …

Member Avatar for pixelsoul
0
258
Member Avatar for AntonyRayan

In a project, when a user clicking the search link, pop up box should come, in that box, two text fields, and search button should be. How it is possible?

Member Avatar for JorgeM
0
124
Member Avatar for AntonyRayan

In alert box i anto show two buttons, 1. OK and 2. Cancel. If cancel it should redirect to previous page. How?

Member Avatar for AntonyRayan
0
4K
Member Avatar for AntonyRayan

Can any one tell me what are the library book categories available for school library management?

Member Avatar for AntonyRayan
0
75
Member Avatar for AntonyRayan

<?php include('connect.php'); $upid=$_POST['id']; $upname=$_POST['categoryname']; $updesc=$_POST['description']; $newupid=mysql_query("update tbl_category set categoryname='$upname', description='$updesc' where id='$upid'")or die(mysql_error()); echo "<script type='text/javascript'> alert('Updated Successfully'); window.location.href='view.php';</script>"; ?> This is updated code. It works successfully. but I want to show alert box "Nothing can be updated" if no changes made. And it should have the same .

Member Avatar for pixelsoul
0
191
Member Avatar for AntonyRayan

how to change the password for already existed user in php can anyone give me the sample code?

Member Avatar for AntonyRayan
0
294
Member Avatar for AntonyRayan

How to show multiple pictures in between a period of time. Can anyone give me with example?

Member Avatar for AntonyRayan
0
113
Member Avatar for harishprakash

<?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 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']; } } else { echo "no result"; } } mysql_close($con); ?> I want to fetch two column …

Member Avatar for AntonyRayan
0
140
Member Avatar for AntonyRayan

<div class="heading1"> <h3>Search by keyword</h3> </div> <div class="items"> <div class="item"> <form method="post"> <input type="text" class="css-input" name="search_key" id="search_key" placeholder="Search here"> <input type="submit" name="search" id="search" class="myButton" value="search" > </form> <div class="clear"> </div> </div> </div> This is my search keyword code: If I give any keyword it should search and display the particular …

Member Avatar for rpv_sen
0
111
Member Avatar for AntonyRayan

how to pass id from one table to another table in php, can anyone tell me with example

Member Avatar for AntonyRayan
0
150
Member Avatar for AntonyRayan

How to focus cursor using jquery for text box, while moving to next field , if it is empty,

Member Avatar for Traevel
0
367
Member Avatar for AntonyRayan

this is my index.page <html> <head><title>Registration</title> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" type="text/javascript"></script> <script src='http://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/jquery.validate.min.js'></script> <script type="text/javascript"> function validate() { if(document.register.name.value == "") { alert('Enter valid name'); document.register.name.focus(); return false; } if(document.register.email.value == "") { alert('Enter valid email'); document.register.email.focus(); return false; } else if(document.register.password == "") { alert('Enter Password'); document.register.password.focus(); return false; } if(document.register.repeatpassword.value …

Member Avatar for broj1
0
205
Member Avatar for AntonyRayan

hi, can any one tell me how to send mobile sms to some one,after registered successfully, in local host

Member Avatar for AntonyRayan
0
104
Member Avatar for AntonyRayan

This is my Index.php:: <html> <head><title>Registration</title> <script type="text/javascript"> function numbersonly(e,length) { var unicode=e.charCode? e.charCode : e.keyCode var maxlength=length; if (unicode!=8) { //if the key isn't the backspace key (which we should allow) if (unicode<48||unicode>57) //if not a number return false //disable key press } } </script> <script type="text/javascript"> function validation() …

Member Avatar for AntonyRayan
0
192
Member Avatar for AntonyRayan

Index.php <html> <head><title>Registration</title> <script type="text/javascript"> function numbersonly(e,length){ var unicode=e.charCode? e.charCode : e.keyCode var maxlength=length; if (unicode!=8){ //if the key isn't the backspace key (which we should allow) if (unicode<48||unicode>57) //if not a number return false //disable key press } } </script> <script type="text/javascript"> function validation() { var a = document.form.phone.value; …

Member Avatar for AntonyRayan
0
238
Member Avatar for AntonyRayan
Member Avatar for AntonyRayan

while updating an user profile , if I update a new image ,it updates the new image and displays it. If I update other fields without updating image field , it updates others, but it does not showing the image. How to display it?

Member Avatar for lps
0
151
Member Avatar for AntonyRayan

Hi godd morning to everyone. I have , 1.index.php 2.signup.php 3.check.php 4.logout.php 5.welcome.php 6.dashboard.php 7.connect.php Suppose, any user opens other pages except index.php(its default page), I need to show error reporting page and it should redirect to index.php. how ? is it possible?

Member Avatar for AntonyRayan
0
374
Member Avatar for AntonyRayan

I want to add photos to the user after they logged in , in their user profile . Will it possible? how?

Member Avatar for broj1
0
101
Member Avatar for AntonyRayan

This is my index page <html> <head> <title>Login - FLATY Admin</title> <link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css"> <link rel="stylesheet" href="assets/font-awesome/css/font-awesome.min.css"> <link rel="stylesheet" href="css/flaty.css"> <link rel="stylesheet" href="css/flaty-responsive.css"> <link rel="shortcut icon" href="images/login.png"> <script type="text/javascript"> function loginFunction() {//alert('kjo8iyh78i'); var username = document.getElementById("username").value; var password = document.getElementById("password").value; if(username == "") { alert('Enetr User Name'); } else if(password …

Member Avatar for Traevel
0
982
Member Avatar for AntonyRayan

This is my index page: <html> <head> <title>Login - FLATY Admin</title> <link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css"> <link rel="stylesheet" href="assets/font-awesome/css/font-awesome.min.css"> <link rel="stylesheet" href="css/flaty.css"> <link rel="stylesheet" href="css/flaty-responsive.css"> <link rel="shortcut icon" href="images/login.png"> </head> <body class="login-page"> <div class="login-wrapper"> <form action="welcome.php" method="get"><!-- id="form-login"--> <h3>Login to your account</h3> <hr/> <div class="form-group"> <div class="controls"> <input type="text" id="username" value="username" /><!--placeholder="username",,,class="form-control"--> …

Member Avatar for AntonyRayan
0
224
Member Avatar for AntonyRayan

This is my billing table in my sql: id pid quantity total discount price customer 1 1 2 20.00 5.00 15 a 2 1 2 20.00 3.00 17.00 a 3 2 3 15.00 2.00 13.00 b 4 3 1 2.00 1.00 1.00 a This is my product master table id …

Member Avatar for Santanu.Das
0
143
Member Avatar for AntonyRayan

<? include('connect.php'); ?> <!DOCTYPE html> <html> <head> <script> function showCustomer(str) {alert("dfertvgrevbtr"); var xmlhttp; if (str=="") { document.getElementById("txtHint").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("txtHint").innerHTML=xmlhttp.responseText; } …

Member Avatar for Taywin
0
107
Member Avatar for AntonyRayan

Hi, I dont know how to check password availabilty from mysql database, Can anyone tell me about with simple and brief explanation in php. if the password is already in db, it should show password is match otherwise password do not match . This should show in the field itself.... …

Member Avatar for Taywin
0
102
Member Avatar for AntonyRayan

This is my output tabe: name SUM(billing.quantity) SUM(billing.total) SUM(billing.discount) SUM(billing.price) pen 4 40 8 32 pencil 3 15 2 13 rubber 1 2 1 1 Using : SELECT productmaster.name, SUM(billing.quantity), SUM(billing.total), SUM(billing.discount), SUM(billing.price) FROM billing AS billing LEFT JOIN productmaster AS productmaster ON (productmaster.id = billing.pid) GROUP BY billing.pid ORDER …

Member Avatar for AntonyRayan
0
180
Member Avatar for AntonyRayan

This is my billing table in my sql: id pid quantity total discount price customer 1 1 2 20.00 5.00 15 a 2 1 2 20.00 3.00 17.00 a 3 2 3 15.00 2.00 13.00 b 4 3 1 2.00 1.00 1.00 a This is my product master table id …

Member Avatar for AntonyRayan
0
234
Member Avatar for AntonyRayan

I stored a password in db, nw i want to change my password, with the fields of old password, new password, and confirm password my question is how to retrive or compare password that i have entered in db with old password that i`m going to enter . if it …

Member Avatar for diafol
0
79
Member Avatar for AntonyRayan

<? abstract class BaseData { protected $connection; public function __construct($connection) { $this->connection = $connection; } abstract public function connected(); abstract public function get(); } class UserData extends BaseData { public function exists() { return is_connected($this->connection); } public function get() { return get_data($this->connection); } } $UserData = new UserData(new Connection()); ?> …

Member Avatar for diafol
0
203

The End.