153 Posted Topics
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. | |
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, | |
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? | |
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? | |
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%; … | |
Hi , How to validate Indian Mobile Number, in Javascript. that starts by 9 or 8or 7 containing 10 numbers without country number | |
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 … | |
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 … ![]() | |
Hi, I need a php code for converting from any format to pdf by clicking a button called convert to pdf. How to do? | |
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 … | |
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'); } }); } | |
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 … | |
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? | |
Hi, I need your examples. for creating new responsive online admission form . Its urgent. ![]() | |
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 … ![]() | |
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.... | |
How to create a online registration form for admission in college with all designs. Can anyone give me a perfect example for that | |
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. | |
how to compare two dates and how to show the availabilty for the particular date? | |
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? ![]() | |
How to do Autocomplete in php? Can any one tell me with example in ajax with javascript. | |
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 … | |
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 <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" … | |
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? | |
In alert box i anto show two buttons, 1. OK and 2. Cancel. If cancel it should redirect to previous page. How? | |
Can any one tell me what are the library book categories available for school library management? | |
<?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 . | |
how to change the password for already existed user in php can anyone give me the sample code? | |
How to show multiple pictures in between a period of time. Can anyone give me with example? | |
Re: <?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 … | |
<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 … | |
how to pass id from one table to another table in php, can anyone tell me with example | |
How to focus cursor using jquery for text box, while moving to next field , if it is empty, | |
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 … | |
hi, can any one tell me how to send mobile sms to some one,after registered successfully, in local host | |
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() … | |
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; … | |
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? | |
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? | |
I want to add photos to the user after they logged in , in their user profile . Will it possible? how? | |
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 … | |
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"--> … | |
<? 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; } … | |
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.... … | |
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 … | |
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 … ![]() | |
<? 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()); ?> … ![]() |
The End.