39,402 Topics

Member Avatar for
Member Avatar for ditty

Hi I am doing an API application now. I sent the request using soap. I received the response back in xml format. For simple example i sent the request as <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:fram="http://framework.zend.com"> <soapenv:Header/> <soapenv:Body> <fram:getVersion/> </soapenv:Body> </soapenv:Envelope> Received Response as <SOAP-ENV:Envelope xmlns:SOAPENV=" http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://framework.zend.com"> <SOAP-ENV:Body> <ns1:getVersionResponse> <return>0.1</return> </ns1:getVersionResponse> </SOAP-ENV:Body> …

Member Avatar for ditty
0
379
Member Avatar for asdasd123256

I have create a web page in php. I am retrieving the values from mysql database and showing as grid view on page. I want to take a print on paper upto only datagrid. What to do..? Please help anyone with code....

Member Avatar for karthik_ppts
-1
87
Member Avatar for dhananjay-dots

Difference between require() and require_once(): require() includes and evaluates a specific file, while require_once() does that only if it has not been included before (on the same page). So, require_once() is recommended to use when you want to include a file where you have a lot of functions for example. …

Member Avatar for karthik_ppts
0
116
Member Avatar for Hani1991

Hello everyone, I've read, in the manual of PHP, about this function, i.e. quotemeta(string $str). This function [QUOTE]Returns a version of str with a backslash character (\) before every character that is among these: . \ + * ? [ ^ ] ( $ )[/QUOTE] Now, I understand what it …

Member Avatar for Hani1991
0
129
Member Avatar for staticwave

Hi, I am very new to working with php and I need a little help getting the fields from my form divided into two rows and properly aligned when output to the user. [B]Function:[/B] This is a Client Profile type of program. A form is displayed to the user and …

Member Avatar for staticwave
0
413
Member Avatar for erik216

I want to write a script if database no this record. It will insert If database have tis reord. It will update [CODE]for ($a=0; $a<count($arr_event_id); $a++) { $query1 = "SELECT evnt_id FROM sales_roadshow WHERE evnt_id = '".$arr_event_id[$a]."' "; $result1 = mysql_query($query1) or die(mysql_error()); $row_s1 = mysql_fetch_row($result1); $P_numrows1 = mysql_num_rows($result1); if …

Member Avatar for urtrivedi
0
142
Member Avatar for SolidSora

I want to update a table based on what a user enters. I know I got the username and password correct. But I keep getting an error based on my debugging code. I'm connecting to the database successfully, but it's just not updating. The variables print into the page, so …

Member Avatar for dashawk
0
111
Member Avatar for patrickm129

Hi all, I hope you're having a good day. I'm 15 and as a way to earn some money this this year I am thinking of starting a small web development business. I have knowledge in HTML (4 and 5), CSS (2 and 3), PHP 5, SQL, and some knowledge …

Member Avatar for Clanstrom
0
518
Member Avatar for Adjoa

THIS IS THE FUNCTIONS FILE [CODE]<?php function pf_script_with_get($script) { $page = $script; $page = $page . "?"; foreach($_GET as $key => $val) { $page = $page . $key . "=" . $val . "&"; } return substr($page, 0, strlen($page)-1); } ?> <?php session_start(); require("Config.php"); require("Functions.php"); //Determine if the user is …

Member Avatar for chrishea
0
183
Member Avatar for garymae14
Member Avatar for Ezzaral
0
129
Member Avatar for s0bigg

I have a MySQL database that has a list of items which gets updated everyday. The database is truncated everyday and filled back with the recent posts. After it is filled out, I need an automatic system that will send out the emails to users who have provided certain keyword. …

Member Avatar for s0bigg
0
106
Member Avatar for rajeevbu
Member Avatar for PixelatedKarma

Hey guys and gals, In my ongoing php experiments I'm trying to build a script and what I would like to do is make a group of links(they will be static) ie.... <a href="index.php">Index</a> <a href="about.php">About</a> <a href="etc.php">Etc</a> But the twist to this is I want it so that they …

Member Avatar for PixelatedKarma
0
132
Member Avatar for whiteyoh

Hi all, I have a multidimentional array that i need converting to a single array on the fly. to do this i use the following function. I need it to be changed to return the key name rather than setting it to a value [code] function array_values_recursive($ary) { $lst = …

Member Avatar for cereal
0
69
Member Avatar for topsege2007

I have a php script that i use to send mails to lists of emails in my database, but the mail appears in text form only. Now i want my subscribers to get their mails in HTML format. Please help me out.

Member Avatar for cereal
0
110
Member Avatar for 54uydf

I have 3 tables in DB, m..m relation table1: [U]id1[/U], a,b,c... table2: [U]id2[/U], x, y .. table3: [U]id1[/U], [U]id2[/U] I'm inserting new rows to table1 using a form, and the P. key field is set to AUTO_INCR, because there's no other property that can be meaningful enough to distinguish between …

Member Avatar for 54uydf
0
146
Member Avatar for baig772

i am new to JIRA i did not find JIRA category dats y asking question here how can i deploy JIRA on my server????

Member Avatar for sl_bart
0
77
Member Avatar for mwenyenia07

i have created an application which is supposed to check database after every 20 minutes to get some new data and respond accordingly. how do i implement this regular checks ?

Member Avatar for paulrajj
0
114
Member Avatar for anupama385

I have two textboxes and when I enter values in them, I want them to be displayed on the screen(not in a pop up window)...plz help me out!!!!

Member Avatar for digwnews
0
103
Member Avatar for gilgil2

Hi I am trying to include the code xta into this below url, it works with other parts on the page, but there is something to do with this URL that appears to stop it working. Would anyone be able to tell me why xta does not get inserted where …

Member Avatar for almostbob
0
254
Member Avatar for spawn2004

Hi everybody, i want to ask for help. I have a website and i will write a php soure code for uploadding files. Let's say i or user upload powerpoint presentations and need to be open in a window in the site when somebody choose the link.Can anyone tell me …

Member Avatar for digwnews
0
92
Member Avatar for bharanidharanit

hi, I hav a created a field with unique constraint, so if it got duplicated error must be returned from procedure. Wats wrong here? [CODE] $dbconn = new DbConn; $dbc = $dbconn->Fn_CreateDbConn(); $Qry = $dbc->prepare("CALL CMS_School_Insert(:SchoolID,:SchoolName)"); $Qry -> bindParam(":SchoolID",$SchoolID); $Qry -> bindParam(":SchoolName",$SchoolName); try { $Qry -> execute(); }catch(PDOException $e) { …

Member Avatar for pritaeas
0
66
Member Avatar for nyo_rady

Hi dear all in Dani web I am the beginner of cakephp and i want to ask somthing about cakephp default interface I have installed cakephp in my web server and connected with database already but my interface just don't seem the same like cakephp default interface .. could you …

0
50
Member Avatar for uselessninja

hi ...i have a problem connecting MSSQL 2005 express and php.. i've tried configuring the php.ini by removing the ; in extension=php_mssql.dll but not working i also place the php_mssql.dll on ext folder but not working again; and also i tried downloading an old ntwdblib.dll and placing it in system32 …

Member Avatar for uselessninja
0
183
Member Avatar for spivey

I need to update database table fields that contain URLs based on evaluation of the those URLs. Specifically, I need to eliminate the empty the fields of any URL that contains the directory "img_ours", and I need to take any URL that contain UPCs and change the URL formula, but …

Member Avatar for rpv_sen
0
146
Member Avatar for youvi
Member Avatar for nigelsponge

Hi, I am using a $get function to get a variable from the URL as my page subtitle. It works fine except if the variable has an apostrophe in it. Then the title has a backslash in front of the apostrophe (probably to escape that apostrophe). Not sure how to …

Member Avatar for coolest_987
0
197
Member Avatar for PinoyDev

I am having problem regarding fixing my php content page with some css. I have a page which is 980px with..I want to put an image with 70 in height and 141 in width. But i want this image to be right align...I currently have the following css but when …

Member Avatar for PinoyDev
0
113
Member Avatar for PinoyDev

Good day! I am having a little problem regarding clearing sessions. I have a link named LOGOUT in php.. when this link is click, I want to clear and detroy all sessions and redirect the user to index.php page. thank you for helping!

Member Avatar for PinoyDev
0
109
Member Avatar for Stefan_Lam88

Anyone know what is the root cause unable to open the connection in php? [CODE]CDbConnection failed to open the DB connection.[/CODE] I m having trouble connecting to mssql server connection..in yiiframework

Member Avatar for chrishea
0
149
Member Avatar for demo7up

I need help building a script to pull a random image from an rss feed and echo it out.... I just need something that searches the rss feed and pulls a random image from it! Thanks I was trying to work with this script but it only pulls text also …

Member Avatar for cereal
0
337
Member Avatar for phorce

Hello, I want to build a system that allows me to print a document (from a input field) and it prints at my home. Basically, if I'm out I have an input box that if I upload a file to it, it will print for when I get home. Same …

Member Avatar for cereal
0
109
Member Avatar for shetrick

Hi, I need some help. I have data in a table (cust) and one of the columns has multiple values in it (cat_id). I need to use those values to select data (cat_name) from a second table (cat) and display this with the data from the first table where (cat_id) …

0
70
Member Avatar for bubbafunk1

Hi All, does anyone know of a PHP FORM GENERATOR, that either exists as a downloadable app or an online generator I use a Mac. I don't want to sign up and pay per form generated, i don't mind paying for the app as long as it works. i just …

Member Avatar for mschroeder
0
316
Member Avatar for jabeen111

for example: i m currently work on online results system i can't understand how i could this.. teacher search students seat numbers in 'student enrollment' table and these seat numbers search in text fields than teacher write their numbers three columns mid marks, lab marks and terminal marks student seat …

Member Avatar for G&G Designing
0
82
Member Avatar for youvi

Hello, Am working on joomla website,I have some uploaded videos in the directory administrator/images.So in the admin side administrator could download the videos from the above directory and have to check the video is offensive or not.How to do the download part?provide me the reference,code or idea to download a …

Member Avatar for G&G Designing
0
83
Member Avatar for jacob21

Hi, I am trying when a user register in our site it automatically like our site in facebook. is it possible.. Need suggestions

Member Avatar for G&G Designing
0
84
Member Avatar for jabeen111

[B]Give me a easy example of grid insert delete update in php like mysql grid db[/B]

Member Avatar for G&G Designing
0
195
Member Avatar for mwenyenia07

can somebody send me a code that can validate a string of alpha characters and allow space between one string and another. e.g barrack obama. am using codeIgniter and am new to it and all web applications.

Member Avatar for cereal
0
89
Member Avatar for davy_yg

Hi, I have this codes: (index.html) [CODE] <body> <div id="wrapper"> <?php include('includes/header.php'); ?> <div id="nav"> <a href="#">Home</a> <a href="#">About</a> <a href="#">Portfolio</a> <a href="#">Contact</a> </div> <!-- end #nav --> [/CODE] I wonder why <?php include('includes/header.php'); ?> does not works. In other words, the codes that I have place in header.php does …

Member Avatar for azeem786
0
2K
Member Avatar for wachichornia

Hello Everyone, I am trying to delete some rows from a given table using mysql and php. No errors come up, the page doesn't die, however the records are not deleted! Here's the code [CODE] $delete_temp_query=("DELETE FROM temporary where contactemail='".$emailcheck."'"); $delete_temp=($delete_temp_query) or die(mysql_error()); [/CODE] The value of $emailcheck is [CODE] …

Member Avatar for wachichornia
0
225
Member Avatar for thomasfoster96

How can I rewrite lots of URLs using mod_rewrite in the .htaccess file, when the URLs are in the form: blog.php?month=december&day=21&year=2010&author=thomasfoster96 ? I want it to be in the form: /blog/thomasfoster96/2010/december/21/ I can't find any Tutorials, etc, so I need some help!

Member Avatar for pritaeas
0
67
Member Avatar for mwenyenia07

I have created a JavaScript function in a view which is supposed to return a value from a selected radio button. values from view fields are posted to a function of a controller which in turn will execute an associated model to save the data. how can i get the …

Member Avatar for pritaeas
1
80
Member Avatar for rajeevbu
Member Avatar for pritaeas
0
73
Member Avatar for LloydFarrell

Hi, I have been going round in circles for the past few hours and I need some help please with the following header location. [code]header("location: http://www.websitename/members/securecode/index.php");[/code] I have a login script that works great until i get to line 81 ?? the above header location. here is my script - …

Member Avatar for Kadafiz
0
541
Member Avatar for PinoyDev

Hi! Good day! I am having problem regarding closing the fancy box with an iframe type after succesfull login..I have this code but the redirect parameter seems not executed after fancy box close event...Anybody help me?Thanks! [code=php] echo "<script>parent.jQuery.fancybox.close();</script>"; header("Location: " . $MM_redirectLoginSuccess ); [/code] Thank you!

Member Avatar for PinoyDev
0
430
Member Avatar for rakwel10

Hello, pls help me with my code... I was able to output the database table on my page. It goes for example like this: [B]id | name | etc... ---------------------- [COLOR="Red"][U]01[/U][/COLOR] | john | etc... [COLOR="Red"][U]02[/U][/COLOR] | mike | etc...[/B] The "ID" is a link (a href). Once click, it …

Member Avatar for rakwel10
0
336
Member Avatar for rakwel10

How do I do this: on submit of the form, data will be saved in a session array variable. The purpose is to use the submitted data page by page. After that, how do I extract them? thats all.. thanks

Member Avatar for rv1990
0
70
Member Avatar for 100110010110100

I have tried parsing a website with curl and then searching it with regular expressions, but I have not been able to perform a regex search. Even if I try parsing news.google.com and then search for any non digit, the code returns that there is no match. If I run …

Member Avatar for 100110010110100
0
910
Member Avatar for newbie14

Dear All, I would like to know can php support distributed transaction for mysql database? The problem I have a scenario to update two db which are located in different location?

Member Avatar for newbie14
0
132

The End.