- End the sole PHP statement in your form code with a semi-colon. That is, change <?php echo $namex?> to <?php echo $namex;?>
- 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
User Profile
Collapse
-
I think you need to do these in order to get it working:
-
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
Leave a comment:
-
Nice to know Netwatcher that the code is working alright for you now. :)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,...Leave a comment:
No activity results to display
Show More
Leave a comment: