User Profile

Collapse

Profile Sidebar

Collapse
iamgame
iamgame
Last Activity: Jan 25 '09, 05:12 PM
Joined: Sep 11 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • iamgame
    replied to Any idea why this isn't posting?
    in PHP
    I think you need to do these in order to get it working:

    1. End the sole PHP statement in your form code with a semi-colon. That is, change <?php echo $namex?> to <?php echo $namex;?>
    2. You have used $_POST['Chris Britain'], which means there is an element, probably an input tag, in your form whose "name" attribute has the value "Chris Britain". You cannot use spaces to specify names. You should choose
    ...
    See more | Go to post

    Leave a comment:


  • How about using the global variable outside the function too? The following code should work:

    Code:
    global aGlobal
    aGlobal = 12
    def IncGlobal():
        global aGlobal
        aGlobal += 1
    
    IncGlobal()
    
    print aGlobal
    ...
    See more | Go to post

    Leave a comment:


  • Nice to know Netwatcher that the code is working alright for you now. :)
    See more | Go to post

    Leave a comment:


  • Perhaps, try changing "NULL" to "None". Also, do not pass "true" in the frame.Show() method. And lastly, you can return "1" as the boolean value for OnInit() function.

    Modified code is:

    [CODE=python]import wx
    ID_ABOUT = 101
    ID_EXIT = 102

    class MyFrame(wx.Fram e):
    def __init__(self, parent, ID, title):
    wx.Frame.__init __(self,...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...