Hi,
I have little problem while displaying a result from one simple querry.
If i insert values into mysql DB in following order (12, 3, 14, 4 )
I allways have ( 12, 14, 3, 4 ) displaying when query the DB. (same with
letters - dcba -> abcd etc)
I would like to be able to display the data like th
Le 27-sept.-05 à 23:52, Philip Hallstrom a écrit :
http://us3.php.net/manual/en/function.wordwrap.php
thanks a lot!
$newtext = wordwrap($row[1], 50, "\n");
echo $newtext;
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
if "chunk_split" function split the line of text (here on 50 char)
I was wondering if there exists one function who take care if
the 50 char is in the middle of the word and split the line
first "empty space" before the word or just after?
$newstring = chunk_split($row[1], 50, '');
echo $n
Hi folks,
It is permited to do something like this in the functions "body"
cellpadding="0">
Thanks a lot,
ADI
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
is there any magic function who can give me from:
$string = " abcdefghijklmnopqrstuwvxyz";
somthing like this:
abcd
efgh
ijkl
mnop
qrst
uwvx
yz
(each 'x' letters go to the next line)
Thanks a lot,
ADI
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
Rory Browne a écrit :
I haven't a monkies what that code(your java) does, and I don't have
time to analyse it(in expensive cybercafe), but you may want to
consider www.php.net/print-r www.php.net/var-dump and
www.php.net/var-export
I think they may do what you want without using the toString met
To print "state" of object in Java I can define toString() function and
then I can do something like this:
Java exemple:
*
import java.io.*;
import java.util.*;
public class ReadTextFromFile
{
private static String line;
private static String
Jack Scott a écrit :
Try this:
$insertQuery = "Insert into TABLE
(
col_one,
col_two
)values (
'" . $this -> firstName . "',
'" . $this-> lastName . "'
)";
$db =& new
Hi,
I'm new in php so like usual I have little problem(s).
I have "DB" clas who connect to database, select database, query
database and so on.
I have other class "User" with some "members".
exemple:
...
var $firstName;
var $lastName;
...
Then I need to insert created object into mySQL database
9 matches
Mail list logo