Jump to content

[SOLVED] Parse error: parse error in


smQQkin

Recommended Posts

I can't figure out why I am getting the following error :

Parse error: parse error in C:\wamp\www\Sams\numberdheading1.php on line 5

 

<?php
function numberedHeading ($txt) {
static $num_of_calls = 0;
$num_of_calls++;
echo "<h1>".$num_of_calls." ". $txt."</h1>";6:}
numberedHeading ("Widgets");
echo "<p>We build a fine range of widgets.</p>";
numberedHeading ("Doodads");
echo "<p>Finest in the world.</p>";
?>

 

Any ideas?

Link to comment
https://forums.phpfreaks.com/topic/168050-solved-parse-error-parse-error-in/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.