39,323 Topics
| |
I would love to know, if it's possible to get a specific data from a specific mysql table.. Let say on the table itself has a Varchar ... mixed of words and floats.. and then ... I want to pull only the float from the table using php... can it … | |
i am getting this error Notice: Undefined index: firstName in C:\xampp\htdocs\flasblog\test.php on line 3 Notice: Undefined index: lastName in C:\xampp\htdocs\flasblog\test.php on line 3 here is my php code [code] <?php include_once"scripts/connect.php"; ?> <?php $text=$_POST['firstName']." ".$_POST['lastName']; $to="anubhavjhalani09@gmail.com"; $subject="Message from php"; //data insert into database $sql="INSERT INTO entries (contents) VALUES ('$text')"; echo … | |
How I can send email from localhost. I am using XAMPP in windows 7; and I want to send on GMail | |
Hi.. Is it possible to set a email server on localhost? Thanks, Divya Krishnan | |
Hi all, I want to alert the user that his session time is expired . There are two options after session expired 1, redirect user to login page 2, ask user to extend their session time Guys , i never implement this feature in any of my project , can … | |
Hi all.. I am doing the display board for my company. My problem is I don't have any idea how to count every minutes that given. Like every 5 minutes it count 1 then 5 minutes later it count 2 until the certain time. Can anyone give me some hint … | |
I have a table which has the number of rows depended on what the number is in the spinner. This does work e.g If I enter 25 in spinner it comes up with 25 rows, if I enter 7 in spinner comes with 7 rows. So my problem is this: … | |
Dear Friends, I'm developing a website that can show online users, When ever a user logged we can update the status to "Online" On our database. Now i'm using AJAX. Is it possible to show the online users without refreshing a page ? That means timed interval for a ajax … | |
Dear Friends, [CODE]<a href="javascript:void(0)" onclick="javascript:chatWith('babydoe')">Chat With Baby Doe</a>[/CODE] Please convert this into regular php expression please. Thanks in advance | |
hi all i am new to php and i am using wampserver to execute programs of php I want to use mysql to retrieve data from a php program but i am unable to use php from wamp can anyone help me please when i am trying to open mysql … | |
when i used unlike function to delete file this error Occurs : Warning: unlink() [function.unlink]: Permission denied in D:\xampp\htdocs\acc\admin\mag.php on line 18 what i can do? | |
I am adding a page to my site that allows doctors to send me referrals. Some of the data will be highly sensitive, so I need to be sure that it is handled as securely as possible. The data doesn't get stored in a database. It is simply emailed directly … | |
hello! i use this command and run it on localhost in my pc <?php exec('mspaint "C:\path\to\image.jpg"'); ?> and this $cme='notepad.exe'; passthru($cme); | |
Hi everyone. I'm new in php and need someone to help my problem. I have one table name [B]data_transaction[/B], from this table i'm want to search data between two dates that user key in. Here my code, $sum = "SELECT * , SUM(trans_charges) FROM data_transaction WHERE Location = 'HA1' AND … | |
Ok, I am walking my way through an instructional php book and basically going over the basics again. After I finished doing the script the way the book said to do it, I kept getting a header error saying that the headers have already been submitted. The book had my … | |
I have upload files over the live domain. and some files are process files. how I can limit the permission of the files so user cannot type that file's name on the url address bar? example of file permission code, 0755, 0644 Can someone gives me the list, and the … | |
I have a form and php code to register a user. It's not complete, but right now I'm trying to get the insert query to work and put the data entered from the form into the sqlite database. I've tried entering the data by puting the form variables in the … | |
Alright, let me start by saying that I know zero PHP or SQL code, myself. I have a SQL guy creating tables, and I've been using what I've found on W3C Schools. So far it's been ok, but I have a problem I need solved. I have created an HTML … | |
Hi every one, Can you please help me to figure out how I can use PHP to print out contents of a div element as pdf file? I would like to create a button which let page viewers to save a specific div(let's say students Mark in a html table … | |
I have an array that looks like this: [CODE]array 0 => array 'Time Stamp' => string '11/22/2011 00:05:00' (length=19) 'Name' => string 'CAPITL' (length=6) 'PTID' => string '61757' (length=5) 'LBMP ($/MWHr)' => string '48.24' (length=5) 'Marginal Cost Losses ($/MWHr)' => string '1.13' (length=4) 'Marginal Cost Congestion ($/MWHr)' => string '0.00' … | |
Hi all. I have this problem within the form. I take data from a DB and pass it on using POST. Considering that I fetched array correctly, the following code has the following output: echo $value[0]; //echoes [B]Hello World[/B] echo "<input type=hidden name=value value=".$value[0].">"; //when echoed in the form action … | |
Hi, In my website, Blog is a small portion. I have managed to make and insert the blog. In manage blog area I am giving a user this a authority to manage their written blogs. At this point I am getting a problem. When I am logged as 'A' (A … | |
I have a PHP page created that pulls from a database and and displays records with a repeat region. I am experimenting with jQuery to move the table rows around, which seems to work. Now, I need to be able to edit the table fields within the page as opposed … | |
Hello, I'm doing a website about a music school, in this moment i'm working the list of instruments: [CODE] <?php $username = "root"; $password = ""; $hostname = "localhost"; $database = "esola_musica"; $connect = mysql_connect($hostname, $username, $password) or die("Erro na ligação à BD."); mysql_select_db($database,$connect) or die(mysql_error()); $sql_imagem = "SELECT cod_curso, … | |
Hi php geeks, I'm just looking for PHP exercise online. If anyone knows websites that offer hands-on PHP exercise, Please send me a link or something that redirects me to useful exercises. Your help will be appreciated. Cheers, | |
hye everyone..i just want to share my problem using php..:$ i have data for field [B]total[/B] i.e total = (2,3,4,5,62,45,67,89,10,23,11,23,98,12) from all data i want 5 max values only. please help me to meet the solution.:) | |
[U]Table's name: grandTotal[/U] (have two fields :defect_code and total) defect_code total LM 23 FM 15 DF 5 How this data can be an array like this array("LM" >=23, "FM">=15,"DF">=5) using query? please help me..:S | |
hi there) guys, please tell me - is it any way to make associative array in php without assignment values to the arrays elements? in my situation i need to read indexes names from txt-file -so i can't immediatly give them values.....what will you advice in this situation? Is there … | |
i try to run this code but it returned this error : Parse error: syntax error, unexpected T_STRING in C:\xampp\htdocs\removeproducts.php on line 31 could u please help me........ <html> <head> <title>removeproducts</title> <meta http.equiv="Content-Type" content="text/html; charset=iso-8859-5"> </head> <body bgcolor="#FFFFFF" text="#000000"> <p> </p> <table width="37%" border="0" align="center" cellpadding="0" cellspacing="0" height="66"> <tr> <td bgcolor="#000000" … | |
Hi friends i am having n number check box, if i checked one check box it has to select all the similar values of the check box and the other check box should be disable. can any one help me to solve the issue i am having a java script … |
The End.