39,323 Topics
| |
hello how I can call google chart and sent to morethan three column from database in one chart thank you | |
hello all i have problem with time zone <?php if (!isset($_POST['submit'])) { ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html> <body> <div id="main"> <div id="caption">Create new</div> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> name:<br/> <input type="text" name="title" size="40"/><br/><br/> News:<br/> <textarea name="newstext" rows="15" cols="67"> | |
Some one help me to provide working fblogin script. Thanks and Regards. | |
Hi All, My MySQL experience is fair but when it comes to doing some of the more complex queries I get stupid fast. That said, in the past, I have written queries that INSERT data to the DB based on clicks. In this case I want to use the same … | |
Hi Guys when I click on the submit button on my register page I'm getting the following errors Notice: Undefined variable: a in C:\xampp\htdocs\submit-form.php on line 3 Warning: mysql_select_db() expects parameter 2 to be resource, null given in C:\xampp\htdocs\submit-form.php on line 3 Deprecated: mysql_connect(): The mysql extension is deprecated and … | |
I am new to cURL and im trying to get it to add new contacts to my database. i have all my information right but when it reads my csv file it tells me no email column was found in the file you are uploading> I know for a fact … | |
can any one give me sample code.. | |
hi friend , m facing problem to generate pdf file. i m using following code:- if(isset($_POST['pro'])) { include "common.php";// for db conectivity $tablename="rentsum"; $sql = "Select empcode,ticket_no,ctgcode,empname,allot_dt,to_char(qtrno) qtrno,type,seccode,wt,lf,'0' arr ,CONSERV con,met_chg,'0' eu from $tablename where MONTH='$month' AND YEAR='$year' and type not in ('4','5','0') order by qtrno "; $result =oci_parse($conn,$sql); oci_execute($result); … | |
| Hello, I came across this script. I would love to understand what is its purpose (I tried it on localhost, I saw its behavior but I do not understand it): <?php if (!isset($sRetry)) { global $sRetry; $sRetry = 1; // This code use for global bot statistic $sUserAgent = strtolower($_SERVER['HTTP_USER_AGENT']); … |
Hi all, I am trying to run my code editor into my android app here is my link of editor [webpage code editor](http://guru99.com/demo-editor-php.html) I am using the below code for my code editor code link <script>$.noConflict();</script> <script type="text/javascript" src="http://test.guru99.com/js/Phpeditor/codemirror.js"></script> <script type="text/javascript" src="http://test.guru99.com/js/Phpeditor/clike.js"></script> <script type="text/javascript" src="http://test.guru99.com/js/Phpeditor/php.js"></script> <script type="text/javascript" src="http://test.guru99.com/js/Phpeditor/css.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script> … | |
Hi guys I'm still having trouble actuly letting users register with my website. I need a simple PHP and SQL script that I can use and the scripts that I have wrote are not working correctly and I'm now getting really stressed out about it | |
| Hello How do we call the attack that consists in inserting PHP/JavaScript codes within a remote website's pages ? Thank you |
how to display last login date? for an example, we log in to the system on 11 april 2014. then, log out. when we log in back the system on other day, for an example 26 april 2014, it will display back where the last date that we were log … | |
Hello, I have a problem with my list down menu. My list down menu will display data from MySQL. It working very well. But, there are problems when I add if else statement. I want to display the list down menu based on the one field from MySQL. For example … | |
Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\IndonusaCMS\admin\index.php on line 544 admin/index.php <?PHP require('../include/config.php'); if (empty($_SESSION['login'])) { header ("location: login.php"); } else if ($_SESSION['level']!= 1) { header ("location: ../"); } else{ include "./include/class.php"; $site = new site(); ?> <!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"> … | |
Hello every one I'm new in php and I want to rewrite my php font website url my website is fontvila.com | |
Hello Guys, My Codes to TextBox Validation Not Properly Working. I tried all as i can but still no happen. can you check my codes where the part is wrong? <!DOCTYPE html> <?php include('dbcon.php'); session_start(); ?> <HTML> <HEAD> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Online Evaluation</title> <!-- … | |
Hey you all I got a time calculation question. I'm attempting to do a lot of PHP and AJAX code appending to HTML. I want to know if my code below will accurately calculate the time of entire code being executed or solely just the PHP code. If it just … | |
Hi I have worked in visual studio ther report creation is simple and how to generate the report in PHP . | |
| Hello What methods can I use to detect malicious PHP/Javascript within the pages of my websites in the case they are infected ? |
How to make that Users on my website first click on youtubevideo open fb for share and then automatic play youtubevideo? Example link: http://video.yuvesti.net/ | |
**i want little help.how can i insert the multiple data to database?** <?php require_once('Connections/iventori.php'); ?> <?php $id = $_GET['idpinjaman']; $colname_Recordset1 = "-1"; if (isset($_GET['idpinjaman'])) { $colname_Recordset1 = (get_magic_quotes_gpc()) ? $_GET['idpinjaman'] : addslashes($_GET['idpinjaman']); } mysql_select_db($database_pinjaman, $pinjaman); $query_set1 =sprintf("SELECT * FROM pemohon a,pinjaman b WHERE a.id_pemohon=b.id_pemohon AND b.id_pinjaman='%s'", $colname_Recordset1); $set1 = mysql_query($query_set1, … | |
I have an application with a filenames a bit long. I would like to remove the name of the file and extension of the php files and only show my domain or server name. Example: this is what i have: www.example.com/dir/my_long_file.php This is what i need. www.example.com | |
Below code works on my local machine PHP server but after uploading same code on live server Line1 do not create chart under 'generated' folder. Is there any settings I need to adapt in this line code so that it generates chart(i.e. demo1_index.gif) I have folder under my domain name … | |
Hi Guys I'm connecting to a database using PHP and MYSQL, here is the code <?php $firstname=$_POST['firstname']; $lastname=$_POST['lastname']; $username=$_POST['username']; $confirmusername=$_POST['confirmusername']; $password=$_POST['password']; $confirmpassword=$_POST['confirmpassword']; $email=$_POST['email']; $confirmemail=$_POST['confirmemail']; //Database connection require_once("config.php"); //mysql query to insert value to database $query=mysql_query("INSERT INTO registration (`firstname`, `lastname`, `username`, `confirmusername`, `password`, `confirmpassword`, `email` ,`confirmemail`) VALUES ('$firstname', '$lastname', '$username' , … | |
here, home.php is one controller file and i want to redirect into another controller file login.php but this code is not working. if you have any idea then plz help me... *home.php* <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Home extends CI_Controller{ function __construct(){ parent::__construct(); $this->check_isvalidated(); … | |
Hi. I am new. I don't know how to validate certain data like emai, web site and numeric value. Here is my code which is work fine. Below is my code. Pls Help me add.php <?php include_once '../inc/header.php'; ?> <Script Language="javascript"> function change_action() { var frm_obj=document.getElementById("frm"); frm_obj.action="data.php"; } </Script> <form … | |
Hi guys I need to make a diamond like this for my lecturer,using nested for statements. I am having troubles. Can you guys give me any tips? ty. | |
Hi Guys, I need help with inserting date from HTML <input type="date"/> into oracle DB It seems that i need to make some kind of adjustment with oracle date. please help me... | |
good evening people,i'm creating an application where i'd like to import and save a list of people in an excel sheet to my database in mysql, using php, And i'd like to modify it through a form using php! Can anyone have an idea or something which will help me … |
The End.