38,018 Topics

Member Avatar for
Member Avatar for hsakapandit

I have arrays and variables in JQuery and I want to know that Can I POST both arrays and variables from single $ajax jquery request to my php page. If yes then How will I post data from Jquery and how will i handle in PHP page. var get_id = …

Member Avatar for hsakapandit
0
780
Member Avatar for surferbloggy

Hi, i have done a wordpress plugin i'd like to localize so i've foun this useful link about it [Click Here](http://premium.wpmudev.org/blog/localize-a-wordpress-plugin-and-make-it-translation-ready/) it explain about localize the static txt of the plugin but my plugin manage contents stored in 2 db tables if the user would save this content in 2-3 …

0
131
Member Avatar for chaitu11

<form> Select Project:* <select name="project_id" id="project_id" > <option value="0">Select Project</option> <option value="1">a</option> <option value="2">b</option> <option value="3">c</option> </select> Select Week*: <select name="week" id="week_id"> <option value="0">Select Week</option> <option value="1">This Week</option> <option value="2">Last Week</option> <option value="3">2 Weeks back</option> </select> </form> <script type="text/javascript" src="js/jquery-latest.js"></script> <script> function showValues() { var str = $( "form" ).serialize(); …

Member Avatar for pzuurveen
0
320
Member Avatar for MICHAEL DENNIS

**Need assistance in using PHP to connect to webservice using SoapClient (I am kinda new to SOAP)** Here is the WSDL URL: https://uat.fiadmin.com/scs.webservice/ScsAutoService.asmx Here is the SOAP request from SoapUI with correct data in the fields: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:scs="http://www.natinc.com/SCSAutoService/"> <soapenv:Header/> <soapenv:Body> <scs:GetRates> <scs:objGetRatesRequest> <scs:UserId>VPP</scs:UserId> <scs:Password>jBH5Mspc</scs:Password> <scs:TpaCode>DEMO</scs:TpaCode> <scs:ErrorMessage>0</scs:ErrorMessage> <scs:ErrorCode>0</scs:ErrorCode> <scs:RequestGroup>0</scs:RequestGroup> <scs:Trim>0</scs:Trim> …

Member Avatar for pritaeas
0
281
Member Avatar for Maideen

Hi I have one issue. I do not know how to solve and also no idea. It is my scenario. I have Product table with details,selling price, purchase price and so on. I want to invoice to clients. Clients can buy lots of item in single invoice. If I select …

Member Avatar for diafol
0
292
Member Avatar for Tallapalli

i have database with catogiries like education,food,health how can i describe fields and inter connect the tables

Member Avatar for pzuurveen
0
109
Member Avatar for diafol

Hi all. Have been racking my brains about how to go about creating a multidimensional array dynamically from an array of keys. Something like... $keys = array('key1', 'key2', 'key3'); $value = 'some value'; // $md = ...???!!!... I need the $md multidimensional array to have the keys thus... $md['key1']['key2']['key3'] = …

Member Avatar for Webville312
0
9K
Member Avatar for Webville312

Dear all, I have been thinking of this task, but I have no idea where to start from. I am retrieving login logs from the database, which is cool. Now, the challenge is that in case a user has logged in more than once in the same day, I want …

Member Avatar for Webville312
0
5K
Member Avatar for davy_yg

Hello, I am assign to create an SMS Gateway webbased. Any idea how to do so? I only find this typology for an SMS Gateway: [SMS Gateway](http://www.ozekisms.com/index.php?owpn=510) Yet, still do not have any clue how to create the web based script for it in order to work.

Member Avatar for szurcsii
1
240
Member Avatar for nadiam

i have a contact form. html is done. php is done as well. but the submit button doesnt seem to read my php code. sorry if my coding is too long but i just had to post the whole thing incase i missed something. any help is very much appreciated. …

Member Avatar for nadiam
0
394
Member Avatar for seotheo

Hi, I am trying to get a form to redirect to a thank you page but after several attempts I am still no closer to achieving this. Below is the php code form the sendemail script: <?php $name = trim($_POST['name']); $email = $_POST['email']; $comments = $_POST['comments']; $site_owners_email = '**************'; // …

Member Avatar for ehpratah
0
3K
Member Avatar for geobett

anybody to help me query two database tables containing different data between two dates and results given sequencially dependending on this dates on either of the two said tables

Member Avatar for diafol
0
38
Member Avatar for Ole Raptor

I am having a small issue with displaying text that has been converted with htmlspecialchars. In the db I have this: &amp;lt;b&amp;gt;Testing:&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&amp;lt;ol&amp;gt;&amp;lt;li&amp;gt;it&#039;s a test&amp;lt;br&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt; When I use: echo htmlspecialchars_decode($variable); The page displays: <b>Testing:</b><br><ol><li>it's a test<br></li></ol> I am not sure why this is happening. Any help is appreciated. Thank you

Member Avatar for Ole Raptor
0
237
Member Avatar for junaid_5

Hello i am creating a small project. is there any tutorial that could help me . i have image gallery. it has main categories and then sub categories , i want to upload the images to respective sub category under main category after choosing categ and sub categ from list …

Member Avatar for junaid_5
0
197
Member Avatar for extjac

Hello. I am trying to implement a Laravel API that will be consumed by different clients (domains). The API basically, sends json response to the clients. For instance, when the client app.anyclient.com sends a AJAX/post request to api.myapi.com/login …the API is able to validate and login the user; however, the …

0
111
Member Avatar for net4earning

i using this code to display radio buttons for selection. somehow the its not working correctly, plz guide on this issue. thanks in advance. <div class="register-section" id="user-role-section"> <label for="wp_rar_user_role"><?php echo $this->wp_rar_role_label; ?></label> <?php foreach($this->wp_selected_rar_roles as $role) { ?> <input type="radio" name="wp_rar_user_role" id="wp_rar_user_role" class="input select" value="<?php echo $role; ?>" /> <label> …

Member Avatar for net4earning
0
620
Member Avatar for stokie-rich

Hi guys I know this might be a repeated post, someone has looked at the code and they seem to think that it all look fine, but I'm getting this following message again Warning: mysqli_query(): Couldn't fetch mysqli in C:\xampp\htdocs\submit-form.php on line 19 The following SQL Failed INSERT INTO 'users' …

Member Avatar for pritaeas
-1
656
Member Avatar for rpv_sen

Hi I am trying to display the server(system) status ON/OFF with php script. can anyone please help me how we can find the status. for example we are having 3 machine. SRVR01 ON SRVR02 OFF SRVR03 ON

Member Avatar for rpv_sen
0
114
Member Avatar for Pravesh_1

I am developing shopping cart using jquery, json and ajax. What kinda of security should keep in mind while developing ?

Member Avatar for iamthwee
0
68
Member Avatar for ehpratah

Good day everyone Not sure if this is the right place to ask this but im trying to connect to my database online "Control Panel of my hosting site" from my local machine basically the webpage is running locally. but i want the data to be fetch online. my question …

Member Avatar for ehpratah
0
3K
Member Avatar for Moderns

I decided to use the stored procedures in MySQL. I am able to retrieve only one row value in OUT paramater, but when the returned result contains more than one row, I get nothing! Please see the simple code below for stored procedure which I add it to phpmyadmin direct: …

Member Avatar for diafol
0
1K
Member Avatar for junaid_5

file.php?sub=3&main=10&date=2010-04-20 sub value has max 3 and main has max 10 , can anybody tell me how many tables or columns this website has ?

Member Avatar for junaid_5
-1
107
Member Avatar for manc1976

Hi I am using the following code to give the user a choice of options in a drop down box: [CODE] <?php $query="SELECT location,id FROM area"; $result = mysql_query ($query); echo "<select name=location_id value=''>location</option>"; while($nt=mysql_fetch_array($result)){ echo "<option value=$nt[id]>$nt[location]</option>"; } echo "</select>"; ?> [/CODE] It retrieves all of the options from …

Member Avatar for Syed_2
0
3K
Member Avatar for surferbloggy

Hi I've wrote a plugin it works but on deactivation it doesn't drop the plugin tables from db this is the code $sql = "DROP TABLE IF_EXISTS 'TABLENAME'"; $wpdb->query($sql); //$e = $wpdb->query($sql); //die(var_dump($e)); and i call that function this way register_deactivation_hook(__FILE__, 'deactivate'); if i uncomment to show message error it …

Member Avatar for Tpojka
0
304
Member Avatar for gogs85

I have problem with this code show mi error Warning: mysql_result() expects parameter 1 to be resource, boolean given in C:\wamp\www\blogcode\resources\func\blog.php on line 34 function category_exists($name){ $name = mysql_real_escape_string($name); $query = mysql_query("SELECT COUNT(1) FROM 'categories' WHERE 'name'= '{$name}'"); return (mysql_result($query, 0)=='0') ? false:true; } How to fix this problem?

Member Avatar for pritaeas
0
185
Member Avatar for bradly.spicer

I am trying to make it so that the snippet below automatically creates extra pages to show me all the followers I have on my Twitch Channel. At the moment I have it at 25, but it does cap at 100. How can I make it so that it automatically …

Member Avatar for Kyle Wiering
0
803
Member Avatar for nutandevjoshi

I am working on PHP Framework now.I am 23 old . I will have 2 years of experience by 2016.And Company Bond will be over ,and i will be able to leave the company. I worked on cakePHP,Wordpress,WHMCS,Smarty etc.and will work on other PHP Technologies by 2016. I want to …

Member Avatar for jwenting
0
241
Member Avatar for ramseswar

i trying to write a script so that it does,nt allow the user to login again if already logged in...whether he tries from other browser.................. wat i m doing is setting a value in database to 1 if he logs in and 0 if he logs out .......den i check …

Member Avatar for cecece
0
1K
Member Avatar for mark103

Hi all, I need your help, I'm working on my php to get the list of contents from my get-listing.php script so I can generating the XML to output the contents into the XML. I have got a little bit of problem with output the contents. I'm still getting the …

Member Avatar for diafol
0
230
Member Avatar for shhh

Hi, I am using wdCalendar and it is working fine localhost . But when I have the using on server it's not work show msg'sory could not load your data, please try agan later.... (I have changed my server username and password bot not work) plz tell me how to …

Member Avatar for chandni2014
0
428

The End.