39,310 Topics
| |
Please can anyone tell me if it is possible to write a program that will auto suggest or auto complete a search word from a MSAccess database using PHP and Ajax. Thanks | |
| Hi I need to save the values printed in a html table from the database in a CSV file if requested by user. I've only managed to save the header of the table so far. The MySql query is made in a page called reportclient.php which then calls phpReportGen.php in … |
Hi, I'm quite new to CMS I was browsing the internet and it seems that there are A LOT if CMS around. I hope that someone who has had experience with CMS could help me with choosing the right one. From my research I understand that 3 biggest players are … | |
Hi, I am chasing after a html table which will be made based on a multidimensional array. The structure is [CODE]Array ( [az] => Array ( [0] => Array ( [work] => dsdsds [time] => 2:47---2:55 [total] => 8 ) ) [an] => Array ( [0] => Array ( [work] … | |
Just trying to get a very simple form working Getting a Parse error: syntax error, unexpected T_IS_EQUAL on line 10 [CODE]<?php $to = ""; $subject = "Contact Us"; $name = $_REQUEST['name'] ; $email = $_REQUEST['email'] ; $message = $_REQUEST['message'] ; $headers = "From: $email"; $embody = "Name: $name\nEmail: $email\nSuggestion: $message" … | |
i want some assistance on the usage of the switch case function. i have a form that allows the uses to select multiple courses, once these courses are selected and submit is pressed i want the courses to be validated via the information in the database eg 1. controls and … | |
<h1>Hi members, I'm an MCA want to earn some money through online project on PHP & MySQL...can anyone help me how can I get the job</h1> | |
hi, i wanna print the result in a table but i am failing to do so.. other query in my table are working but dont knw why this query is not displaying in the table [CODE]SELECT user_profile.user_id, user_profile.user_name, payroll.salary, payroll.hra, payroll.da, payroll.pf, payroll.nsa, payroll.ince, user_profile.desig, user_data.period, user_data.work_hours FROM payroll, user_profile, … | |
I work on a mac OSX 10 +. I an looking for some software that can enable me to change a word of text in a file ( php file or otherwise ) without having to open each file individually. Let me explain - I have a folder named 'code … | |
I'm sure there is a more elegant way of doing this, but it was something that my feeble PHP skills could barely handle. I am creating a report based on month. And the db did not have a values for every month. Thus to generate a report, I needed to … | |
I require to appear the Name which i click on the "new.php" page in the "Window_open.php" page..I use some Java Script also to accomplish this but I couldn't.. [B][U]how to pass textbox value in popup....[/U][/B] Could you pleas Help ...!!! Expand|Select|Wrap|Line Numbers [code] 1. ----------The Code in "Window_open.php" ------------------- 2. … | |
<validate> <keyword> <id>1</id> <name>Priya</name> <qulification>MSC</qulification> </keyword> <keyword> <id>2</id> <name>ram</name> <qulification>BSC</qulification> </keyword> <keyword> <id>3</id> <name>Roja</name> <qulification>MSC</qulification> </keyword> </validate> i need some php sample code that retrieve datas from above xml file for the particular id. please help me. | |
Ok, so basically I have a flashplayer (standard flv player basically) and it's embeddable from different people. I want to be able to track where this is embedded. How would I do it? | |
hello all, if user uploading image for first time it will insert and if changing image then update query process.. my problem is that i am providing a popup window for image upload.i want after upload image childwindow should close and parent window reload or refrsh... i tried a lot … | |
Hi all I have a website and I have put some links to another websites in my website , but when my users click on the links, I show the content of other websites in iframe is this Copyright violation? thanks. | |
Hi, my problem is in regular expression. I need to catch from html code hyperlink tag's href atribute content if this hyperlink contains search condition. here is snippet: [CODE=php]$a = "nail"; //search ctriteria between <a></a> $s =<<<EOF <a class="level2" onmouseout="this.style.background = '';" onmouseover="this.style.background ='#2c7cf4';" href="index.php?item&module=1&category=11" style=""> kaut kas cits </a> … | |
[CODE]<?php $a = '10'; if ($_POST["email"]<>'' && $_POST["val"] == "$a" ) { $ToEmail = 'myemail'; $EmailSubject = 'Site contact form '; $mailheader = "From: ".$_POST["email"]."\r\n"; $mailheader .= "Reply-To: ".$_POST["email"]."\r\n"; $mailheader .= "Content-type: text/html; charset=iso-8859-1\r\n"; $MESSAGE_BODY = "Name: ".$_POST["name"]."<br>"; $MESSAGE_BODY .= "Email: ".$_POST["email"]."<br>"; $MESSAGE_BODY .= "Comment: ".nl2br($_POST["comment"])."<br>"; mail($ToEmail, $EmailSubject, $MESSAGE_BODY, $mailheader) … | |
Can I call two PHP scripts from the same onBlur? In the code below the preFilladmin function creates a JavaScript error after leaving the admin_uid field [CODE] // Set this to your validation PHP script, default is "validate.php?value=" var vUrl = "/validate_assignIP.php?value="; // This is the array for error handling … | |
Hey, so I have a form and i want to break down the form into 2 sections when inserting into my database. I have made 2 tables to hold my values. this is my SQL statements. [CODE] $sql_insert1 = "INSERT INTO `agent_users` (`user_name`, `password`, `primary_email`, `secondary_email`, `join_date`, `last_accessed`, `activation_code`, `first_name`, … | |
Hi there, I have successfully setup a page using a tutorial (shown [url]http://www.phpeasystep.com/mysql/10.html[/url]) It's all working fine as it stands. I have now added another column to the database that can either be 1 or 0 and I would like to be able to change it on the update page … | |
Hi guys, its nice meeting you all, forgive me i might be asking simple questions believe me im totaly new to PHP and im so lost. Help me out with this. Create an array with random number of elements and each value and each value is random itself. Display array … | |
I'm using the below code to create an html file using fopen and fwrite. In the html source code I trying to add carriage returns using \n, but I'm not having any luck [CODE] $filename = 'textfile.html'; $newstring = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n' $newstring .= '<html … | |
hi........... my update code is working correcty.... .....but i want update links in front of every record of table ... plz tell me how it is possible........... thanx for last reply..... m pretty new in php [code=php] [file name=updaterecord.php] <? $con=mysql_connect('localhost','root','root'); if (!$con) { die('Could not connect: ' . mysql_error()); … | |
Hi! I have a PHP script I've downloaded from somewhere (don't remember where, but the developers link is dead) and I want to modify it. Actually I want an extra page. The script has 2 files, tw.php and parse.php. In tw.php you should enter your twitter account (user+pass) and the … | |
Hi, I have a folder with full of files. Instead of downloading files one by one, how can I zip or rar that folder to download? Thanks in advance | |
I have a section in my PHP page containing this bit of code: [CODE] echo '<div style="float:left;"><h3><strong>Edit User Account</strong></h3> Date Registered: ' . $db_regdate . '<br> User Type: ' . $usertype . '<br><br> <form class="right_aligned" id="form1" name="form1" method="post" action=""> <label>First Name*</label> <input name="firstname" type="text" id="firstname" value="' . $db_firstname . '"/> … | |
hi. i am senthilmurugan. i am learning to php language. one error occur. i try to connect to database. [B]Can't connect to MySQL server on 'localhost' (10061)[/B]. how to correct the error . please reply the answer... | |
I'm using simplexml_load_string to extract a node from an xml filen xml file. It works most of the time, but not all, and when it fails, it gives the error: "call to a member function xpath() on a non-object" I suspect it's because the $menuXML isn't fully loaded? It is … | |
i have two form in one page.After submitting one form1 i want to send all the variables of form1 is passed through ajax to the another page and if value is matched in database then i want to dispaly second form.please help me only for ajax coding. | |
I am currently working on a client management system for my Computing Coursework and I've come to the "Client Details" section, which allows staff and admin to view personal information about each client. I've successfully coded the query and everything else around it, I'm just a but stuck on how … |
The End.