- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
-
AuthorPosts
-
February 23, 2010 at 12:30 pm #28121
jonleesmith
MemberHi Everyone
I need some help, Im trying to echo a function and It doesnt work, is it possible? If so how?
eg:
Code:All it does is shows
http://getUrl() in the address bar
Thanks In advance
jonleesmith
February 25, 2010 at 3:49 pm #71605jonleesmith
MemberDoes’nt seem to be working unfortunately. Gota be some how
Code:$query = “SELECT title FROM go_pages “;$result = mysql_query($query);
while ($row = mysql_fetch_array($result)) {
echo “- $row[title]
“;
I want to put the getUrl() function in
Code:Enclose your complex variables in curly braces and you should be fine.
Code:echo “- {$row[title]}
“;
March 12, 2010 at 1:40 am #56731stonemethew
MemberThis is the exact way to use a echo into the PHP Language,
<?php
$myString = "Hello!";
echo $myString;
echo "<h5>I love using PHP!</h5>";
?>AuthorPostsViewing 4 posts - 1 through 4 (of 4 total)- The forum ‘Back End’ is closed to new topics and replies.