[PHP-DB] Basic Doubts

2004-04-16 Thread andy amol
hi, I want to know the following things. 1. How can we maintain referential integrity (rather check) using PHP Any example code will be helpful. 2. I want to display the column of the tables, how to do that. 3. I want to align the text and the text box on the page. 4. I also want to che

Re: [PHP-DB] putting strings together with a linefeed

2004-04-16 Thread boclair
- Original Message - From: "Hull, Douglas D" <[EMAIL PROTECTED]> For example, say I have a variable $mytext = 'what up doc'. Now I want to add the text 'not much' to the end of this variable. But I want to place a return or linefeed after the original text so when I echo $mytext it look

Re: [PHP-DB] mysql multi-row insert limitations?

2004-04-16 Thread Bruno Ferreira
Tom Reed wrote: I have a lost of 25,000 unique words and I'd like to insert them into my database. Does anyone know if there is a limit to the number of rows you can insert in one statement? example insert: INSERT INTO table (word) VALUES ('tree'),('book'), 'apple') --> Enter's three rows in the

[PHP-DB] Re: Subject: putting strings together with a linefeed

2004-04-16 Thread Neil Smith [MVP, Digital media]
You should appreciate there is a difference between using double quotes and single quotes around a string. So you can't say print('what up doc $mycarriagereturnvariable'); and expect it to output the value of $mycarriagereturnvariable. Next, you *can* use this construct within *double* quotes.

[PHP-DB] Re: Subject: PHP vs. Flash

2004-04-16 Thread Neil Smith [MVP, Digital media]
Yes, it should work fine but please understand (1) Your flash movie must know how to process a query string passed to it and (2) IE does not support the EMBED syntax, you need to wrap the flash OBJECT tag around the EMBED just as you see on flashkit for it to work (that is for IE to pass the fla

[PHP-DB] Fatal error: Call to undefined function: mysql_connect()

2004-04-16 Thread Tim
Setup: 2 servers, one with PHP 4.1.2 and no MySQL installed, the other has MySQL and PHP 4.1.2 Problem: I am attempting to connect to the MySQL server from the server without MySQL, but I get the error that shows in the subject. Fatal error: Call to undefined function: mysql_connect() in /folder/

[PHP-DB] mysql multi-row insert limitations?

2004-04-16 Thread Tom Reed
I have a lost of 25,000 unique words and I'd like to insert them into my database. Does anyone know if there is a limit to the number of rows you can insert in one statement? example insert: INSERT INTO table (word) VALUES ('tree'),('book'), 'apple') --> Enter's three rows in the database? -tom

Re: [PHP-DB] Occasional css/javascript errors using IE6: variables in url

2004-04-16 Thread Mikael Grön
My guess is that it's IE problem. I've had problems with CSS not loading when it should and stuff like that with IE as well. Try using other browser. I always make sure to have a version of Netscape installed. Now that I run on an iBook (OS X 10.3.2) I have IE, Safari, Camino and Netscape ins

[PHP-DB] Occasional css/javascript errors using IE6: variables in url

2004-04-16 Thread John
Using Internet Explorer I have a database feeding a php page showing a html table that just lists some fields of the db table and at the top of the page gives more details of one particular line, as chosen by a drop down box on the page. Occasionally, something happens in Internet Explorer that I

RE: [PHP-DB] putting strings together with a linefeed

2004-04-16 Thread Swan, Nicole
"\r\n" should give a carriage return. i.e: $mytext = 'what up doc'; $mytext .= '\r\n not much'; --Nicole --- Nicole Swan Web Programming Specialist Carroll College CCIT (406)447-4310 -Original Message- From: Hull, Douglas D [mailto:[EMAIL PROTECTED] Sent: Friday

[PHP-DB] putting strings together with a linefeed

2004-04-16 Thread Hull, Douglas D
For example, say I have a variable $mytext = 'what up doc'. Now I want to add the text 'not much' to the end of this variable. But I want to place a return or linefeed after the original text so when I echo $mytext it looks like: what up doc not much I tried: $mytext = 'what up doc'; $mytext

[PHP-DB] PostgreSQL + Cygwin

2004-04-16 Thread Gabriel Gramajo
Alguien ha hecho funcionar PostgreSQL con Cygwin, que error puede ser que me diga que gcc no puede generar ejecutables. Gracias desde ya, Saludos, Gabriel.

[PHP-DB] PHP vs. Flash

2004-04-16 Thread Mikael Grön
I'm not sure this post really belongs in this list, but I'll give it a try anyway.. Anyone who's ever worked with PHP (or any other serverside scripting language) vs. Flash has probably had his/her share of problems with passing variables back and forth between the two. Most of the time that c

Re: [PHP-DB] Link to do query

2004-04-16 Thread Jason Wong
On Friday 16 April 2004 12:15, JeRRy wrote: > I have a Tipster Website that lists a Tipster Ladder. > So it shows their name and their current score. What > I want to do is make their name clickable and upon > clicking the name it loads that persons profile which > is fetched from the mysql db. >