php-windows Digest 29 Mar 2003 10:35:32 -0000 Issue 1658
Topics (messages 19181 through 19183):
Re: Error, does anyone see anything wrong?
19181 by: Dash McElroy
Re: What does"Query was empty" mean?
19182 by: cpdm.efn.org
Tables (might be OT)
19183 by: Bobo Wieland
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Take a look at http://www.php.net/manual/en/function.pdf-rect.php.
Works just fine.
-Dash
vipula wrote:
Hi,
I'm trying to draw a table in a PDF with php. At the moment I can draw it as
a combination of lines by giving cordinates. Is there any easy or systamatic
way to do this.
Thanks in advance.
-Vipula
--- End Message ---
--- Begin Message ---
nah, just a common one.
;)
--Christopher
Quoting quickshow <[EMAIL PROTECTED]>:
> oh,what a stupid mistake i just made.
> thx
> <[EMAIL PROTECTED]> ??????:[EMAIL PROTECTED]
> > your query variable is mis-named in the assignment statement:
> > $addtmt = "Insert into....
> >
> > $addstmt is the variable you are passing to mysql_query()
> >
> > the $addstmt variable is empty, hence the error.
> >
> > --Christopher
> >
> > Quoting quickshow <[EMAIL PROTECTED]>:
> >
> > > i am php&mysql newbie.
> > > i have created a table like:
> > > =======================================================
> > > CREATE TABLE $data_dep(
> > > ID int(3) DEFAULT '0' NOT NULL auto_increment,
> > > department_name VARCHAR(10),
> > > department_desc TEXT,
> > > publishtime DATE,
> > > updatedby VARCHAR(8),
> > > updated TIMESTAMP,
> > > PRIMARY KEY (ID)
> > > )
> > > =======================================================
> > > when i use :
> > > $addtmt = "Insert into
> > > $data_dep(department_name,department_desc,editedby,publishtime)
> > > values(%s,%s,%S,%s)";
> > >
> mysql_query(sprintf($addstmt,$department_name,$department_desc,$editedby,$pu
> > > blishtime),$link);
> > >
> > > an error occured:
> > > Query was empty .
> > > ========================================================
> > > Must i insert
> > > ID int(3)
> > > department_name
> > > department_desc
> > > publishtime
> > > updatedby
> > > updated
> > > COMPLETELY?
> > >
> > >
> > >
> > > --
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> >
> >
> >
> >
> > ------------------------------------------------------------
> > Visit http://www.efn.org for all your community networking needs
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
------------------------------------------------------------
Visit http://www.efn.org for all your community networking needs
--- End Message ---
--- Begin Message ---
When using dynamic content, like PHP interacting with MySQL it is easier to
use tables then anything else. But tables will get you into trouble! If
someone enters a really long word the tablecell will expand so that the
hwole word will be shown.
Is there some way I can prevent this? With html, php or css? I've tried
style='overflow:hidden' but it didn't work...
.bobo
--- End Message ---