Goto Page: 1, 2, 3, 4, 5, 6, 7, 8
Actual Results
- guitrspaz
- Forums: Programming / Scripting / Coding Forum
- Sujet: Database - Date Field?
- Subject: Database - Date Field?
- Réponses: 5
- Vus: 1063
- Subject: Database - Date Field?
Posted: Janvier 14th, 2010, 6:05 pm
Or you could ALTER [tablename] MODIFY [datefield] TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP...I think.
- guitrspaz
- Forums: Programming / Scripting / Coding Forum
- Sujet: PHP Form Handler/Config Issue?
- Subject: PHP Form Handler/Config Issue?
- Réponses: 2
- Vus: 824
- Subject: PHP Form Handler/Config Issue?
Posted: Septembre 16th, 2009, 3:16 pm
Thanks. I have added the MIME types to httpd.conf. The page loads perfectly if I enter the URL in the browser...it only returns the blank file when the form is submitted. The form code you posted is correct except I have method="post" enctype="multipart/form-data" in there becaus...
- guitrspaz
- Forums: Programming / Scripting / Coding Forum
- Sujet: PHP Form Handler/Config Issue?
- Subject: PHP Form Handler/Config Issue?
- Réponses: 2
- Vus: 824
- Subject: PHP Form Handler/Config Issue?
Posted: Septembre 16th, 2009, 8:14 am
Hi all, I'm having a problem with a PHP form handler that I've never seen before. When I submit the form, the browser tries to download the handler page (blank BTW) instead of rendering it in the browser. If I hit the handler directly, it renders as expected. In the process of testing, I have ended ...
- guitrspaz
- Forums: Programming / Scripting / Coding Forum
- Sujet: PHP Multiple Page Forms
- Subject: PHP Multiple Page Forms
- Réponses: 11
- Vus: 1137
- Subject: PHP Multiple Page Forms
Posted: Mars 11th, 2005, 7:43 pm
that depends. if you want detail 2 to be passed from one form or another, you need to add the hidden input to the form AFTER the information is entered...likewise for detail 1. You can also keep passing it along. so for example, if the user enters detail 1 on the first of 3 forms, you'd want to put ...
- guitrspaz
- Forums: Programming / Scripting / Coding Forum
- Sujet: PHP Multiple Page Forms
- Subject: PHP Multiple Page Forms
- Réponses: 11
- Vus: 1137
- Subject: PHP Multiple Page Forms
Posted: Mars 9th, 2005, 9:50 pm
this will work beautifully:
Code: [ Select ]
<input type="hidden" name="detail1" value="<?=$_REQUEST['detail1'] ?>" />
<input type="hidden" name="detail2" value="<?=$_REQUEST['detail2'] ?>" />
<input type="hidden" name="detail2" value="<?=$_REQUEST['detail2'] ?>" />
- <input type="hidden" name="detail1" value="<?=$_REQUEST['detail1'] ?>" />
- <input type="hidden" name="detail2" value="<?=$_REQUEST['detail2'] ?>" />
- guitrspaz
- Forums: Programming / Scripting / Coding Forum
- Sujet: Obscure error. Need help.
- Subject: Obscure error. Need help.
- Réponses: 6
- Vus: 612
- Subject: Obscure error. Need help.
Posted: Mars 9th, 2005, 9:45 pm
just saw your last post. you don't have a $_GET[] anywhere in it. and that should work anyway...to elminate any issues, i always use $_REQUEST[] because it encompasses get, post etc all in one, so that would be worth trying...if you have too much trouble with it, it might be worth contacting your se...
- guitrspaz
- Forums: Programming / Scripting / Coding Forum
- Sujet: Obscure error. Need help.
- Subject: Obscure error. Need help.
- Réponses: 6
- Vus: 612
- Subject: Obscure error. Need help.
Posted: Mars 9th, 2005, 9:41 pm
- guitrspaz
- Forums: Flash and ActionScript Forum
- Sujet: Basic Button Problem
- Subject: Basic Button Problem
- Réponses: 4
- Vus: 700
- Subject: Basic Button Problem
Posted: Mars 9th, 2005, 9:22 pm
for one thing, in this quote: _root.myButton.onPress = function() { gotoandplay(20) } you left out a semi-colon:
but you also may have better luck with: [code]this.myButton.onPress = funct...
Code: [ Select ]
_root.myButton.onPress = function() { gotoandplay(20); }
- guitrspaz
- Forums: Flash and ActionScript Forum
- Sujet: Raising a "press" event to a button from AS2
- Subject: Raising a "press" event to a button from AS2
- Réponses: 8
- Vus: 3626
Posted: Mars 9th, 2005, 9:11 pm
is this helpful?
Code: [ Select ]
this.btnGo.onPress = function () {
theGoCode();
};
theGoCode();
};
- this.btnGo.onPress = function () {
- theGoCode();
- };
- guitrspaz
- Forums: Programming / Scripting / Coding Forum
- Sujet: HELP with time() calculation and conversion
- Subject: HELP with time() calculation and conversion
- Réponses: 2
- Vus: 802
Posted: Janvier 28th, 2005, 8:18 pm
i can tell you that i always had problems with time()...so i use date() for everything...maybe, if you use date()...maybe it'll work? you can format it anyway you want...and format it so its the same as mysqls TIME() (which is 00:00:00)...you may have an easier time than messing with time(). the pro...
- guitrspaz
- Forums: Programming / Scripting / Coding Forum
- Sujet: simple php post help
- Subject: simple php post help
- Réponses: 3
- Vus: 584
- Subject: simple php post help
Posted: Janvier 28th, 2005, 7:56 pm
- guitrspaz
- Forums: Programming / Scripting / Coding Forum
- Sujet: MySQL
- Subject: MySQL
- Réponses: 1
- Vus: 570
- Subject: MySQL
Posted: Décembre 22nd, 2004, 8:27 pm
http://dev.mysql.com/downloads/mysql/4.0.html
- guitrspaz
- Forums: Programming / Scripting / Coding Forum
- Sujet: Trouble with mail form
- Subject: Trouble with mail form
- Réponses: 6
- Vus: 676
- Subject: Trouble with mail form
Posted: Décembre 22nd, 2004, 8:14 pm
oops, change $_POST['action'] to $_GET['action'] and it should work...sorry, missed that on first glance.
- guitrspaz
- Forums: Programming / Scripting / Coding Forum
- Sujet: Trouble with mail form
- Subject: Trouble with mail form
- Réponses: 6
- Vus: 676
- Subject: Trouble with mail form
Posted: Décembre 22nd, 2004, 8:12 pm
I did a quick re-write...see if this works: [code] <?php if(!$action) { print (" <form action='contactform.php?action=send' method='post'> <table width='400' border='0' cellspacing='0' cellpadding='0' align='center'> <tr> <td align='center' va...
- guitrspaz
- Forums: Programming / Scripting / Coding Forum
- Sujet: Posting HTML Pages from Form?
- Subject: Posting HTML Pages from Form?
- Réponses: 4
- Vus: 702
- Subject: Posting HTML Pages from Form?
Posted: Novembre 17th, 2004, 9:19 pm
with HTML only, its not possible to generate pages. you'd need something like PHP to generate the pages for you. in which case, you'd need to build a template page like Maedhros mentioned. it would be formatted like a regular HTML page, but the sections in which you want to show form data would have...
