39,320 Topics

Member Avatar for
Member Avatar for cali_dotcom

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 …

Member Avatar for pritaeas
0
102
Member Avatar for ElegantElephant

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 …

Member Avatar for saiprem
0
84
Member Avatar for xuexue

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 …

Member Avatar for xuexue
0
279
Member Avatar for lonestar23

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

Member Avatar for lonestar23
0
278
Member Avatar for eantz

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 …

Member Avatar for phpbeginners
0
183
Member Avatar for drewpark88

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 …

Member Avatar for drewpark88
0
160
Member Avatar for drewpark88

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 …

Member Avatar for drewpark88
0
148
Member Avatar for xuexue

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 ^_^

Member Avatar for xuexue
0
77
Member Avatar for cloud09

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 …

Member Avatar for cloud09
0
87
Member Avatar for xuexue

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 …

Member Avatar for xuexue
0
173
Member Avatar for achiman

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

Member Avatar for zodiacfive
0
73
Member Avatar for michelleradu

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 …

Member Avatar for michelleradu
0
161
Member Avatar for wonderland

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 …

Member Avatar for wonderland
0
258
Member Avatar for prithvi.web

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

Member Avatar for Jerail
0
2K
Member Avatar for Mouse1989

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

Member Avatar for Jerail
0
106
Member Avatar for cane23

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 …

Member Avatar for chrishea
0
92
Member Avatar for nil_gh_80

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

Member Avatar for Ezzaral
0
179
Member Avatar for daneuchar

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

Member Avatar for daneuchar
0
75
Member Avatar for michaelwebster

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 …

Member Avatar for michaelwebster
0
89
Member Avatar for lemonizer

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 …

0
87
Member Avatar for ursrathika

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

Member Avatar for Jerail
0
110
Member Avatar for reccaah

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

Member Avatar for saiprem
0
56
Member Avatar for sutt0n

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?

Member Avatar for saiprem
0
93
Member Avatar for mangel.murti

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 …

Member Avatar for saiprem
0
134
Member Avatar for dks1383

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.

Member Avatar for saiprem
0
116
Member Avatar for Slammer

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&amp;module=1&amp;category=11" style=""> kaut kas cits </a> …

Member Avatar for Slammer
0
125
Member Avatar for nats01282

[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) …

Member Avatar for Arsench
0
69
Member Avatar for gaberb

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 …

Member Avatar for kvprajapati
0
140
Member Avatar for s2xi

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

Member Avatar for urtrivedi
0
133
Member Avatar for Benbo1980

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 …

Member Avatar for freshmem
0
1K

The End.