39,321 Topics
| |
<?php include('db.php'); $query=mysqli_query($con,"select * from reg"); while($row=mysqli_fetch_array($query)) { echo $id; echo $name; } ?> i want to display it as follows: 1.chaitanya 2.swati 3.rena 4.geeta | |
When I upload this file core_navigation.tpl, I get this error: **Parse error: syntax error, unexpected $end in /home1/skywestv/public_html/www.flyboeingva.org/lib/skins/fbva_custom/core_navigation.tpl on line 65** Code: <!-- Menu --> <div class="pi-row-block pi-pull-right"> <ul class="pi-simple-menu pi-has-hover-border pi-full-height pi-hidden-sm"> <!-- Home --> <li class="active"> <a href="#"><span>Home</span></a> </li> <!-- End home --> <!-- About --> <li class="pi-has-dropdown"> … | |
i want to display this slideshow dynamically please help me. I am getting more than 3 images if i put dynamic code <div class="row"> <div id="carousel-reviews" class="carousel slide" data-ride="carousel"> <div class="carousel-inner"> <div class="item active"> <!--------------------------------> <div class="col-md-4 col-sm-6"> <div class="block-text rel zmin"> <a title="" href="#">Active1</a> </div> </div> <!--------------------------------> <div class="col-md-4 … | |
| |
<?php session_start(); if($_SESSION['user']!=true) { header('Location:login.php'); } $error=""; ?> <?php include("include/databaseq.php"); $title=$_POST['title']; $date=$_POST['date']; $description=$_POST['description']; function GetImageExtension($imagetype) { if(empty($imagetype)) return false; switch($imagetype) { case 'image/bmp': return '.bmp'; case 'image/gif': return '.gif'; case 'image/jpeg': return '.jpg'; case 'image/png': return '.png'; default: return false; } } if (!empty($_FILES["uploadedimage"]["name"])) { $file_name=$_FILES["uploadedimage"]["name"]; $temp_name=$_FILES["uploadedimage"]["tmp_name"]; $imgtype=$_FILES["uploadedimage"]["type"]; $ext= GetImageExtension($imgtype); … | |
.I am working as a PHP software developer in Bangalore.I am new to the PHP language.I have some doubts.please clarify me. 1. IN PHP what are the things we want to concentrate On Web Application development. 2. What are the security issues are their?. 3. What is sql Injection?how to … | |
PLS GIVE ME ANYONE THE FULL SCRIPT OF THIS FORUM http://sattadon.com/forum/forum.php WITHE QUOTE FUNCTION PLS ITS SO URGENT | |
Hi......Friends Please can anyone to help me to change my url as permalink. My URL is http://www.moswap.in/ , when am click on cell phone page its showing like this(http://www.moswap.in/i/?cell-phones), but want to only like this http://www.moswap.in/cellphones so, please help me friends. Thanks in advance. | |
can I get code to bring out the state under a country when the country is selected. both state & country from the database displayed in a select dropdown | |
I hope I'm asking this question correctly. I am succesfully using [Fullcalendar](http://fullcalendar.io/) on my site to show various dates for various members, all of which are stored in a database. I have implemeneted a bootstrap popover that displays the members name when a mouse is hovered over the event in … | |
how to show all data. Only one row showing | |
Hi, IS there any way to load a `*.dll` file at run time into PHP project. For instance I want to use the functionality for encrypting the a string using `MCRYPT` module without installing the module. I found on internet that with the usage of `COM` class I can achieve … | |
<?php include ("connect.php"); $_SESSION['username']="kai"; $username=$_SESSION['username']; echo "Welcome,".$username."!<p>"; $query= mysql_query("Select * from avatar where name = 'username'"); if(mysql_num_rows($query)==0) die("User not found"); else { $row = mysql_fetch_assoc($query); $location = $row['imagelocation']; echo "<img src='$location' width='200' height ='200'>.</p>"; } ?> <p/> Upload New Avatar <form method="post" enctype='multipart/form-data' action='view.php'> File: <input type='file' name='myfile'> <input type='submit' … | |
I need check among items entering session array.Say $a=1, if $a enters the array for the first time then mark it new.Else if the same $a entered the array more than once then mark it old.I tried using in_array,array_key_exists funtions but to no avail. Please help me..Thanks. | |
Hi, I am working on an aplication which contains two different portals (admin and members). `http://localhost/app/` is used for the members login and `http://localhost/app/admin` is used for admin's login. When I log in into members and admins portal both works fine but if I logout from one portal another portal … | |
I'm nearly finish with a site template for a shopping cart. I am encountering a problem, updating of quantity. Say: On the Product Table page: If the user clicks on the same product to add it, only the quantity should increment on the Cart page (Quantity is displayed using a … | |
| i am trying to draw an image on to a php page using the imagecreate function but the image is not showing, i cant see the problem with this code, please help me out, the code is as follows: <?php header('content-type: image/jpeg'); $fontSize = 30; $imageHeight = 40; $imageWidth = … |
I am looking for table row alternating color. I already write the codes and the table does not appears yet. I wonder why? schedule.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Transdmin Light</title> <!-- CSS --> <link href="style/css/transdmin.css" rel="stylesheet" type="text/css" media="screen" … | |
I'm converting some old work to mysqli, and having a bit of trouble with Prepared Statements. In the stripped down code sample below, I'm able to confirm that the code below pulls the records; line 8 echoes the string as expected and if I replace the id parameter with something … | |
What I want to do is to show an email sign-up pop up when a link is clicked. This is how I am referencing to the external sumome.php file, which contains the js function: <script type="text/javascript" src="http://www.barcabyfans.com/wp-content/themes/hueman/sumome.js"></script> This is what I am writing for the link: <p>Get more awesomeness <a … | |
I have a dedicated server and i need a short php script, that says if my dedicated server is "ONLINE" or "OFFLINE", and how many ram left, that will show it on a bar... =) Thanks | |
hello i have databses and tables in mysql db... i want to auto suggest databases name in a input box after depending on database string i want to auto suggest the tables inside that database....how could i do this? | |
hello how could i insert or use jquery functions in my netbeans project..?? | |
messages.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Transdmin Light</title> <!-- CSS --> <link href="style/css/transdmin.css" rel="stylesheet" type="text/css" media="screen" /> <!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href="style/css/ie6.css" /><![endif]--> <!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href="style/css/ie7.css" /><![endif]--> <!-- JavaScripts--> <script type="text/javascript" src="style/js/jquery.js"></script> <script … | |
Is there any tutorial or free opensource for online one to one user chat for a website ? | |
Hi, i'm doing a wordpress plugin that add some data from angularjs/json on each post in the json angularjs request i have to pass the session id i've found this code to set it session_start(); $id = session_id(); but i don't know where to put it becouse if i add … | |
Hello, I have one opencart site there is main menu with category->subproduct links i want subproduct active when it is full product page. Thank you | |
Hi, I want to disable other textboxes, which is related to single (i.e.connection type) texbox and the textbox are assigned in array[] row wise manner. This is working for sinle row but when I add multiple it's not working. Please help to resolve this issue. <button type="button" class="btn btn-info" id="delete">- … | |
I am new to svg , I need to draw a inner or outer path for the svg editor generated svg path , i am unable to draw . I tried a lot but i cant . help me. | |
hello, i want to show mysql query results into a table on a web page...but can i pass variable values from html tp php script i wanna show as it is important for my project |
The End.