39,316 Topics

Member Avatar for
Member Avatar for rayidi

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 …

Member Avatar for rayidi
0
538
Member Avatar for rayidi

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

Member Avatar for pritaeas
0
128
Member Avatar for sharathg.satya

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 …

Member Avatar for pritaeas
0
162
Member Avatar for eng.naguib

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?

Member Avatar for urtrivedi
0
163
Member Avatar for pallen

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 …

Member Avatar for urtrivedi
0
128
Member Avatar for naraza

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

Member Avatar for naraza
0
98
Member Avatar for shamsidah

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 …

Member Avatar for suresh ma
0
123
Member Avatar for Dante2

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 …

Member Avatar for Dante2
0
187
Member Avatar for dean8710

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 …

Member Avatar for dean8710
0
187
Member Avatar for jfunchio

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 …

0
78
Member Avatar for brandonpturner

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 …

Member Avatar for brandonpturner
0
935
Member Avatar for Behseini

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 …

Member Avatar for broj1
0
335
Member Avatar for tgr0ss83

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

Member Avatar for cereal
0
94
Member Avatar for martin11ph

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 …

Member Avatar for martin11ph
0
140
Member Avatar for BilalAKhan

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 …

Member Avatar for simplypixie
0
79
Member Avatar for btvbill

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 …

Member Avatar for pritaeas
0
122
Member Avatar for PF2G

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

Member Avatar for PF2G
0
160
Member Avatar for rotten69

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,

Member Avatar for rotten69
0
208
Member Avatar for shamsidah

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.:)

Member Avatar for rotten69
0
104
Member Avatar for shamsidah

[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

Member Avatar for shamsidah
0
119
Member Avatar for vedro-compota

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 …

Member Avatar for cereal
0
93
Member Avatar for nfaezah

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>&nbsp;</p> <table width="37%" border="0" align="center" cellpadding="0" cellspacing="0" height="66"> <tr> <td bgcolor="#000000" …

Member Avatar for pritaeas
0
75
Member Avatar for rpv_sen

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 …

Member Avatar for rpv_sen
0
199
Member Avatar for skunkmedia

Hello all, First and foremost I would like to thank anyone who will end up contributing to this thread. I'm relatively new to PHP/MySQL and did a site migration for a client to a different server. The website was working perfectly fine before, however now I am getting these errors. …

Member Avatar for simplypixie
0
300
Member Avatar for jithusdani

hi freinds,, In my application i have to send email to a specified email, I have done this and its working fine , Now I want to send some word attachment in the same email id. The word attachment will select the user through the application as browse option just …

Member Avatar for dean8710
0
157
Member Avatar for aaloo

this is my as3 code which is sending variables to php [code] var myData:URLVariables = new URLVariables(); myData.firstName = "Kirill"; myData.lastName = "Poletaev"; var myRequest:URLRequest = new URLRequest("test.php"); myRequest.data = myData; myRequest.method = URLRequestMethod.POST; var loader:URLLoader = new URLLoader(); loader.dataFormat = URLLoaderDataFormat.VARIABLES; try { loader.load(myRequest); } catch (error:Error) { trace('Error: …

Member Avatar for aaloo
1
1K
Member Avatar for jfunchio

I have the registration form and everything seems to work good except when I try to insert the data into the table from the query in the php code. It will submit, but when i check the database the data is not in there. I tried multiple ways, but none …

Member Avatar for jfunchio
0
875
Member Avatar for narekm

Hello there. I am sooo despared since I cant make this work here is what I have in my logged_in.php file. <html> <?php echo "Welcome: "."<b>".$_SESSION["username"]."<b/>"; ?> <head> <div id="ajax"></div> <script type="text/javascript"> function createXMLHttpRequest(){ var XMLHttpRequestObject=false; if(window.XMLHttpRequest) { XMLHttpRequestObject=new XMLHttpRequest(); return XMLHttpRequestObject; } // else{ if(window.ActiveXObject) { XMLHttpRequestObject=ActiveXObject("Microsoft.XMLHTTP"); return XMLHttpRequestObject; …

Member Avatar for jmichae3
0
244
Member Avatar for ebanbury

Hi I have a php page, in which I would like users to be able to 'renew' a product by clicking on a button 'renew' There are no form fields to post though, as information is just shown to the user via a recordset. So basically they see their product …

Member Avatar for jmichae3
0
131
Member Avatar for JamesPublic

I'm trying to use the Fb PHP SDK to execute different Js document.getElementById innerHTML functions, depending on whether the user is logged in to Fb or not. For some reason the function won't work for me. I know my API connection is successful, and Javascript can be inserted here, as …

Member Avatar for jmichae3
0
214

The End.