39,326 Topics

Member Avatar for
Member Avatar for centenond

I remember watching a tutorial a long time ago that something like // treated the next char as part of the string I need this cus i want to echo something that needs the quotes and doble quotes, and cant use one since echo ''; is using one already

Member Avatar for centenond
0
103
Member Avatar for ZER09

Hi Is there way to enable the mail function without access to php.ini? The mail function was disable by my hosting provider, and there is no way to enable it because it was shared hosting. I already search in google how to enable mail function, but got nothing. I was …

Member Avatar for almostbob
0
569
Member Avatar for krupal5

I heard about decision making system like crystal report and I want to know how to implement CR with PHP? I have some basic knowledge about PHP,Mysql and Wordpress.

Member Avatar for chrishea
0
88
Member Avatar for ray100

I can't figure out what's wrong with this. The program works, but the deduplication doesn't work. The error I get is : Notice: Undefined variable: SongToAdd in C:\ITEC315\htdocs\users\ramojumder0\Reinforcement Exercises\Ch. 6\R.E.6-1_SongOrganizer.php on line 54 Notice: Undefined variable: ExistingSongs in C:\ITEC315\htdocs\users\ramojumder0\Reinforcement Exercises\Ch. 6\R.E.6-1_SongOrganizer.php on line 54 Warning: in_array() expects parameter 2 to …

Member Avatar for SilverKenn
0
476
Member Avatar for chaitu11

how to find number of days(days ago)different between today and database date .. eg: difference between 04/09/2014 and 06/08/2014 =(no of days ago)

Member Avatar for diafol
0
321
Member Avatar for sama.alebrahimy

hello how I can call google chart and sent to morethan three column from database in one chart thank you

0
261
Member Avatar for vitalisz

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">

Member Avatar for Bob Hensley
0
164
Member Avatar for sktthemes
Member Avatar for phaedrusGhost

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 …

Member Avatar for phaedrusGhost
0
273
Member Avatar for stokie-rich

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 …

Member Avatar for Bob Hensley
0
229
Member Avatar for abaddon2031

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 …

Member Avatar for abaddon2031
0
174
Member Avatar for chaitu11
Member Avatar for amit.chaudhari.71

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); …

Member Avatar for yamaha.jeba
0
5K
Member Avatar for begueradj

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']); …

Member Avatar for begueradj
0
176
Member Avatar for Tushar_2

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> …

Member Avatar for peter_budo
0
396
Member Avatar for stokie-rich

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

Member Avatar for diafol
0
481
Member Avatar for begueradj

Hello How do we call the attack that consists in inserting PHP/JavaScript codes within a remote website's pages ? Thank you

Member Avatar for veedeoo
0
251
Member Avatar for chocolatte.lavista_1

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 …

Member Avatar for GliderPilot
0
226
Member Avatar for nurul_1

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 …

Member Avatar for chocolatte.lavista_1
0
161
Member Avatar for davy_yg

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"> …

Member Avatar for Excizted
0
495
Member Avatar for jagdeeps24k

Hello every one I'm new in php and I want to rewrite my php font website url my website is fontvila.com

Member Avatar for Excizted
0
64
Member Avatar for jovstudios

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> <!-- …

Member Avatar for Excizted
-1
345
Member Avatar for RazorRamon

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 …

Member Avatar for diafol
0
365
Member Avatar for hiiiiii@

Hi I have worked in visual studio ther report creation is simple and how to generate the report in PHP .

Member Avatar for Excizted
-1
133
Member Avatar for begueradj

Hello What methods can I use to detect malicious PHP/Javascript within the pages of my websites in the case they are infected ?

Member Avatar for diafol
0
182
Member Avatar for gogs85

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/

0
107
Member Avatar for dukumanis

**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, …

Member Avatar for tutorials.scripts
0
233
Member Avatar for braveheart_sb

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

Member Avatar for tutorials.scripts
0
374
Member Avatar for ankit.baphna

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 …

Member Avatar for diafol
0
334
Member Avatar for stokie-rich

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' , …

Member Avatar for stokie-rich
0
378

The End.