Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
75% Quality Score
Upvotes Received
6
Posts with Upvotes
6
Upvoting Members
6
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
4 Commented Posts
4 Endorsements
Ranked #402
Ranked #914
~12.4K People Reached
Favorite Tags
Member Avatar for gamersADDA

#Parse error: syntax error, unexpected '$Email' (T_VARIABLE) in C:\xampp\htdocs\test1\connect.php on line 3 <?php if(isset($_POST ["password"]) $Email=$_POST['email']; $password=$_POST['password']; $conn = new mysqli('localhost','root','','test1'); if($conn->connect_error){ die('Connection Failed : '.$conn->connect_error); } else{ $stmt = $conn->prepare("insert into login(email,password) values(?,?)"); $stmt->bind_param("ss",$Email,$password); $stmt->execute(); echo "login Sucessfully..."; $stmt->close(); } ?>

Member Avatar for effu
0
184
Member Avatar for Mike_danvers

hi!!m doing my college project on "online digital photo printing"where a customer can upload,edit and order photos at home the problem i am facing is:-i want to provide my users a "price list of photo type(passport size=rs XXX,stampsize=rs YYY)" and these prices should be entered by "admin"in a form..that gets …

Member Avatar for diafol
0
173
Member Avatar for Linddha

how to show data from database in 10 hours ago ex: Article id | title | date ( using datetime) | 1 | data1 | 2014-02-1 01:00:00 2 | data2 | 2014-02-1 07:00:00 3 | data3 | 2014-02-1 11:00:00 4 | data4 | 2014-02-1 12:00:00 Now = 2014-02-1 12:00:00 query …

Member Avatar for effu
0
216
Member Avatar for rajilakshmi

I am using the linux OS to create an web application using PHP. In this I want to upload a file and move to a folder.I want to move the file up to the size of 25 MB. I used the code ini_set('max_upload_filesize', '25M'); But its not working. Is there …

Member Avatar for effu
0
68
Member Avatar for ppetree

OK gang! I have another stumper! I want to add a variable to an array from within a function and I will not know the variables original name so how can I find this? For instance: [CODE] function AddVariable($vartoadd) { $varlist[] = $vartoadd; } $domain = http://www.dodatingsiteswork.com; AddVariable($domain); [/CODE] Once …

Member Avatar for jj_pix
0
207
Member Avatar for ronysios

[CODE]<? ob_start(); ?> <!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" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Guitar Wars - Add Your High Score</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <h2>Guitar Wars - Add Your High Score</h2> <?php require_once('appvars.php'); require_once('connectvars.php'); if (isset($_POST['submit'])) { // Grab …

Member Avatar for ronysios
0
117
Member Avatar for Tariq12010

Hi Sir, My name is tariq , i am intrnee developer in my company . i have project EPS which i will make using joomla cms mvc so i need help more because i am intrnee please must be help me any one thank you very for this kind of …

Member Avatar for Tariq12010
0
96
Member Avatar for digital_plunder

when i try to access this login page..an empty page open...please help with this coding [CODE] <!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>Latest</title> </head> <body> <?php include("db.php"); if (isset($_POST["submit"])) { $username=$_POST["username"]; $password=$_POST["password"]; $query="select * from latest where username='$username' && password='$password'"; …

Member Avatar for digital_plunder
0
145
Member Avatar for JukesK

Firstly, Sorry for the long post :) Im currently creating a training database for use within the business (not done many getting used to coding) I used MySQLMaestro to construct the datagrid and have modified it to suit most my needs. however i have one issue that i cant resolve. …

Member Avatar for JukesK
0
267
Member Avatar for aaloo

2day i hve another problem ..this is my code [CODE]<?php $data = mysql_query("SELECT * FROM entries ORDER BY id DESC LIMIT $x , 3") or die(mysql_error()); while($info = mysql_fetch_array( $data )) { echo" <div id=\"containing\">s <h1>".$info['contents']."</h1> <div id=\"parent\" > <p >".$info['author'] ."</p> </div> </div> <?php echo "<a href=\"$info['contents'].php\" >READ MORE</a>"; …

Member Avatar for aaloo
-1
318
Member Avatar for drugoholic

Hello, I'm trying to edit the style of a normal html table in Joomla/K2 that outputs the author, title of the article and date. The problem is (I thought joomla does this automatically) is that the header of the table keeps repeating on every new record. [URL="http://i.imgur.com/sopAi.jpg"]Screenshot[/URL] I realized that …

Member Avatar for drugoholic
0
428
Member Avatar for maydhyam

[B]Good Morning, I have a CSV file with thousands of rows of data, and I want to have this data uploaded into a table in a MySQL database. I also want an area where the file could be selected from the computer for the data to be uploaded. Could this …

Member Avatar for shailendra2614
0
501
Member Avatar for sakwoya

Hi all I have been looking at the following upside down and sideways for a day now. I have a PHP page that is making use of a session value in an SQL query. The query requires an integer (it's searching on the numeric index of a table in the …

Member Avatar for sakwoya
0
971
Member Avatar for solidrichard

Hi i have problem in my login code. Firts someone fill in login informations this is checking code [CODE] // mysql connection $username=$_POST['username']; $password=md5($_POST['password']); $username = stripslashes($username); $password = stripslashes($password); $username = mysql_real_escape_string($username); $password = mysql_real_escape_string($password); $sql="SELECT * FROM users WHERE username = '$username' and password = '$password'"; $result=mysql_query($sql); $count=mysql_num_rows($result); …

Member Avatar for solidrichard
0
180
Member Avatar for revathis

Hi, I am new to PHP. I have installed apache, PHP 5.2 and MySql. Plz tell me How I run PHP programs?? Thanks & Regards, Revathi

Member Avatar for riya...
0
198
Member Avatar for OmniX

Hi Everyone I was just wondering what would be the cost of average website (images/text/etc) that contains frames and 15 webpages which incorporates HTML and CSS and minor FLASH? Then seperately how much would it cost if it was connected to a database using PHP and MYSQL. The database would …

Member Avatar for marv36
0
212
Member Avatar for chaitanya15385

I had written javascript calculation for hotel accommodation system. The calculation part is working in Mozila fire fox, but it is not working in IE6. I checked the internet options in IE6 and enabled active scripting, still it is not working.Is there any other option. Please give me the solution …

Member Avatar for almostbob
0
158
Member Avatar for CreativeCoding

Well, I am making an upload for people who make games with the Unity game engine. Basically, the engine will build the game and produce an html file and .unity3d file. here is my html form: [CODE]<html> <body> <form action="upload_file.php" method="post" enctype="multipart/form-data"> <label for="file">Index file:</label> <input type="file" name="file" id="file" /> …

Member Avatar for CreativeCoding
0
119
Member Avatar for atzaman

Hi guys Wondering if someone could give me a hand with another problem I'm currently having. A little background first... I'm trying to pick up a daily report which is in XML format via a URL. I then need to parse that data and insert it into a MYSQL table. …

Member Avatar for atzaman
0
284
Member Avatar for kirtan_thakkar

I have a text file and i want it to open and add all the line to an array. Which function is used in php for that task?? Which separator is used for a new line..?? Can any one help...

Member Avatar for rajarajan2017
0
76
Member Avatar for Sucesso

I've got what I think must be a pretty simple question, but it's my first time doing something like this. Here's my situation. I have a simple database. It's a dictionary of words. I want to have a form that I can enter a word into. Once I do that, …

Member Avatar for effu
0
122
Member Avatar for BTW8892

Hey, I have yet another question, so here it is. I have a roster page, and i have multiple players on the page. The players each have a unique playerid stored in the database. Now what i want to do is link up their name on the roster list that …

Member Avatar for effu
0
85
Member Avatar for bjeffries

I have been working on this for a while now and have had no luck. I have tried this code on 2 servers and they both render the same results: everything loads up to the title and description. Does anyone know what could possibly be the problem and help me …

Member Avatar for bjeffries
0
85
Member Avatar for saji.ka

Dear All, I am new to PHP. I would like to include video (Flash Videos) in the website using PHP. Can u please help by giving the code. Saji

Member Avatar for MalikAamir
0
800
Member Avatar for arnoldsmith

i saw that most of the facebook applications are developed on php so i also want to create a social networking application so i wanna know which language is suitable for social networking application PHP or .NET <URL SNIPPED>

Member Avatar for chrishea
0
94
Member Avatar for Aamit

[code] <?php if(isset($_POST["send"])) { $name = $_POST["name"]; $email = $_POST["email"]; $msg = $_POST["msg"]; echo(" Hello!<br />"); if(empty($name)) { echo(" - There was no name!<br />"); } if(empty($msg)) { echo(" - There was no message!<br />"); } // IF THEIR ARE NOT EMPTY if(!empty($name) && !empty($email) && !empty($msg)) { //code for …

Member Avatar for digital-ether
0
110
Member Avatar for mrrsx2006

I'm interested in learning more about PHP and MySQL. What source would you guys reccomend? I'm looking for something online that can first teach my PHP a bit better then the relation with MySQL. I don't want the main PHP site but some eBook or something maybe you guys can …

Member Avatar for ExplainThat
0
98
Member Avatar for ryy705

Hello, Is it okay to save credit card data in the database. I know it will be password protected but still, it will be a disaster if someone ever hacks in. How do real world companies(mine is school project) save their customer's credit card information? Thank you in advance.

Member Avatar for djnzak
0
469
Member Avatar for Kavitha Butchi

Hello All, Is there a way how we can pass a PHP variable whose value has been retrieved from MySQL database to the next page? Initially I tried this which didnt help me anyway. [code=PHP] // if user login information is CORRECT then redirecting them to the user home page …

Member Avatar for Kavitha Butchi
0
217
Member Avatar for Fungus1487

Ok short of re-inventing the wheel here i wanna know if there are any features you would like to see implemented in a CMS that perhaps you havent seen elsewhere. I have a final year project to undertake and aswell as this being useful for myself and my own clients …

Member Avatar for ducdeeze
0
123