PDA

View Full Version : Text question . . .


SmEdD
06-20-2003, 01:32 AM
Ok I am having a problem for text to come up how I put it in.

Alright the top section is how I want it to come up. Like if I hit enter for a line down I want it like that. But in top one I had to added <br> for it to show up like that.

As you can see in the bottem I didn't add <br> and I don't want to have to.

This is my code for the veiw section.

// ###################### Start Veiw #######################

if ($_REQUEST['do'] == 'view')
{
globalize($_REQUEST, array('hackid'));
construct_hidden_code('hackid', $hackid);
print_form_header('hackmanager', 'view');

$hacks = $DB_site->query("SELECT * FROM " . TABLE_PREFIX . "hacklist WHERE hackid = $hackid");
while ($hack = $DB_site->fetch_array($hacks))
{
print_table_header('Displaying Hack <i>"' . $hack['title'] . '"</i>', 4);
print_cells_row(array($vbphrase['title'] . ':'), 1);
print_description_row($hack['title'] . '<br /><br />');
print_cells_row(array($vbphrase['installed'] . ':'), 1);
print_description_row($hack['date'] . '<br /><br />');
print_cells_row(array($vbphrase['updated'] . ':'), 1);
print_description_row($hack['edit'] . '<br /><br />');
print_cells_row(array($vbphrase['description'] . ':'), 1);
print_description_row($hack['info'] . '<br /><br />');
print_cells_row(array($vbphrase['hack_install'] . ':'), 1);
print_description_row($hack['install'] . '<br /><br />');
}

print_submit_row(construct_phrase($vbphrase['edit_x'], $vbphrase['hack']), 0, 4);
}

filburt1
06-20-2003, 10:41 AM
Sorry, we don't allow such technical discussions about vB3 hacking at this time. :)