[PHP] Create table .. script

2004-03-13 Thread Mike Mapsnac
Hello When I need to create table I have to login into mysql and run the query. Is there a way to create some sort of scipt that can create all my tables?.So If I need create a table in new database I just run the script. I know that I can do mysql_query(QUERY OF TABLE); But is there another

Re: [PHP] Create table .. script

2004-03-13 Thread Filip de Waard
On Mar 13, 2004, at 5:24 PM, Mike Mapsnac wrote: Hello When I need to create table I have to login into mysql and run the query. Is there a way to create some sort of scipt that can create all my tables?.So If I need create a table in new database I just run the script. I know that I can do

Re: [PHP] Create table .. script[via LSMTP - see www.lsoft.com]

2004-03-13 Thread Firman Wandayandi
Hi Mike, Try using phpMyAdmin, but sorry I forgot the site :( try google. Regards, Firman - Original Message - From: Mike Mapsnac [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, March 13, 2004 11:24 PM Subject: [PHP] Create table .. script Hello When I need to create

[PHP] Create table with varying results

2002-05-23 Thread Tim Greenleaf
I have a search page that creates a dynamic table of results from MS SQL Server. The table created on the web page does not always get created properly for the same recordset. Sometimes a field may have a black or red background color and if the same exact search is run again it will display

Re: [PHP] Create table with varying results

2002-05-23 Thread Miguel Cruz
Are you using Internet Explorer for Windows to view the HTML? It has some rendering problems with complex tables that result in very erratic behavior in certain circumstances (which I have yet to understand). View the page in another browser, or better yet, view the source code. That's a better

Re: [PHP] Create table with varying results

2002-05-23 Thread Tim Greenleaf
The source HTML (PHP Output) is sometimes correct and sometimes incorrect with the exact same script and SQL statement. The table is very basic. I thought maybe I had some problems with formatting variables in the HTML so I took all the formatting out of the script so it is really basic now and

Re: [PHP] Create table with varying results

2002-05-23 Thread Miguel Cruz
What is the specific nature of the errors in the HTML? Are random characters missing/inserted, or does it look like something that could happen as a result of unexpected program behavior at a higher level? miguel On Thu, 23 May 2002, Tim Greenleaf wrote: The source HTML (PHP Output) is

Re: [PHP] Create table with varying results

2002-05-23 Thread Tim Greenleaf
Hi Miguel, The errors appear to be the result of strings not terminating properly from the PHP output. Then partial HTML code is inserted in cells or at the top of the table. I have stripped everything out and am now just creating a loop to build a table and still get the same errors. I have

RE: [PHP] Create table with varying results

2002-05-23 Thread John Holmes
display there, and put it all at the beginning of the table. Look for anything like that. ---John Holmes... -Original Message- From: Tim Greenleaf [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 6:03 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Create table with varying results

Re: [PHP] Create table with varying results

2002-05-23 Thread Miguel Cruz
Like John, I tried several times (both Mac and Windows IE) and never got anything funny. How many times do you usually have to refresh before you see the problem? (I think I viewed it 4 times). miguel On Thu, 23 May 2002, Tim Greenleaf wrote: The errors appear to be the result of strings not

Re: [PHP] Create table with varying results

2002-05-23 Thread Tim Greenleaf
Hi Miguel, Thanks for looking. It may take three or four times at most. I don't know if you scrolled the table each time but it is random and sometimes not apparent but here is the contents of an e-mail address cell at line 433. fredded width='22%' bgcolor='#FF'department Other e-mail

RE: [PHP] Create table with varying results

2002-05-23 Thread Peter
Greenleaf [mailto:[EMAIL PROTECTED]] Sent: Friday, 24 May 2002 9:00 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Create table with varying results Hi Miguel, Thanks for looking. It may take three or four times at most. I don't know if you scrolled the table each time but it is random and sometimes

RE: [PHP] Create table with varying results

2002-05-23 Thread David Freeman
My testing was on a Win box with apache/php and browser was ie5.5 - I haven't uploaded the test code to any of my lamp boxes to check it there but don't believe it would matter if I did. Here is the source for the page: Before testing your code I did make changes, I'll note them as we go...

RE: [PHP] Create table with varying results

2002-05-23 Thread David Freeman
I thought maybe I had some problems with formatting variables in the HTML so I took all the formatting out of the script so it is really basic now and still have the same problem. I also thought maybe there were issues with the data...i.e. with nulls and non-alpha-numeric

RE: [PHP] Create table with varying results

2002-05-23 Thread David Freeman
I have a search page that creates a dynamic table of results from MS SQL Server. The table created on the web page does not always get created properly for the same recordset. If it was me I'd be doing a view source on the displayed page and comparing what it looks like to what you

[PHP] Create table

2002-03-27 Thread Uma Shankari T.
Hello, Can anyone please tell me how to create a table in mysql using php code.. -Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Create table

2002-03-27 Thread Jason Wong
On Wednesday 27 March 2002 16:51, Uma Shankari T. wrote: Hello, Can anyone please tell me how to create a table in mysql using php code.. sigh This is really basic stuff. Please take a look at the numerous tutorials out the on the world wide web. -- Jason Wong - Gremlins Associates -

RE: [PHP] Create table

2002-03-27 Thread J. Scott Johnson
: * * * * * * * * * * * * * * * * * * * * * * * * * * [EMAIL PROTECTED] http://www.fuzzygroup.com/ Yahoo IM: fuzzygroup -Original Message- From: Uma Shankari T. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 27, 2002 3:51 AM To: PHP Subject: [PHP] Create table Hello, Can anyone please