Search found 6 matches

by stom
Wed Jun 02, 2010 3:39 pm
Forum: PHP - Code
Topic: Using data from textarea and creating a Word doc
Replies: 1
Views: 198

Using data from textarea and creating a Word doc

I want to convert the data that is entered by the user in a textarea into a word document. I am using a mac, so I cannot use the COM functions provided by php. I am not sure what the other options are for creating a word doc. Please help asap...

Thanks
by stom
Tue May 04, 2010 10:51 am
Forum: HTML, CSS and other UI Design Technologies
Topic: Adding a newline automatically to a div
Replies: 2
Views: 1217

Adding a newline automatically to a div

I have created an editable div box by using the following code. <DIV id="textdiv" onClick="this.contentEditable='true';"> <PRE>this is the content</PRE> </DIV> and the following is the css for it #textdiv { position:absolute; top:30px; width:600px; height:670px; overflow:auto; ba...
by stom
Tue Mar 30, 2010 4:10 pm
Forum: PHP - Code
Topic: using php within a div tag
Replies: 2
Views: 235

Re: using php within a div tag

Thanks...
but I found the mistake... The file was initially an html file... so forgot to change the file name to ".php" .

This is embarrassing!!!... :oops:
bt guess I wil not repeat it again... learn from mistakes...
by stom
Tue Mar 30, 2010 3:11 pm
Forum: PHP - Code
Topic: using php within a div tag
Replies: 2
Views: 235

using php within a div tag

Hi I am trying to fetch values from the database and place it in the listbox within a div using php. This is what I am trying. <DIV> <P>Cancer Data</P> <UL id="Cancer Data"> <?php $link = connectToDB(); // this is a funciton to connect to DB $strQuery = "select * from cancertype"...
by stom
Thu Mar 11, 2010 1:39 pm
Forum: PHP - Code
Topic: Passing data from one server to another
Replies: 3
Views: 193

Re: Passing data from one server to another

Thanks... but will the POST work even if the remote application is in .net and my application uses php?
by stom
Thu Mar 11, 2010 1:14 pm
Forum: PHP - Code
Topic: Passing data from one server to another
Replies: 3
Views: 193

Passing data from one server to another

Suppose that there are 2 applications. One is in my server and the other is a different server. I want to have a link in the remote application which when clicked should open the webpage in my application. Some data should also be sent to my webpage so that i can preload the textboxes with that data...