Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~149 People Reached
Favorite Forums
Favorite Tags
php x 2
Member Avatar for mosesmn

Am getting: Parse error: syntax error, unexpected T_DNUMBER $post_xml = "<?xml version="1.0" encoding="utf-8"?><PesapalDirectOrderInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Amount="".$order_total."" Description="".$transaction_details."" Code="".$code."" Type="".$type."" PaymentMethod="".$payment_method."" Reference="".$reference."" FirstName="".$first_name."" LastName="".$last_name."" Email="".$email."" PhoneNumber="".$phonenumber."" UserName="".$username."" xmlns="http://www.pesapal.com" />"; $post_xml = htmlentities($post_xml); If I use single quotes the error dissappears but it does not function the way i would like it …

Member Avatar for mosesmn
0
149