1
rcjohnson
maybe one of you smart people can help me...?
  • 2004/9/29 14:42

  • rcjohnson

  • Not too shy to talk

  • Posts: 187

  • Since: 2004/7/23


This isn't a big problem or anything, and its not related to xoops.....but I've taking a great intrest in php and databases since I became aware of xoops. Im hooked!

Anyhow, what I've done is created an include() that will display some links on my page. The page, view_groups.php has a form that is displaying dynamic text in its tables.

Everything is fine until I add the
include("control_panel.php"); line. (you can see it at the bottom.) After I add this line, my "form1" disappears disappears in Dreamweaver, however I do see the data that was called out in the include(). And the "form1" is visible when I few the compiled page.

This is only happening on this page, and I don't know why...ya'll have any ideas?
require_once('Connections/servicetest.php'); ?>
mysql_select_db
($database_servicetest$servicetest);
$query_view_grops "SELECT * FROM groups";
$view_grops mysql_query($query_view_grops$servicetest) or die(mysql_error());
$row_view_grops mysql_fetch_assoc($view_grops);
$totalRows_view_grops mysql_num_rows($view_grops);
?>


  
    Group ID
    Group Name
  
  do { ?>
  
      echo $row_view_grops['group_id']; ?>
      echo $row_view_grops['group_name']; ?>
  
  } while ($row_view_grops mysql_fetch_assoc($view_grops)); ?>


mysql_free_result($view_grops);
?>

include("control_panel.php"); ?>


2
rcjohnson
Re: maybe one of you smart people can help me...?
  • 2004/9/29 14:43

  • rcjohnson

  • Not too shy to talk

  • Posts: 187

  • Since: 2004/7/23


ok, nevermind...
It appears the php tags need to nested in tags.....


Login

Who's Online

426 user(s) are online (343 user(s) are browsing Support Forums)


Members: 0


Guests: 426


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits