Jump to content


Photo

Approve/Reject buttons


  • Please log in to reply
4 replies to this topic

#1 defroster

defroster

    Advanced Member

  • Members
  • PipPipPip
  • 89 posts

Posted 20 March 2013 - 06:06 PM

Hello,

I am trying to create approve/reject buttons that will dynamically update (and change a value in a database). I am using php and mysql. Does anyone know of a tutorial? I have looked everywhere. Thanks



#2 Jessica

Jessica

    This is not my name.

  • Gurus
  • 8,982 posts
  • LocationDallas, TX
  • Age:26

Posted 20 March 2013 - 07:50 PM

Sounds fairly simple. Take a look at jQuery.
My goal in replying to posts is to help you become a better programmer, including learning how to debug your own code and research problems. For that reason, rather than posting the solution, I reply with tips and hints on how to find the solution yourself. See below for useful links when you get stuck.

How to Get Good Help: How to Ask Questions | Don't be a help vampire
Debugging Your Code: Debugging your SQL | What does a php function do? | What does a term mean? | Don't see any errors?
Things You Should Do: Normalize Your Data | use print_r() or var_dump()
Lulz: "Functions should not have side effects." - trq

Please take a look at my new PHP/Web Dev blog: The Web Mason - Thanks!!

#3 defroster

defroster

    Advanced Member

  • Members
  • PipPipPip
  • 89 posts

Posted 21 March 2013 - 02:11 AM

Thanks, I have looked everywhere but unable to find any tutorial, any ideas where to find one?



#4 Jessica

Jessica

    This is not my name.

  • Gurus
  • 8,982 posts
  • LocationDallas, TX
  • Age:26

Posted 21 March 2013 - 04:04 PM

You don't need a tutorial for something that simple.
My goal in replying to posts is to help you become a better programmer, including learning how to debug your own code and research problems. For that reason, rather than posting the solution, I reply with tips and hints on how to find the solution yourself. See below for useful links when you get stuck.

How to Get Good Help: How to Ask Questions | Don't be a help vampire
Debugging Your Code: Debugging your SQL | What does a php function do? | What does a term mean? | Don't see any errors?
Things You Should Do: Normalize Your Data | use print_r() or var_dump()
Lulz: "Functions should not have side effects." - trq

Please take a look at my new PHP/Web Dev blog: The Web Mason - Thanks!!

#5 Maq

Maq

    Advanced Member

  • Moderators
  • 9,362 posts
  • LocationPennsylvania, USA

Posted 21 March 2013 - 04:51 PM

http://api.jquery.com/jQuery.ajax/


tjmothy

ini_set ("display_errors", "1");
error_reporting(E_ALL);




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com