Hello again
I'm trying to limit the number of charcters displayed by an echo statement.
I have read that best way to do this is using a built in function of MySQL rather PHP.
However I am having difficulty executing this.
Here's my code, which outputs however many characters in the row it finds.
<?php echo $row_H2['programme']; ?>
I have tried
<?php echo $row_H1=mysql_query("SELECT programme, SUBSTRING(text, 1, 50)"); ?>
But it does not working.
Can some please give some pointers.
Thanks