FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Submit buttons (is this PHP?)





Nae_splash
I'm sorry if this is not PHP but uh i have put in code for a 'submit' button and all it says is 'submit query' and i don't know how to fix it. Maybe i'm using the wrong code? If you could give me the code your supposed to use it would be awesome. Very Happy thanks!

~nae
HabPie
Hmm, Wt Do You meen?
Please Post Code.

Do You Meen PHP Post And Get/Request Functions?


Regards, HabPie (Sam)


mathiaus: Poinless space and 'cheese!' comment removed
DanielXP
This is HTML.

The code for a post button is

Code:
<input type='submit' value='CHANGE HERE'>


Change the 'CHANGE HERE' to what you want you button to say.
Nae_splash
Thank you DanielXP i was doing something of a whole other nature Smile

~Nae
Nae_splash
okay i know im gonna sound stupid here but how do i link it to somewhere? (link a submit button to another page)
DanielXP
Code:
<form action='URL.HTML' method='post'>
<input type='submit' value='BUTTON TEXT'>
</form>


Change the CAPS


the action to where you want it to go when the user submits.
Nae_splash
THank you DanielXP very very much.
Nae_splash
Okay i really really do feel like an idiot Rolling Eyes Embarassed but do i have to get a member system before i can have it enter you to your account cuz it doesn't go anywhere when i have it redirected to houndism.com. Is this making sense?

~Nae
DanielXP
Nae_splash wrote:
Okay i really really do feel like an idiot Rolling Eyes Embarassed but do i have to get a member system before i can have it enter you to your account cuz it doesn't go anywhere when i have it redirected to houndism.com. Is this making sense?

~Nae


Sorry i can't under stand a word.
Nae_splash
It's okay i have it figured out now. Very Happy
Related topics
File upload with PHP, Build an upload database for your site
how to show only the name of the domain?
How Tough is PHP - Part II
Developing a Login System with PHP and MySQL
Captcha for new users
Is there any way to submit post data with php?
Checkboxes and Radio Buttons
How to search in a MySQL - database
Spell Check?
Cancel Button?
Send POST variables from HTML
Internal Server Error when posting in phpbb3
This piece of code isn't working properly :(
Is this a sign that my website can be SQL injected?
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.