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 c
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 m
> 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 y
> 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 char
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...
l Message-
From: Tim 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 b
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" ce
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
't 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] Cre
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 c
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 somet
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
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 w
Here you go:
Bad
Database Request in :'
.__FILE__ .' line '.__LINE__
.'The query used was: '.$query
.'MySQL says '.mysql_error()
.'Email administrator for help at ' . $sysadminemail . ' for
help' );
// Closing connection to the db
mysql_close($link);
?>
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..
This is really basic stuff. Please take a look at the numerous tutorials out
the on the world wide web.
--
Jason Wong -> Gremlins Associates -
15 matches
Mail list logo