Hello Daniweb Community, I was wondering if someone could help me with the PayPal PHP SDK (version 1.3.2), I'm just going off the examples they have provided [here](http://paypal.github.io/PayPal-PHP-SDK/sample/) focusing on [this](http://paypal.github.io/PayPal-PHP-SDK/sample/doc/payments/CreatePaymentUsingPayPal.html) I was just wondering if there is a way to attach delivery instructions (coming from the website, sending them to the API).

Member Avatar
Member Avatar
+0 forum 4

Hi Guys, Im a bit puzzled on the best way to store data which will later be saved to a csv. I am doing a record search on a database table which will get cycle through each employee and get the relevent information. Once I have done this I will then create a string builder which will go through all this information and append the csv. The problem is im struggling to find the best way to store this information in the meantime. Ive tried something funky with a list dictionary but it didnt come off right. Any ideas anyone? …

Member Avatar
Member Avatar
+0 forum 5

Hi I do not know how to sum the one of the column in #table temp table It is my SP SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER PROCEDURE [dbo].[usp_Customer_Due_Until_Now] @Code nvarchar(30) AS BEGIN SET NOCOUNT ON; select code as Code, Name as Name, sum(Nett) SINETT into #tableSI From SIHead Where Code=@code Group By Code,Name select code as Code, Name as Name, sum(-Nett) SINETT into #tableSR From SRHead Where Code=@code Group By Code,Name select code as Code, Name as Name, sum(-ChqAmount) SINETT into #tableRC From RCHead Where Code=@code Group By Code,Name select code as Code, Name as Name, …

Member Avatar
Member Avatar
+0 forum 2

Hi I have an issue in below stored procedure. below Store procedure is working fine. But fixed the Year. Any one know How can do the year dynamically select by user? SELECT * FROM ( SELECT salesEXE,SalesEXEName,name,gross,YearNo FROM vw_Pivot_Month_ALL) TableYearNo pivot (Sum(gross) for [yearno] in ([2008],[2009],[2010],[2011],[2012],[2013],[2014],[2015],[2016],[2017],[2018],[2019],[2020]) )pivotTable pls advice Maideen

Member Avatar
Member Avatar
+0 forum 5

first create the table [CODE] create table images ( image_id serial, filename varchar(255) not null, mime_type varchar(255) not null, file_size int not null, file_data longblob not null, primary key (image_id), index (filename) ); [/CODE] the file to output the images to the browser [B]picsrc.php[/B] [CODE]<?PHP //detect if image is called correctly if($image){ //connect to db $db = mysql_connect('localhost', 'user', 'password'); //find the image $query = sprintf('select * from images where filename = %d', $image); $result = mysql_query($query, $db); $image = mysql_fetch_array($result); //tell the browser the url is an image header('Content-type: ' . $image['mime_type']); header('Content-length: ' . $image['file_size']); //finally output the …

Member Avatar
Member Avatar
+0 forum 4

hello everyone, I am using this text-editor http://kenbeit.com/popline/ ,my query is that whatever the font style,color,head tag etc availabe in text-editor i chosse,how can i take all selected attributes in next page via hidden fields in form tag ???.

Member Avatar
Member Avatar
+0 forum 3

Hi I have database in structure like below Newspaper State1 state2 state3 state4 ABC 1000 5684 5687 246 DEF 879 2547 2578 2357 But I need to the structure like below How can i change this Newspaper State copies ABC State1 1000 ABC State2 5684 ABC State3 5687 ABC State4 246 DEF State1 879 DEF State2 2547 DEF State3 2578 DEF State4 2357 Pls help me Maideen

Member Avatar
Member Avatar
+0 forum 3

Hi I did the stored procedure in mssql 2012. working fine in server. I have an issue that I need the output of my SP into HTML Report Format in aspx.page with Sub and Grand Total I no need GridView Pls advice Maideen My SP SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER PROCEDURE [dbo].[Z_usp_Circ_Details_Member] AS BEGIN SET NOCOUNT ON; SELECT * FROM (SELECT MEMBER,[LANGUAGE],[TYPE],[PLATFORM],copies,CATEGORY,MAINAREA,YearNo FROM Z_tbl_Circulation_Details where mainarea='Peninsular Malaysia' and Language='English') TableYearNo pivot (Sum(copies) for [member] in ([The sun],[The Star]))pivotTable END Results English Newspaper Print Free Peninsular Malaysia 2012 603706 5210 English Newspaper Print Free Peninsular Malaysia 2013 …

Member Avatar
Member Avatar
+0 forum 2

Hi i have issue in stored procedure converting data type Destination table dbo.Z_tbl_CirculationCopy_TEMP has numeric data type But source table Z_tbl_Import_temp have VarChar Type If I export data from source, I have error message Msg 8114, Level 16, State 5, Procedure Z_usp_IMPORT_EXCEL_UNPIVOT_1, Line 10 Error converting data type varchar to numeric. Pls help to resolve this issue Thanking you in advance Maideen Below is my store procedure INSERT INTO dbo.Z_tbl_CirculationCopy_TEMP([MEMBER],[LANGUAGE],[TYPE],[PLATFORM],[CATEGORY],[MAINAREA],[STATE],[COPIES], [MONTHNAME],[YEARNO],[REMARKS],[AVGISSUE_PAID],[AVGISSUE_FREE],[BCP_NTT],[BCP_50],[BCP_20],[BCP_20_Below], [WP_TOTAL],[SABAH_TOTAL],[SARAWAK_TOTAL],[EM_Total]) SELECT [MEMBER],[LANGUAGE],[TYPE],[PLATFORM],[CATEGORY],[MAINAREA],[STATE],[COPIES], [MONTHNAME],[YEARNO],[REMARKS],[AVGISSUE_PAID],[AVGISSUE_FREE],[BCP_NTT],[BCP_50],[BCP_20],[BCP_20_Below], [WP_TOTAL],[SABAH_TOTAL],[SARAWAK_TOTAL],[EM_Total] FROM (SELECT [MEMBER],[LANGUAGE],[TYPE],[PLATFORM],[CATEGORY],[MAINAREA],[MONTHNAME],[YEARNO],[REMARKS], [AVGISSUE_PAID],[AVGISSUE_FREE],[BCP_NTT],[BCP_50],[BCP_20], [BCP_20_Below], [WP_TOTAL],[SABAH_Total],[SARAWAK_Total],[EM_Total], [Perlis],[Kedah],[Penang],[Perak],[Kelantan],[Terengganu],[Pahang],[Selangor],[WP],[NegriSembilan],[Melaka],[Johor], [KotaKinaBalu],[sandakan],[Tawau],[Kudat],[Pendalaman],[Labuan],[SABAH_Other], [Kuching],[Miri],[Sibu],[Bintulu],[SriAman],[KotaSemerahan],[Sarikei],[SARAWAK_Others],[Others] FROM dbo.Z_tbl_Import_temp ) P UNPIVOT (Copies FOR State IN ([Perlis],[Kedah],[Penang],[Perak],[Kelantan],[Terengganu],[Pahang],[Selangor], [WP],[NegriSembilan],[Melaka],[Johor], [KotaKinaBalu],[Sandakan],[Tawau],[Kudat],[Pendalaman],[Labuan],[SABAH_Other], [Kuching],[Miri],[Sibu],[Bintulu],[SriAman],[KotaSemerahan],[Sarikei],[SARAWAK_Others],[Others] ))AS unpvt …

Member Avatar
Member Avatar
+0 forum 1

FB.api('/me', function(userInfo) { console.log(userInfo.email); var emailid = userInfo.email; console.log(emailid); }) $.ajax({ url: 'index.php?r=tryon/saveemailid', type:'post', data:{'saveemail':emailid}, success : function(data){ alert("success!"); } });

Member Avatar
Member Avatar
+0 forum 6

Hi. problem in where insert data into table. Using vwd 2012 and Mssql 2012. Insert command is working fine in first record. If add another record, it shows "Procedure or Function has too many argument" I have tried may way, I could not solve. Pls help me. Below is my Store Procedure, Class file and aspx.vb files. Store Procedure GO /****** Object: StoredProcedure [dbo].[usp_CommonInfo_Insert] ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER Procedure [dbo].[usp_CommonInfo_Insert] @Code nvarchar(10) = NULL, @Name nvarchar(100) = NULL, @Type nvarchar(10) = NULL, @BAddress nvarchar(150) = NULL, @SAddress nvarchar(150) = NULL, @Tel1 nvarchar(20) = NULL, …

Member Avatar
Member Avatar
+0 forum 1

hey guys. so first of im kinda confused as to which forum i should post to but i hope you guys arent mad if this isnt the appropriate forum. moving on, i have these bunch of images that i want to be able to be displayed after a button click but before i start coding that im not sure how to store the images, should i store image file paths into database (if so how do i do that? google-ing, i only found the kind that uploads an image from a website by a user then stored in database but …

Member Avatar
Member Avatar
+0 forum 3

hi i want know how can i creat a basket shop and how work it? help me

Member Avatar
Member Avatar
+0 forum 1

hi i am working on a project:auto parts web store With installation and I do not know where and how to start؟ help me

Member Avatar
Member Avatar
+0 forum 4

![inline-2-windows-8-logo-pgram](/attachments/small/3/inline-2-windows-8-logo-pgram.jpg "align-left") It's been a month since Windows 8, and if you've been using the new OS you're likely going through a period of confusion over the new Modern UI interface, as well as wondering if there's anything you're missing out on. The Windows 8 experiene is significantly different from Windows 7 because of its new Modern UI interface, the lack of start button, introduction of more advanced gestures, and a variety of other cosmetic and user-oriented changes. Here are some must-have applications and programs that will give you back some of the essential features you need with Windows 8, …

Member Avatar
Member Avatar
+0 forum 8

I do not see the Application.Resource in app.xaml file in a windows store app.What could be the reason please?

Member Avatar
+0 forum 0

hi! good day sir. how can i add a link <a> to body <body> with a function <onclick=""> that change the center of google map. HTML <a href="" onClick="myFunction()">location 1</a> FUNCTION function myFunction() { ??????? }

Member Avatar
Member Avatar
+1 forum 1

Hi : I'm running one shopping cart with prestashop which is working good, now I want the market place in my cart which is similar to ebay.com and olx.com in which the user can post their product in our store and sell their product. I want to integrate the functionality in my cart it is possible, or else any add-on is available for this if is available as free or cost kindly provide me the link I'm Ready to pay for that. & also I need the Auction to be done for the same cart.

Member Avatar
Member Avatar
+0 forum 2

Error occured: Procedure .. has too many argument specified I have an issue that when i Update the record there is error "Error occured: Procedure .. has too many argument specified". It is my Store procedure SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER Procedure [dbo].[web_usp_empData_Update] @id bigint, @Code nvarchar(10), @Name nvarchar(50), @Address nvarchar(150), @Tel nvarchar(20), @HP nvarchar(20), @email nvarchar(50), @NRIC nvarchar(20), @Jobtitle nvarchar(50), @Dept nvarchar(20) As Begin Update empData Set [Code] = @Code, [Name] = @Name, [Address] = @Address, [Tel] = @Tel, [HP] = @HP, [email] = @email, [NRIC] = @NRIC, [Jobtitle] = @Jobtitle, [Dept] = @Dept Where …

Member Avatar
Member Avatar
+0 forum 4

hi, in the mysql we can fetch data and store them into variables, like the code below: if (mysql_num_rows($userquery) != 1) { die ("that member could not be found!"); while($row = mysql_fetch_array ($userquery, MYSQL_ASSOC)){ $first_name = $row['first_name']; $last_name = $row['last_name']; $email = $row['email']; $password = $row['password']; $sex = $row['sex']; $dbusername = $row['username']; } but how can i do the same with pdo??

Member Avatar
Member Avatar
+0 forum 1

I'm running Exchange 2003 in my company; every 2 days it seems I get a call from a user stating a message is stuck in their outbox or they are not getting new mail. In all cases, restarting the information store and MTA stacks immediately clears the problem and gets mail coming and going again, for about another 2 days. Initially I thought maybe the exchange database was getting too large; we run a journal mailbox. I archived this out, and it still did it to me today. What needs to be done to correct this recurring issue? It has …

Member Avatar
+0 forum 0

i just got into html recently and i've been using a live editor to help me get better at it.... but now that i think i am, i want to be able to create a signup page that stores the users infos like username, password, email, sex and agreement to terms&conditions etc... please if you have any idea post on this forum or if you really want to communicate with me and share notes or help me get better, this is my fb site==folu.me/akay its a short url... please help

Member Avatar
Member Avatar
+0 forum 8

hello, before people start saying what have i tried, i have not got a clue where to start if i'm honest with you and was wondering if someone could point me in the right direction. i need to create an application which stores information about people(age,name etc),should also be able to remove users by entering their name and be able to retrieve the users information what they have entered. i really have very basic knowledge in python and was wondering if anyone could give me advice. thanks.

Member Avatar
Member Avatar
+0 forum 3

Let's say you've got a form with check boxes like below: <form method="post" action="path to script"> <input type="textbox" id="text[]" value="" /> *** <input type="textbox" id="text[]" value="" /> *** <input type="textbox" id="text[]" value="" /> **** <input type="textbox" id="text[]" value="" /> **** </form>

Member Avatar
Member Avatar
+0 forum 4

hi, i am have made a button, and everytime i click it it takes a value from my input box, and it subtracts it and stores it back into the input box value. but what i am trying to do is, store my value into an array or anything everything my button is clicked. so for example i want to do this, balance = 100 button is clicked balance is now 90 and i want array[0] to have 100 array[1] to have 90 and everytime i want it to continue to append to the array but when i enter my …

Member Avatar
Member Avatar
+0 forum 8

how to store video in mysql

Member Avatar
Member Avatar
+0 forum 3

I want to store these submitted values. Can it be possible without database? using just array. I don't want to store values for a session. Just for long time unless deleted. <form id="form1" name="form1" method="post" action=""> <form id="form1" name="form1" method="post" action=""> <p> <label for="num1">Some text</label> <input type="text" name="num1" id="num1" /> </p> <p> <label for="num2">some text</label> <input type="text" name="num2" id="num2" /> </p> <p> <input type="radio" name="r" id="add" value="add" /> <label for="add">Addition</label> </p> <p> <input type="radio" name="r" id="sub" value="sub" /> <label for="sub">Subtraction</label> </p> <p> <input type="radio" name="r" id="mul" value="mul" /> <label for="mul">Multiplication</label> </p> <p> <input type="radio" name="r" id="div" value="div" /> <label for="div">Division</label> …

Member Avatar
Member Avatar
+0 forum 8

Hi All, I have a binary search tree (consider following structure). struct bst { void *value; struct bst *left, *right; }; I want to save this unbalanced binary search tree in a file. And when I read this file, I don't want to recreate the tree from these nodes. So the tree has to be saved in tree format, Any Ideas?? I am newbie in C language so a code snippet would be helpful...and is it possible to save this tree in binary format?? thanx in advance

Member Avatar
Member Avatar
+0 forum 2

1) On the page_load event, Bind the dropdownlist to a database using SqlConnection conn = new SqlConnection("blablabla"); SqlDataAdapter ddAdapter = new SqlDataAdapter("SELECT * FROM products", conn); DataSet ds = new DataSet(); ddAdapter.Fill(ds); 2) On the DropDownList1_selectedIndexChanged, - When user select a value (the productName) from the dropdownlist - All the database value will load on their specific labels (label1, label2) - When user clicks the button (button1), it'll calculate total amount of already selected items' value and display on same label (label1, label2) > productID productName productPrice(label1) productBalance(label2) > 1Car 2.3 400 > 2 Pencil Null 33 > 3 Eraser …

Member Avatar
Member Avatar
+0 forum 2

Hello Community, Is there a website that has a database like phpmyadmin that i can access from my website? Please help...

Member Avatar
Member Avatar
+0 forum 6

The End.