[PHP-DB] PHP4, MySQL, errors....

2001-08-09 Thread Cato Larsen
Appearance: $apperiance Position: $posn Distinguishing characteristics: $charac Strengths and weaknesses: $streng Bio: $bio

[PHP-DB] Re: PHP4, MySQL, errors....

2001-08-10 Thread Cato Larsen
Hey! Thanks for the help Mr. Bothwell. But now it seems I get a new error: Parse error: parse error in C:\Program Files\Apache Group\Apache\htdocs/oiamemb/members.php on line 89 I don't know why, or if it's the MySQL database who's moching with me. The current source is as follows: (Guess I've s

[PHP-DB] Insert data from MySQL into a PHP page (beginner)

2001-08-10 Thread Cato Larsen
Hey! Could someone roughly explain to me how to insert data from a MySQL database into a page or give me some links to places I'd start looking? I've red a few tutorials on this subject, but I don't feel they explain it well enough, (or atleast not so I can grasp it). What I'm trying to do is to

[PHP-DB] Member authentication with PHP and MySQL

2001-08-13 Thread Cato Larsen
Hi! I'm trying to authenticate members by using php and MySQL. This is what I've come to so far: How do I make the authentication to go to site: members.php?charnick=$charnick Where $charnick is brung from the DB line who was authenticated? So that Peter won't end up at John 's membersite?

Re: [PHP-DB] Member authentication with PHP and MySQL

2001-08-13 Thread Cato Larsen
can grab like name, instead of having to querity the DB all the time you need the name of the person and so on? And if yes, how do you get it from the cookie and insert it into the page like $name ? Best regards Cato Larsen -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e

Re: [PHP-DB] Member authentication with PHP and MySQL

2001-08-13 Thread Cato Larsen
single=1 > > And here is the header for other files on the site using the above script > http://www.zend.com/codex.php?id=397&single=1 > > Let me know if this helps > > Sheridan Saint-Michel > Website Administrator > FoxJet, an ITW Company > www.foxjet.com > > >

Re: [PHP-DB] Member authentication with PHP and MySQL

2001-08-13 Thread Cato Larsen
Arg... I get this error: Unable to update database. Please contact [EMAIL PROTECTED] Am I missing something in my DB? Fields in DB: id, email, password, name, loc, aim, icq, msn, yahoo, charname ,charsname, charnick, tit, lvl, picurl, born, appearance, charac, streng, bio, breed, prof, pos

Re: [PHP-DB] Member authentication with PHP and MySQL

2001-08-13 Thread Cato Larsen
Sorry Hugh. But I accedently hit Ctrl + Enter. If you had red the next message from me, you'd seen what error and so on. Cato -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list a

[PHP-DB] Getting info from Cookie

2001-08-15 Thread Cato Larsen
Hi! How can you extract a certain form of info from a Cookie? Im my case the cookie name is "crispy". It has been stored with a session id and a charnick. How do I extract the charnick and use it in the page as "$charnick" or similar? Best Regards Cato Larsen -- PHP D

Re: [PHP-DB] Getting info from Cookie

2001-08-15 Thread Cato Larsen
Thanks! But how do you extract a certain point of info from it? The info is seperated by "+" (without the "'s) I used: And I got Cato+bec39d1ca1091da20b4a8ef5ecacfde8 Where bec39d1ca1091da20b4a8ef5ecacfde8 is the session id for the MySQL database, and Cato is what I want to extract. Cato

[PHP-DB] Update info from form to MySQL. No error but no Update

2001-08-16 Thread Cato Larsen
Hi! I've set up a form that allows members to update they'r profile when they wish. After much debugging I got it working without any errors. The problem though was that it won't update the info in the MySQL database. Any ideas what I may be doing wrong? Cato Some source: mailto:[EMAIL PROTEC

Re: [PHP-DB] Update info from form to MySQL. No error but no Update

2001-08-16 Thread Cato Larsen
Hey Jason! I got it working thanks to a print SQL command. But could you give me an example on how to use htmlspecialchars() in my case? What would this line become? $appearance = str_replace("'",""",$appearance) Best regards Cato http://www.oia.f2s.com -- PHP Database Mailing List (http: