39,320 Topics

Member Avatar for
Member Avatar for klemme

Hi All, I need to create a couple of webservices, where I retrieve info from the database. Found this example on php.net while searching for examples: class MyClass { public function helloWorld() { return 'Hallo Welt '. print_r(func_get_args(), true); } } try { $server = new SOAPServer( NULL, array( 'uri' …

Member Avatar for pritaeas
0
346
Member Avatar for sudharshan9xweb

<?php include_once('includes/configuration.php'); if(isset($_POST['add'])) { if($_POST['student_id'] == "") { $message = 'Please Enter Srudent ID'; } else { $student_id = $_REQUEST['student_id']; $date = $_REQUEST['date']; $free_indoor_play = $_REQUEST['free_indoor_play']; $rhymes_session = $_REQUEST['rhymes_session']; $language = $_REQUEST['language']; $snaks = $_REQUEST['snaks']; $concept_gk = $_REQUEST['concept_gk']; $maths= $_REQUEST['maths']; $music_movements = $_REQUEST['music_movements']; $story_time = $_REQUEST['story_time']; $free_outdoor_play = $_REQUEST['free_outdoor_play']; $child_health …

Member Avatar for diafol
0
110
Member Avatar for blueguy777

i am trying to generate pdf file using fpdf selecting data from two different tables i.e. table custreg and table slabpay, but getting MySQL error: "Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in D:\inetpub\vhosts\kisan.net\httpdocs\greengold\exportpdf.php on line 124". Code: $strSQL = "SELECT custreg.mobno1, slabpay.ac_no, slabpay.cust_name, slabpay.install_no, GROUP_CONCAT(`slabpay.install_amt` …

Member Avatar for urtrivedi
0
123
Member Avatar for kit007

Hi all; I just edited the oci8_driver in codeigniter and added the oci_bind_array_by_name since it was not included. But my codes does not work.. Hope somebody out there can help me. oci8_driver function for store procedure private function _bind_params($params) { if ( ! is_array($params) OR ! is_resource($this->stmt_id)) { return; } …

Member Avatar for kit007
0
426
Member Avatar for iamthwee

So I'm creating an online system. Just wondering should I allow for users to have a username or just use their email address as the primary logon? What are your thoughts?

Member Avatar for diafol
0
131
Member Avatar for sultankhan

i have store an image into my database. but i am unable to display the image what i have done till now is under.... any help will be appreciated. thanks in advance! <? $query="SELECT * from testimonial"; $ret = mysqli_query($mysql,$query); if (isset($ret) && $ret->num_rows>0) { while($row=mysqli_fetch_array($ret)) { $body=$row['body']; $name=$row['name']; $image=$row['img']; …

Member Avatar for sultankhan
0
2K
Member Avatar for CFROG

I'm using Ubuntu server 12.04 LTS, nginx, PHP5, PHP5-fpm Recently I upgraded my PHP from v 5.3 to what I thought would be 5.4 but the package I used was further along than I thought and I ended up with v 5.5. It upgraded with no issues but I really …

Member Avatar for matrixdevuk
0
412
Member Avatar for nagarajfloret

Hi, How to preserve session in subdomain from main domain My domain is example.com. Where i log in and create a session. And i need to access the same in subdomain abc.example.com(which is in same server).

Member Avatar for matrixdevuk
0
58
Member Avatar for ebanbury

Hi I have an 'edit_profile' form. I'm having several issues with this form . There are some fields which are working fine and some aren't. This 1st issue is regarding the textarea fields When the user updates their profile, any field, the textarea adds characters which are bye<br /><br /><br …

Member Avatar for matrixdevuk
0
198
Member Avatar for davy_yg

Hello, How to style my message like : [Login invalid message](http://www.rustoleum-indonesia.com/message.jpg) You see, it appears for a few seconds then afterward it disappears. It also has that red box around it. Thanks before.

Member Avatar for matrixdevuk
0
88
Member Avatar for everton.retweets

Hi everyone, I am looking for someone to help me with a htaccess file / rewrite rule I am working with. At the moment, my url is website/profile?id=12345678 now before I add the htaccess file, the webpage gets the id from the url and searches the database and retrieves the …

Member Avatar for matrixdevuk
0
191
Member Avatar for neha05
Member Avatar for yogeshwariman

Hii, when i select batchid from dropdown then related to that batchid information like technology,faclty name etc want to show on the text box of another page...............please give me solution.

Member Avatar for JorgeM
0
26
Member Avatar for rpv_sen

[CODE]Hi Friends, I have written a code with some example script for generating report in PDF with PHP and MYSQL. But i am unable to fetch the data from my table. So Please help me to solve this issue. Thanks <?php $today=date('Y-m-d'); $hostname = "localhost"; $database = "bdname"; $username = …

Member Avatar for monalia
0
4K
Member Avatar for neha05

I am inserting the csv file into the database but it not inserting in proper way,the coloums are merged into each other,im not getting where im doing mistake .please help me in that my code`Inline <?php //database connection details $connect = mysql_connect('localhost','root','123456'); if (!$connect) { die('Could not connect to MySQL: …

Member Avatar for neha05
0
353
Member Avatar for rpv_sen

Hi I am trying to convert julian date in to date format. can any one please help me. **For Example:** Julian date - 114021 Output Should be as below 2014/01/21 - (YYYY/MM/DD)

Member Avatar for pritaeas
0
377
Member Avatar for karthik.r

Hi how can i comvert the string type for ex : 10/12/2012(d/m/Y) to date .. it changes date to month and month to date.. my expected format is d/m/Y format only...

Member Avatar for pritaeas
0
82
Member Avatar for rpv_sen

Hi Friend I am trying to connect my MSSql server 2008 R2 server using php. I am getting an error as below `Fatal error: Call to undefined function sqlsrv_connect() in C:\xampp\htdocs\test\connect.php on line 4` and the code is below <?php $serverName = "servername\sqlexpress"; //serverName\instanceName $connectionInfo = array( "Database"=>"dbname", "UID"=>"us", "PWD"=>"ps"); …

Member Avatar for rpv_sen
0
286
Member Avatar for praveencrony

Dear all, In my website admin page.post a new property.the details are posted in my facebook fan page wall. I am using PHP SDK. Some times its working fine. Sometimes redirect to my return url it contains code parameter and stopped i am using this code Anyone help me <?php …

0
230
Member Avatar for marin cristina

hello as I could have and I Categories subcategory. PHP For example: Categories - Action / Horror / Comedy series - to be Category Tv Series - Arron / Fringe / and so appear in episodic - Arron / Fringe Help me please thank you Here's what's Codu Category: <?php …

Member Avatar for marin cristina
0
337
Member Avatar for eddstyson

i have managed to code this CSV file and it is working well..the only problem i am getting is the variable error on the form..i get this error ...Notice: Undefined variable: data in C:\xampp\htdocs\helper.php(527) : runtime-created function on line 22 how do i resolve the error? this this my sample …

Member Avatar for eddstyson
0
244
Member Avatar for duttydea

Hi all, I have an array: [CODE]<?php $product_id = $_GET[id]; //the product id from the URL $action = $_GET[action]; //the action from the URL //if there is an product_id and that product_id doesn't exist display an error message if($product_id && !productExists($product_id)) { die("Error. Product Doesn't Exist"); } switch($action) { //decide …

Member Avatar for diafol
0
2K
Member Avatar for jstfsklh211

**Clearing up php retrieval of form variables** the basics on how to best submit and retrieve form values in php focusing on checkboxes because they seem to be the most diffucult to understand. When posting form data to another page your naming convention makes all the difference in the world …

Member Avatar for carllagerfeld
6
565
Member Avatar for sallaudin

{"Data":{"Date":"08:09 20-01-2014","SchoolID":"923214157777","Type":"1","Nic":{"3520135201001","3520135201002","3520135201003"}}}

Member Avatar for pritaeas
0
126
Member Avatar for Amr87

I have the following code that craete homepage builder setting page under the appearance tab I am saving and retrieving the option successfuly but when I am echoing them to the hidden input type values I got NULL value why is that although the saving and retrieval is ok ? …

0
84
Member Avatar for everton.retweets

Hi Everyone, I am new to PDO PHP - I am getting to grips with the insert statements with bind_param. What I am a bit confused about is how to update a table where id = $var I have an image upload script that works fine, as it uploads the …

Member Avatar for pritaeas
0
227
Member Avatar for BenWard

Hi, I've got a class in PHP with an array of objects in it. I need to loop through these objects and call 2 methods on them but I'm not sure of the best approach. When dealing with arrays, if you use foreach, you can't seem to update the actual …

Member Avatar for BenWard
0
232
Member Avatar for stokie-rich

Hi guys I'm rich and I'm new to this forum and I hope I can help you guys as well as helping me! I have been to staffs uni and got a 2:2 in applied it so I know almost all the in's and out's about IT and PHP, I …

Member Avatar for stokie-rich
0
330
Member Avatar for praveencrony

In my website admin page. I post a new property.the details are posted in my facebook fan page wall. I am using PHP SDK. Some times its working fine. Sometimes it ask swith account. and redirect to my return url contains code parameter and stopped Anybody Help me

0
116
Member Avatar for joshl_1995

Hello Community, I have recently been having a big of a look into connecting to a database using PDO but I'm not too sure what I should stick with, the normal way to connect to a MySql database or should I start using PDO. What would be better to use? …

Member Avatar for joshl_1995
0
257

The End.