39,323 Topics
| |
[code=javascript] function label_parameter(id,ind) { var clicked_row = id; alert(clicked_row); } [/code] is it possible to pass the value of clicked_row to an object in html?? thanks thanks..^^ | |
Hi This isn't specifically a php issue, but i would be using php for the project... i am creating a site where people can upload articles, photos, docs etc - thing is, I want to keep everything as its own entity and use tables to link articles to images etc... … | |
Hi, I have a captcha example and works fine. However, only image is dispayed on the screen. HTML form is not visible. I believe this related to the "header" bit in the class file. I added the code. Please help me solving this problem. Thanks [B]index.php[/B] [CODE]<?php require_once "CaptchaSecurityImages.php"; $width … | |
Hi all, i am using preg_match_all to the ids and contents within a custom html tag, it all works fine if the contents within the tags are all in one line, but if they go over multiple lines, it doesn't match it. here is the code and a sample of … | |
I have a table called projects, and I'm currently coding the "create a project" functionality that allows the administrator to create a new project and save it in the projects mysql table. I have a slight problem though, I have two fields/inputs named start date and deadline date, what should … | |
hi! i just want to know, is it possible to pass the value of a variable coming from javascript to php?? knowing that the variable is inside a function?? [code=javascript] function (id,ind) { var clicked_row = id; } [/code] i want to pass the value of clicked_row to php.. thanks … | |
How would I go about passing a user agent when requesting an external xml feed from a 3rd party web service. Need to pass the user agent or else the feed produces an error. I am using DOM [code] <?php $request1 = 'http://www.abc123.com/webservice/this.xml'; $requestIT1 = $request1; $response1 = new DOMDocument(); … | |
Hi all, I'm still a newbie in programming world.. And I just realized that PHP has a function "mysql_insert_id()" to get the most recent id that generated by AUTO INCREMENT. But, before I use it, I want to know Is it safe to use it when many users insert data … | |
Hey Guys I have a problem with my mailing script. I have a new script to process transactions and it is working fine. What I need to do is send an email after someone submits a form ONLY if it is approved. So I have my php donation form, a … | |
Hey Guys, did not post the code but here it is now. Oh and basically what is happening is I am now getting and error. The $message variable is what's causing problems. Everything works if I take out the $message. How do I get this to work? Here is the … | |
hi guys, i want to have a data grid in php in which it will function like the same control/object in vb6. now is there any control/object similar to that of in vb6??? thanks ^_^ | |
I am working on a picture gallery management system for a website. I have the dynamic gallery done, and I am nearly done with the part that edits the gallery. However I have run into problem that no matter what I try doesn't want to go away. When the user … | |
Hi guys, i just want to ask what is the congruent function in php which acts like CDec() in Visual Basic 6.0? Is it the round() or round off?? same with the data types Single and Currency in VB6.0.. Visual Basic 6.0 PHP 5\ Single (data type) __________________ Currency (data … | |
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) … |
The End.