[PHP-DB] arrays and email

2002-01-29 Thread Kevin Ruiz
I'm working on an application that will allow someone to view all attendees for a specific webinar that my company is hosting. I want to allow the user to send one group email to all participants scheduled for that particular webinar. After I connect to my database my code looks like this: \n";

[PHP-DB] passing variable through an html email

2002-01-15 Thread Kevin Ruiz
sting purposes I'm sending all mail to myself /* recipients */ $to = "Kevin Ruiz <[EMAIL PROTECTED]>"; /* subject */ $subject = "Access to downloads section at Worktiviti.com"; /* message */ $message = ' Access to d

[PHP-DB] rewriting the $server_name variable with php?

2002-01-07 Thread Kevin Ruiz
Is there anyway to rewrite the $server_name variable with php? This is kind of an ambitious post for I think I already know the answer. My company has just changed our corporate identity and we want our old url to point to the new one, http://www.worktiviti.com. This isn't a problem, we've chan

[PHP-DB] overwriting new information in a table

2001-12-02 Thread Kevin Ruiz
I'm working on an application that will allow resellers to log into the site and see their potential buyers. When they log in they see their potential buyers and by clicking a link they will get more detailed information about their contacts. They will also have a link to update their clients li

[PHP-DB] resource id #2, #3, #4......

2001-11-28 Thread Kevin Ruiz
I've come across yet another problem. I have a table set up that houses four things, a person's real name, username, pass, and id. The id is used to join another table which houses that persons contacts. I've been validating the user and pass by comparing the number of rows that the sql stateme

[PHP-DB] Using variables within a SELECT statement

2001-11-28 Thread Kevin Ruiz
I'm working on an application that selects a user's userid if their password and login match. If the login and password match I want my variable $cir to run its own select statement and return its corresponding contactid...for this example we'll say that value = 5. I then want to plug in $cir in

[PHP-DB] Newbie help with cookies/sessions

2001-11-27 Thread Kevin Ruiz
I'm new to the PHP and Mysql world and I hope I have an problem that can be answered quickly. It seems simple but who knows. Whenever I try to use cookies or start a session I get the following error: Warning: open(/Temp\sess_ba759cb3d78fadb70745ca480f1d8661, O_RDWR) failed: m (2) in Un