39,393 Topics

Member Avatar for
Member Avatar for amna masood

Greetings! I installed Xampp as guided by http://sixrevisions.com/tutorials/web-development-tutorials/using-xampp-for-local-wordpress-theme-development. However, it gets pretty frustrating when I reach step 29 i.e running the wordpress install script. When I type: **http://localhost/wpdb/wp-admin/install.php**, it gives me the following error(no improvement on changing the browser even): Object not found! The requested URL was not found on …

Member Avatar for davy_yg
0
238
Member Avatar for Jasika Thakur
Member Avatar for chaitu11

i have attached the requirement. 1 register's from admin and it has some reference_id, then, 2 reg with reference of 1 ref_id, 5 reg with reference of 2 ref_id now my dout is i want to get the complete path i.e 1->2->5->9

Member Avatar for diafol
0
502
Member Avatar for Chris_19

Dear Forum: Should I take an intermediate PHP course? I have design experence but want to move more into the world of developent. I am thinking about taking a course in intermediate PHP. I have some PHP exposure. Wold this be a good first step towards getting out into the …

Member Avatar for diafol
0
134
Member Avatar for yogeshwariman

i want to delete ename from emp table and trainer table simultaneously...how it could be...pls help

Member Avatar for pritaeas
0
57
Member Avatar for bismillahk1

ho to convert this code into php <cfhttp method="post" url="#local.autoResponderURL#" result="result" charset="utf-8"> <cfhttpparam name="listname" type="formfield" value="#local.autoResponderListName#" /> <cfhttpparam name="meta_adtracking" type="formfield" value="#local.autoResponderAdTracking#" /> <cfhttpparam name="meta_required" type="formfield" value="#local.autoResponderRequired#" /> <cfhttpparam name="meta_message" type="formfield" value="1" /> <cfhttpparam name="name" type="formfield" value="#local.formFirstName#" /> <cfhttpparam name="email" type="formfield" value="#local.formEmail#" /> <cfhttpparam name="submit" type="formfield" value="submit" /> </cfhttp> how to …

0
172
Member Avatar for asadjaved64

## menua and drop down menu ## Can anyone tell me function of how i can automatically generated menu and sub menu from admin panel for public side web and also make table in database..?

Member Avatar for diafol
0
201
Member Avatar for rb1234567

Hi, I need to create a page where an admin can upload an excel worksheet in the .xlsx file format, this is then read and writen onto another php page. I'm new to PHP so I am confused by the code, I can find help on .xls but not accepting …

Member Avatar for patk570
0
299
Member Avatar for Ambrish_1
Member Avatar for JorgeM
-1
213
Member Avatar for Vmailservice

<script type="text/javascript"> var arr = [{ val: 1, text: 'Option 1' }, { val: 2, text: 'Option 2' }]; $(function () { $('a').click(function () { var sel = $('<select>').appendTo('body'); $(arr).each(function () { sel.append($("<option>").val(this.val).text(this.text)); }); $('<br>').insertBefore(sel); $('<input/>').insertAfter(sel); return false; }); }); </script> </head> <body> <a href="">Add Select Box</a> </body> with is …

Member Avatar for diafol
0
152
Member Avatar for davy_yg

Hello, I wonder how to create facebook & twitter share button which share articles title (twitter) & article title/content (facebook)? So far I only find the following codes: https://about.twitter.com/resources/buttons#tweet https://developers.facebook.com/docs/plugins/share-button/ It doesn't share the article title/content though. I have to type the title to share (not automatic).

Member Avatar for davy_yg
0
498
Member Avatar for fheppell

I have this code that loads a file called mailchimp-api and signs a user up to a newsletter: <?php if(isset($_POST['email'])){ $email = $_POST['email']; include("mailchimp-api.php"); $chimp = new MailChimp('XXXXXXXXXX-us7'); echo "API registered"; $chimp = $MailChimp->call('lists/subscribe', array( 'id' => 'XXXXXXXXX', 'email' => $email, 'double_optin' => false, 'update_existing' => true, 'send_welcome' => true, …

Member Avatar for cereal
0
247
Member Avatar for branding4you

I have a new website that i want the exchange rates to show up using the ECB (European Central Bank) Now for some reason on their website they put this code but i copy paste it into file save as php upload to server and nothing ... what could be …

Member Avatar for branding4you
0
335
Member Avatar for gsynr

I am not able to use Facebook Like and Share Butoon on my website Anyone can help mee <html> <head> </head> <body> <div id="fb-root"></div> <script> window.fbAsyncInit = function() { FB.init({ appId : 'app id', status : true, xfbml : true }); }; (function(d, s, id){ var js, fjs = d.getElementsByTagName(s)[0]; …

Member Avatar for gsynr
0
262
Member Avatar for borovez

Alright so this has been bugging me for a long time now... I have tried everything but I cant get it to work! So what I want to have is a link that acts as a button, and once you click it, it POSTs an ID number of the button …

Member Avatar for pritaeas
0
6K
Member Avatar for blueguy777

Update form is working perfectly, but the value of $magentname variable changing to blank without selecting drop down box value. code: <?php require 'include/database.php'; require 'include/settings.php'; $id = null; if ( !empty($_GET['id'])) { $id = $_REQUEST['id']; } if ( null==$id ) { header("Location: sub-agents-list.php"); } $mainagentid = $_POST["mainagentid"]; $pdo = …

0
177
Member Avatar for everton.retweets

Hi Everyone, I am struggling to fix this stupid problem I have with pdo php insert. I have this working on a different insert, but for some reason, this is just not working. I keep getting the error "You have an error in your SQL syntax; check the manual that …

Member Avatar for pritaeas
0
430
Member Avatar for cpchc

Hi there - I had written some php for users to login to a password protected part of our site. Today an SSL certificate was installed. Previous to the SSL being installed the pages would timeout and kick the user out to the login screen after a certain period of …

Member Avatar for patk570
0
284
Member Avatar for anas.man
Member Avatar for tnjiric

Hi DW community. I had an unusuall fix made the other day for one service and wanted to find out exacly what happened. The situation was the following: For this one specific ADS channel, the communication works this way: The hotel reservation is sent via $_POST['RES_DATA'] , and after the …

Member Avatar for pritaeas
0
245
Member Avatar for blueguy777

I am new to PDO, i am trying to insert values into database table. but the script is not inserting any values nor displaying error message.help me to fix this issue. <?php require 'include/database.php'; require 'include/settings.php'; if ( !empty($_POST)) { // keep track validation errors $firstnameError = null; $lastnameError = …

Member Avatar for iamthwee
0
317
Member Avatar for subrata_ushasi

Hi all , I have written code for sending mail with pdf file as attachment , but mail sending is not working. I used class.phpmailer.php. The files are attached herewith . Please kindly see if any solution is possible . Hence appreciated. //$mailpdf=$pdf->Output('exam_schedule.pdf', 'I'); require_once('class.phpmailer.php'); require_once('class.smtp.php'); $mail= new PHPMailer(); // …

Member Avatar for Jaycee_1
0
10K
Member Avatar for garwil

I have an accommodation reservation system that allows managing agents to list all the properties under their control. There are various 'locations' that have a priority such as:- 'Beach Front' has priority of 1 and 'Off beach' a priority of 2 etc. Setting these are pretty much a straight forward …

Member Avatar for garwil
0
258
Member Avatar for sanjay@srvmedia
Member Avatar for 2mhzbrain

The code below is from tutorial, my problem is my work dont work and the video tutorial is corrupted, i missed something for sure, the WHERE `articles_id`='$update_id' condition in query is not working, it wont find the corrent id to be editted. Please help. <?php require 'includes/verifycred.php'; ?> <!DOCTYPE html> …

Member Avatar for patk570
0
199
Member Avatar for RainaAnja

<?php include 'connectMySql.php'; if(! $conn ) { die('Could not connect: ' . mysql_error()); } $sql = 'SELECT * FROM users '; $result = mysql_query( $sql); if(! $result) { die('Could not get data: ' . mysql_error()); } while($row = mysql_fetch_assoc($result, MYSQL_ASSOC)) { echo "ID : {$row['id']} <br> ". "USERNAME : {$row['username']} …

Member Avatar for matrixdevuk
0
199
Member Avatar for Priti_P

Hello, I have a string $string="- [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall] - [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall] For both cases,look for a value named “InstallLocation” containing the string “\Hewlett-Packard\\”, either delete or clear this value and"; and i wrote function fro wrapping it as: ` $test=wordwrap($string,"80","<br>"); echo $test; ` but it did not gave me output which i …

Member Avatar for Priti_P
0
143
Member Avatar for Priti_P

Hello, gmail Calender invitation sent from my application are not directly getting added to calender invitations. I have to make them add explicitly by add to calender. FYI: you can see the link which i found while seraching for this isue. http://productforums.google.com/forum/#!topic/calendar/cLEu8QVdb3E If you have any updates on this then …

Member Avatar for Priti_P
0
245
Member Avatar for nageshwar.ch

Hi, I need to get the nearest neighbor state based on the IP address of the current state. I have done some research and found Geo plugin, which gives the state information based on the IP address. So now i need the States nearer to that IP address.How can i …

Member Avatar for cereal
0
492
Member Avatar for zelanne74

Hi Goodmorning. I'm developing an online add cart. my problem is when a user confirm payment and after a second he/she pressed escape. payment is successful but my email notification did not sent. how will i detect if a user pressed escape. Thank you.

Member Avatar for JorgeM
0
220

The End.