Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Nov 2010
    Posts
    432
    Thanks
    56
    Thanked 1 Time in 1 Post

    Dynamically? Enable Editing on my Website

    Hiya Everyone,

    On the page I'm working on here, under the actions drop down you'll see 'Enable Editing'. Upon being clicked, I would like the editing options to dynamically show on the same page.

    PHP Code:
    <?php 
        
    if ($editing enabled) {
            
    show this
        
    }
    ?>
    I plan for my editing options to be wrapped in PHP code alike the above. My syntaxes used may be incorrect as I am new to PHP but hopefully you understand what I am trying to achieve. I understand you can use PHP to set a variable in Javascript, however this will not work visa-versa.

    Am I on the correct track, I'm a little confused on how to move forward and could really do with some help.

    Best Regards,
    Tim

  • #2
    Regular Coder
    Join Date
    Sep 2002
    Posts
    462
    Thanks
    0
    Thanked 20 Times in 20 Posts
    how it's coded depends on the type or what you intend to edit.
    post an example of what you intend to have dynamically edited.
    NO Limits!! DHCreationStation.com
    ------------------------------------------------------------
    For projects using MediaTypes (MIMETypes) visit E-BAM.net -(updated weekly)

    Broken items wanted for tinkerin'! PostItNow@BrokenEquipment.com
    Global Complaint Dept.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •