Hello, I understand how wordwrap works in php and have used it well before. However when I used wordwrap on a variable that is going to be emailed it puts the line breaks in well before it should. The code is below.
$name = thisisaname
$email = thisisanemail
$text = "Account name:"." ".$name." "."Account email:"." ".$email."r"."r";
$text = wordwrap($text,90,"r");
If i change word wrap to 50 it wraps it after the word Account? any help
Users and Groups with PHP Classes
Hi,I have setup what I hope to be a good working User class. Now I want to introduce group membership and group permissions. Before doing so, I have a couple of questions.Firstly, because users and
Why doesn't this work? (SSH2)
This is my script:Code: <?php$connection = ssh2_connect('213.251.167.109', 22);ssh2_auth_password($connection, 'root', 'MGdgfskc');$stream = ssh2_exec($connection, 'useradd -d /home/users/test
Apart from cron
I need to run a php file every one hour. Is there any other solution apart from cron job?
ALV grid with 2 headers
Hi Gurus,
Thread in PHP
Thread in PHPSome basic use and basic code for thread in phpThis is my question?
Multidimensional Array into an Html table, help!
Hello all, I am new to HTML/PHP so any help would be great.I have a multidimensional array filled with values that I am trying to output into an html table. This works (outputs value of array):Code:
get the country of visitor and display content based on that
Hello all,I have seen that Google analytics can tell you where a visitor is coming from and I want to do something similar. But I would like to add the functionality of redirecting a user based on his
onclick problem
I have <input type="text" name="message"><a href=page2.php>click here</a> Can i parse the value whatever written in the textbox on url
Javascript or not?
How many people prefer javascript/ajax sites? How many prefer the good old fashion straight php sites?
php code to accept and delete incoming data
Using following HTML Code please show me how to write PHP code to accept and delete the incoming data entered through the form below. from the following MySQL database and table.Database = hrmsTable =