[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.


Closed Thread
 
LinkBack Thread Tools
Old 10-30-2005, 06:11 PM   #1 (permalink)
NamePros Regular
 
Join Date: Jul 2005
Location: U.S.A.
Posts: 655
0.00 NP$ (Donate)

Coolprogram has a spectacular aura aboutCoolprogram has a spectacular aura about


MYSQL Help Please....

I want some mysql help please. I have a code for PHP + HTML but i need some MYSQL help also another thing i need to have a page after you login you will be able to browse around places. Here is my PHP code that i am using for register and sign-in.

PHP Code:
<html>
<
body bgcolor="black">
<
body text="green">
<
h1>Register</h1>
<
p>
<
form action="cool.php" method="POST">
Desired Username:
<
input type="text" name="username" value="Username">
<
/font>>
Type in a password
<input type="password" name="password" value="pass">
<
/font>>
Re-type password
<input type="password" name="password" type="pass">
<
/font>>
<
input type="submit" name="Submit" value="Submit">
</
body>
</
html>
I dont know the rest of the php or MYSQL codes.
PHP Code:
<html>
<
body bgcolor="black">
<
body text="green">
<
h1>Register</h1>
<
p>
<
form action="browse.php" method="POST">
Username:
<
input type="text" name="username" value="Username">
<
/font>>
Type in your password
<input type="password" name="password" value="pass">
<
/font>>
<
input type="submit" name="submit" value="submit">
</
body>
</
html>
I dont know any of the rest of the codes in that one either so can you guys please help me?
thanks a lot,
-Coolprogram
Coolprogram is offline  
Old 10-30-2005, 06:26 PM   #2 (permalink)
Senior Member
 
nasaboy007's Avatar
 
Join Date: Jul 2005
Location: NJ
Posts: 1,112
1,454.30 NP$ (Donate)

nasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud of


so basically you want us to write a full log in script minus the forms? interesting... i dont have time to do that, but i can help u a little.

1) in ur first code, the input of password retype has type="password" and type="pass". i think u want the second type="pass" to say value="Password"

2) first code: you cant have two <input name="password"> it has to be name="password1" and name="password2" or something like that. otherwise, the script wont noe wut ur referring to.

3) u dont need a name= for the submit button if ur using external script files.


as for a fully functional log in script, try this one:
http://www.namepros.com/code/113786-fullyfunctional-member-system-login-logout-admin.html

it was made by a NP'er and it works great.

good luck.
nasaboy007 is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
NamePros new #1 choice for web hosting needs. **FREE HOSTING OFFER*** jmweb Web Hosting Offers 1 10-31-2005 11:16 PM
RESELLER WEB SPACE - $9.99/MONTH For 4GB HD & 30GB BW TO $49.99/mo 25GB HD & 250GB BW IncognitoNet Web Hosting Offers 0 10-29-2005 07:27 AM
Chirr.com - Advanced Hosting Solutions Hazard Web Hosting Offers 0 10-29-2005 03:00 AM
H-Sphere/SiteStudio/EasyApp - Free Domain - Linux, Windows & CF starting at $3.95/mo Royalty Hosting Web Hosting Offers 0 10-28-2005 06:37 PM

Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 06:22 AM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85