PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Heya,
So I'm working on a site and I have a while loop that displays the users current projects, their past projects and their contact information. Each section has a title which should only occur once, but since it's in the while loop, it will repeat as many times as their are records. How can I ensure the titles only occur once? Here's a code sample: (thanks!)
$start = true;
while ($something)
{
if ($start)
{
echo 'title';
$start = false;
}
echo 'other stuff';
}
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.