Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums

Go Back   Code Forums > Application and Web Development > PHP

Reply
 
LinkBack Thread Tools Display Modes
Old 03-16-2003, 10:52 AM   #1 (permalink)
Ilya020
Techno Rat
 
Ilya020's Avatar
 
Join Date: Jan 2003
Location: San Diego
Posts: 559
Ilya020 is on a distinguished road
Send a message via AIM to Ilya020
Help with setting up mySQL and PHP

Hi Guys,

Recently my teacher asked me to set up an sql database, but I would have to show him how to use it, because he would have to know how it works after I am gone. He is not as geeky as me, so he hope that I would be able to figure it out and show him how to use it. There are some sql tools for Mac OSX on the mac platform. The php page would be for them to login and enter/update their profile information. I would also need pages to display the results of a request for information from someone viewing a page with info about a specific teacher.
Will someone be able to help me figure this out? My real question is how can I make a PHP page were they login and can edit their profile.

Ilya.
__________________
> SELECT * FROM users WHERE clue > 0
0 rows returned
Ilya020 is offline   Reply With Quote
Old 03-16-2003, 11:01 AM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,505
sde is on a distinguished road
that's a pretty general question. i assume by how much you are here that you know that many people will help you.

help you learn and understand .. not really code entire scripts for you.

do you know some php? do you know how to connect to a database?

if you answered yes, then just post more specific questions in places where you are getting stuck .. if you answered no to either of those, then you might want to practice php a little more before you make a commitment like that to your teacher.

there are always places like www.hotscripts.com where you can find pre-generated code, but you would still need to customize it to your requirements.
sde is offline   Reply With Quote
Old 03-16-2003, 11:02 AM   #3 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,505
sde is on a distinguished road
p.s. read this thread to get an idea of where your question as it is would lead:

how do u create login pages??

sde is offline   Reply With Quote
Old 03-16-2003, 03:32 PM   #4 (permalink)
Ilya020
Techno Rat
 
Ilya020's Avatar
 
Join Date: Jan 2003
Location: San Diego
Posts: 559
Ilya020 is on a distinguished road
Send a message via AIM to Ilya020
Thx for the toast...

Yes, I know PHP and I am getting an O'reilly mySQL/mSQL book tonight. So when I have questions...Ill ask them...

Ilya.
__________________
> SELECT * FROM users WHERE clue > 0
0 rows returned
Ilya020 is offline   Reply With Quote
Old 03-17-2003, 06:38 AM   #5 (permalink)
Ilya020
Techno Rat
 
Ilya020's Avatar
 
Join Date: Jan 2003
Location: San Diego
Posts: 559
Ilya020 is on a distinguished road
Send a message via AIM to Ilya020
I also just found out that he would prefer that I use file front. FILE FRONT! What the hell is File Front???? And why the hell doesnt he want me to use MySQL? Ughhhh... </RANT>

Ilya.
__________________
> SELECT * FROM users WHERE clue > 0
0 rows returned
Ilya020 is offline   Reply With Quote
Old 03-17-2003, 02:59 PM   #6 (permalink)
jeffro
Person of interest
 
jeffro's Avatar
 
Join Date: Mar 2003
Location: New Jersey
Posts: 102
jeffro is on a distinguished road
This may be a little after the fact but I tried the O'Reilly book on MySQL and mSQL and I took it back the next day. I thought it was the worst book on the subject that I have ever encountered. Usually O'Reilly books are very good, but it didn't seem to be the case this time.

jeffro
__________________
Jeffro
Linux counter#:213782
GnuPG ID: 406238E7
jeffro is offline   Reply With Quote
Old 03-17-2003, 03:02 PM   #7 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,505
sde is on a distinguished road
never heard of front
sde is offline   Reply With Quote
Old 03-17-2003, 04:08 PM   #8 (permalink)
Ilya020
Techno Rat
 
Ilya020's Avatar
 
Join Date: Jan 2003
Location: San Diego
Posts: 559
Ilya020 is on a distinguished road
Send a message via AIM to Ilya020
Quote:
Originally posted by jeffro
This may be a little after the fact but I tried the O'Reilly book on MySQL and mSQL and I took it back the next day. I thought it was the worst book on the subject that I have ever encountered. Usually O'Reilly books are very good, but it didn't seem to be the case this time.

jeffro
I just got that book.

So far...I dont like it much either.

Ilya.

EDIT: ever try Sams MySQL? Tell us what you tought of it.
__________________
> SELECT * FROM users WHERE clue > 0
0 rows returned
Ilya020 is offline   Reply With Quote
Old 03-17-2003, 11:49 PM   #9 (permalink)
DesertWolf
Non-profit Techie
 
DesertWolf's Avatar
 
Join Date: Dec 2002
Location: Mesa AZ
Posts: 76
DesertWolf is on a distinguished road
Send a message via AIM to DesertWolf
Not sure what kind of answer you are looking for. You mentioned Mac OSX but do you want to access this mysql data base from a web browser or a Carbon or Cocoa program?
If it is from a browser you have a few choices,running Apache and PHP under OSX, if it is from a Mac Carbon or Cocoa program then you are getting into Mac objective C programming.
I am one of the few Mac OSX geeks around here it seems , so let me know and I will see if I can help you.
DesertWolf is offline   Reply With Quote
Old 03-18-2003, 03:16 PM   #10 (permalink)
Ilya020
Techno Rat
 
Ilya020's Avatar
 
Join Date: Jan 2003
Location: San Diego
Posts: 559
Ilya020 is on a distinguished road
Send a message via AIM to Ilya020
Quote:
Originally posted by DesertWolf
Not sure what kind of answer you are looking for. You mentioned Mac OSX but do you want to access this mysql data base from a web browser or a Carbon or Cocoa program?
If it is from a browser you have a few choices,running Apache and PHP under OSX, if it is from a Mac Carbon or Cocoa program then you are getting into Mac objective C programming.
I am one of the few Mac OSX geeks around here it seems , so let me know and I will see if I can help you.
Thanks a lot! I probably will need some help with the Mac

Ilya.
__________________
> SELECT * FROM users WHERE clue > 0
0 rows returned
Ilya020 is offline   Reply With Quote
Old 03-18-2003, 10:10 PM   #11 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,505
sde is on a distinguished road
i have a mac too =)

running web services on it is so simple. i also hear that mysql is going to be bundled in the next osX upgrade.

so far i've only used my mac for vide/audio editing, but programming on it would be fun too.

maybe we should setup a carbon / cocoa form? dont' know if there would be a demand for it though.
sde is offline   Reply With Quote
Old 03-19-2003, 05:10 AM   #12 (permalink)
DesertWolf
Non-profit Techie
 
DesertWolf's Avatar
 
Join Date: Dec 2002
Location: Mesa AZ
Posts: 76
DesertWolf is on a distinguished road
Send a message via AIM to DesertWolf
I asked about a Cocoa/Carbon forum and that was pretty much as far as it went. There are not alot of people on Codenewbie that are into Macs, the Mac section of the forum is one of the slowest, but once my internship is finished (about 2 more hours to put in) I plan on getting back to Cocoa. So if anyone is interested, let me know.
Also I had Apache,mySQL and PHP running on my imac untill I upgraded to 10.2 that broke it I will probably work on getting it back up during spring break next week.
DesertWolf is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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
HTML form preview then INSERT using PHP & MySQL SteveSoler PHP 16 09-21-2008 11:59 PM
Simple PHP MySQL code: confused. easilyi Everything SQL ( MySQL, MSSQL, DB2, Postgre, Oracle, etc...) 4 10-24-2004 07:53 PM
cant connect to mysql databases using php eran PHP 11 08-07-2004 08:02 AM
csv file to mysql using php jayteema PHP 10 07-02-2004 11:20 AM
A Couple PHP & MySQL Questions Geetazz PHP 10 07-23-2002 06:56 AM


All times are GMT -8. The time now is 04:00 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting