Re: [PHP-DB] basic form entry

2007-10-07 Thread Olavi Ivask
INSERT inserts new data to database. If you want to update data, use UPDATE instead of INSERT. Olavi Ivask I have been racking my brains trying to figure out what I am doing wrong. > i > have created a basic form that calls requests user information...the form > then runs insert.php.

Re: [PHP-DB] PHP to MS SQL Package

2008-06-12 Thread Olavi ivask
Hi, you need to install "freetds" before compiling php. compile php: ./configure [--with-apxs --with-mysql...] --with-sybase=/usr/local/freetds make make install Olavi Ivask On Thu, 2008-06-12 at 12:14 -0400, Wei, Alice J. wrote: > Hi, > > I am currently using a Linux

RE: [PHP-DB] PHP to MS SQL Package

2008-06-12 Thread Olavi ivask
Hello, Here is a good article about ms-sql & PHP on Linux (http://www.devarticles.com/index2.php?option=content&task=view&id=667&pop=1&page=0&hide_js=1) Olavi Ivask On Thu, 2008-06-12 at 13:43 -0400, Wei, Alice J. wrote: > Hi, > > After stopping the Apache se

Re: [PHP-DB] Random pick

2010-01-25 Thread Olavi Ivask
Hi, did you mean something like this? $level_names = array("Guest", "Regular User", "Intl. User", "Contractor", "Employee", "Sales", "Investor", "Human Resources", "Administrator&quo

Re: [PHP-DB] Random pick

2010-01-25 Thread Olavi Ivask
hes a number, return the text associated with that number. "Guest" || "Regular User" || "Intl. User" || "Contractor" || "Employee" || "Sales" || "Investor" || "Human Resources" || "Administrator";