Re: [PHP-DB] Really Dumb Question...

2001-04-11 Thread Darryl Friesen
ql_query($sql); - Darryl ---------- Darryl Friesen, B.Sc., Programmer/Analyst[EMAIL PROTECTED] Education & Research Technology Services, http://gollum.usask.ca/ Department of Computing Services

Re: [PHP-DB] how do I connect to MSSQL and mySQL with PHP4 and Linux?

2001-03-28 Thread Darryl Friesen
e way, I understand there are major issues with SQL2000 server. In that case, ODBC might be a better choice. - Darryl -- Darryl Friesen, B.Sc., Programmer/Analyst[EMAIL PROTECTED] Education & Research Technology Services, http://gollum.usask.ca/ Department of Computing Ser

Re: [PHP-DB] A question - ($file_exists)

2001-03-27 Thread Darryl Friesen
ing with variables (http://www.php.net/manual/en/language.variables.php) - Darryl -- Darryl Friesen, B.Sc., Programmer/Analyst[EMAIL PROTECTED] Education & Research Technology Services, h

Re: [PHP-DB] Hold that insert!

2001-03-27 Thread Darryl Friesen
the form } else { ### Do some checks to make the the data is OK ### Do the Insert, or whatever else is to be done } - Darryl ------ Darryl Friesen, B.Sc., Programmer/Analyst[EMAIL PROTECTED] Education & Research

Re: [PHP-DB] Editing DB entries via form

2001-03-27 Thread Darryl Friesen
able WHERE Item='Item1' OR Item='Item3'" will work) - Darryl -- Darryl Friesen, B.Sc., Programmer/Analyst[EMAIL PROTECTED] Education & Research Technology Services, http://gollum.usask.ca/ Department of Computing Services, University of Saskatchewan --

Re: [PHP-DB] Select where

2001-03-20 Thread Darryl Friesen
ased'"); You need the leading double quote before SELECT, and you don't need to escape the single quotes. - Darryl ---------- Darryl Friesen, B.Sc., Programmer/Analyst[EMAIL PROTECTED] Education & Researc

Re: [PHP-DB] More on strings

2001-03-20 Thread Darryl Friesen
ead of posting this email). Second, take the array variable out of the double quotes, like you did in the first line. $sql = "select Primaryid from primarycodes where Code like'%" . $row[Primaryexpertise] . "%'"; print $sql . "\n"; $resultp = mysql_query($sql)

Re: [PHP-DB] Re: [PHP] Query - Grouping Results

2001-03-19 Thread Darryl Friesen
of the current user. As you examine each record, check if it's different than the current one. If it is, save it as the current username, and print the login info. If it's the same, just print the login info. - Darryl

Re: [PHP-DB] Default port on sybase_connect()

2001-03-15 Thread Darryl Friesen
should be fairly obvious by looking at the file how to change the port number. Also, check out the documentation that came with FreeTDS/Sybase. - Darryl ---------- Darryl Friesen, B.Sc., Programmer/Analyst[EMAIL PROTECTED

Re: [PHP-DB] mysql_fetch_array problem...!

2001-03-05 Thread Darryl Friesen
e used to jump around the result set. - Darryl ---------- Darryl Friesen, B.Sc., Programmer/Analyst[EMAIL PROTECTED] Education & Research Technology Services, http://gollum.usask.ca/ Department of Computin

Re: [PHP-DB] jacked up quotes

2001-03-02 Thread Darryl Friesen
things easier to follow. Try: print '' . $row['client'] . ''; - Darryl -- Darryl Friesen, B.Sc., Programmer/Analyst[EMAIL PROTECTED] Education & Research Techn

Re: [PHP-DB] Drop down box

2001-03-01 Thread Darryl Friesen
> The action you want is only available using JavaScript. > > You need to submit the form without a submit button. > The "" tag has the "OnChange" event which is scriptable. You > can use the JavaScript statement "this.form.submit();" associated > with the "OnChange" event. > > ... ... > ... It

Re: [PHP-DB] Resolution detect and redirect

2001-02-27 Thread Darryl Friesen
Another reason not to do this is all the extra work in maintaining all the different versions of pages/images etc. Better to spend the time writing PHP code. :) - Darryl ---------- Darryl Friesen, B.Sc., Programmer/Analy

Re: [PHP-DB] array awry

2001-02-27 Thread Darryl Friesen
asked in php-general. - Darryl ------ Darryl Friesen, B.Sc., Programmer/Analyst[EMAIL PROTECTED] Education & Research Technology Services, http://gollum.usask.ca/ Department of Computing Services, University of Saskatchewan ---

Re: [PHP-DB] Hide Files

2001-02-19 Thread Darryl Friesen
'.php') That should exclude all files ending in '.php'. - Darryl ------ Darryl Friesen, B.Sc., Programmer/Analyst[EMAIL PROTECTED] Education & Research Technology Services, http://go

Re: [PHP-DB] Basic MySQL question

2001-02-15 Thread Darryl Friesen
re. Is the mysql server process running? I assume this is a unix box of some sort. Try "ps -ef | grep mysqld". Get any results? - Darryl ---------- Darryl Friesen, B.Sc., Programmer/Analyst[EMAIL PROTECTED] Educatio

Re: [PHP-DB] Apache, PHP4, access problem to MS SQL 7.0

2001-02-14 Thread Darryl Friesen
akes it easier to remember). - Darryl ---------- Darryl Friesen, B.Sc., Programmer/Analyst[EMAIL PROTECTED] Education & Research Technology Services, http://gollum.usask.ca/ Department of Computing Services, University of Saskatchewan

Re: [PHP-DB] Apache, PHP4, access problem to MS SQL 7.0

2001-02-14 Thread Darryl Friesen
akes it easier to remember). - Darryl ---------- Darryl Friesen, B.Sc., Programmer/Analyst[EMAIL PROTECTED] Education & Research Technology Services, http://gollum.usask.ca/ Department of Computing Services, University of Saskatchewan

Re: [PHP-DB] Apache, PHP4, access problem to MS SQL 7.0

2001-02-14 Thread Darryl Friesen
but if you search Google you're bound to find it. Hope that helps. - Darryl ------ Darryl Friesen, B.Sc., Programmer/Analyst[EMAIL PROTECTED] Education & Research Technology Services, http://gollum.usask

Re: [PHP-DB] installing MySQL with PHP4.0.3pl1

2001-02-13 Thread Darryl Friesen
ks like this: [mysqld] basedir = e:/mysql/ I needed to do this before mysqld would even start. - Darryl ---------- Darryl Friesen, B.Sc., Programmer/Analyst[EMAIL PROTECTED] Education & Research Technology Servic

Re: [PHP-DB] what's a "core" file?

2001-02-07 Thread Darryl Friesen
#x27;m sure) If your PHP script, or mysql server is dumping core, you've got big problems that need addressing. - Darryl ------ Darryl Friesen, B.Sc., Programmer/Analyst[EMAIL PROTECTED] Education & Research Techn

Re: [PHP-DB] installing

2001-02-06 Thread Darryl Friesen
f Apache at www.apache.org. I wouldn't bother with PWS. Apache or Xitami (www.xitami.com) are far easier to setup. I've installed PHP under both, with no problems. - Darryl ---------- Darryl Friesen, B.Sc., Programmer/Anal

Re: [PHP-DB] passing object elements in urls

2001-02-06 Thread Darryl Friesen
20 (the hex value for a space). There's probably a PHP function to do this for you (and one to do the reverse) -- I haven't looked. You could try using a + instead of a space too. - Darryl ---------- Darryl Friesen

Re: [PHP-DB] insert into mysql

2001-01-29 Thread Darryl Friesen
We've been using MSSQL Server 7 here quite a bit lately, and it isn't nearly as forgiving. :( - Darryl -- Darryl Friesen, B.Sc., Programmer/Analyst[EMAIL PROTECTED] Education & Research Technolog

Re: [PHP-DB] insert in mysql

2001-01-26 Thread Darryl Friesen
er to pass the _value of the $sql variable_ (i.e. your SQL query) to the mysql_query function. The rest looks good; except the lack of line breaks and indenting in your code, but I tend to be anal about that sort of thing :) - Darryl ----------

Re: [PHP-DB] insert into mysql

2001-01-25 Thread Darryl Friesen
int) then remove the single quotes. - Darryl ---------- Darryl Friesen, B.Sc., Programmer/Analyst[EMAIL PROTECTED] Education & Research Technology Services, http://gollum.usask.ca/ Department

Re: [PHP-DB] insert into mysql

2001-01-25 Thread Darryl Friesen
> It still didn't work. > just says unable to add part Remove the @ from @mysql_db_query and it will spit out the SQL error explaining why the query fails. That should help for debugging. - Darryl ------ Dar

Re: [PHP-DB] insert into mysql

2001-01-25 Thread Darryl Friesen
> You're INSERT query is wrong. Take the ',$db' off the end. ^^ Oops. That's "Your". Long day. - Darryl -- 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 administrators,

Re: [PHP-DB] insert into mysql

2001-01-25 Thread Darryl Friesen
quot;); mysql_close($db);exit();} } > > Why does this not work? > You're INSERT query is wrong. Take the ',$db' off the end. $sql = "INSERT INTO ecomm (ID,part) VALUES ('$sid','$spp')"; - Darryl

Re: [PHP-DB] failure notice

2001-01-22 Thread Darryl Friesen
One hates to be rude, but can someone reach over and slap Mike. Or remove him from the list until he sorts out the mail problems. - Darryl -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

Re: [PHP-DB] Child tables in MySQL

2001-01-19 Thread Darryl Friesen
o join them? - Darryl ------ Darryl Friesen, B.Sc., Programmer/Analyst[EMAIL PROTECTED] Education & Research Technology Services, http://gollum.usask.ca/ Department of Computing Services, University

Re: [PHP-DB] SQL not working !

2001-01-18 Thread Darryl Friesen
2 like '%tvk%') - Darryl ---------- Darryl Friesen, B.Sc., Programmer/Analyst[EMAIL PROTECTED] Education & Research Technology Services, http://gollum.usask.ca/ Department of Computing Services, University of Saskatchewan

Re: [PHP-DB] SQL not working !

2001-01-18 Thread Darryl Friesen
like '%tvk%') - Darryl ---------- Darryl Friesen, B.Sc., Programmer/Analyst[EMAIL PROTECTED] Education & Research Technology Services, http://gollum.usask.ca/ Department of Computing Services, University of Saskatchewan ---

[PHP-DB] Possible Sybase bug

2001-01-17 Thread Darryl Friesen
h); if ($query) { print "Second SELECT successful\n"; } else { print "Second SELECT failed\n"; } ?> -- Darryl Friesen, B.Sc., Programmer/Analyst[EMAIL PROTECTED] Education &