Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8230179
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T17:03:05+00:00 2026-06-07T17:03:05+00:00

I am trying to create quite simple project. I will explain it on an

  • 0

I am trying to create quite simple project. I will explain it on an example.

Description on what i am trying to do using simply example:
Let say you can upload two images to my site, select size (1000×500 or 2000×1000), and write some text. My site would merge these 2 images into one, of course resizing it properly, and write some text on top of the images. That’s quite simple. After generating such image, it sends you to a page where you can preview the image and there is a Paypal button with 1$ price. Everything in $_POST[] when it comes to PHP and GD so it should be safe.

I want to allow user push “next image” saving the one he already made, and make another one. Same process, he finishes at a site with 2 image previews, and a button saying 2$. Again shouldn’t be that hard.

Problem and the question:
But here comes my question. User created 2 images, both 1000×500, and he see both previews. And i want to let him change ON THIS SCREEN one image to 2000×1000, but that also means change of the price. So is that possible without reloading the page, to change SAFELY quantity or some properties of images, also altering price on paypal button?
I am sure javascript isnt the best idea here. I saw paypal lets me use “Add drop-down menu with price/option” but i cant rly use it determine which photo gonna be big one, and which one small one. Cuz with 3 photos there are already quite some possibilities (all small, 1st big, second big, two big etc)…

Solution i wish not to use, but didn’t find any other so far:
Or i have to let him change these properties/values in a form (disabling buy button somehow), and then pass everything using $_POST[] which would redirect him to page, with proper button?

I know its kinda messy, but i tried to explain it best i was able too. My english isn’t the best. Hope you guys understand what i am trying to do.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T17:03:07+00:00Added an answer on June 7, 2026 at 5:03 pm

    it’s not messy and many website does it, example:
    On many Buy-Pages, when you choose US as a country the page submits itself to the server and a new state dropdown appears.
    You can certainly do that, or use AJAX. But, if there are only a few options I WOULD use JS/jQuery to change the prices (especially since it’s such low prices and since the prices are static).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I trying to create a pipe using C#. The code is quite simple but
This is quite frustrating. I am simply trying to create a dynamic text and
I'm trying to create a login system using PHP, and I'm not quite sure
I'm trying create a bot which automatically likes Facebook posts. Using Mechanize I can
I'm trying to create a really simple Factory Method design pattern example in Java.
I'm trying to create a simple login system that will have the forms and
I'm quite sure this a simple issue, but I am trying to create a
Ok so I am trying create a login script, here I am using PHP5
I'm trying to create a new input method using Input Method Kit . The
I think my problem may be quite simple, but after trying different approaches I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.