Joined
Last Seen
0 Reputation Points
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
0 Endorsements
Ranked #54.9K
Re:
whenever i put this code theyre will be an Error stating that there is unexpected ''"" Please help <input type="button" value="Add to Cart" onclick="addtocart(<?=$row['serial']?>)" /> |
|
Hi I am trying to run this code for long but failed.Can anyone help me? 1. <?php 2. $button_text=$_POST['button_text']; 3. $color=$_POST['color']; 4. 5. if(empty($button_text)||empty($color)) 6. { 7. echo 'Could not create image - form not filled out correctly'; 8. exit; 9. } 10. $imgname="I:\xampp\htdocs\test\button\"; 11. $im=imagecreatefrompng('$imgname'.$color.'-button.png'); 12. $width_image=imagesx($im); 13. $height_image=imagesx($im); … |