Skip to content

Commit

Permalink
Update proj_list.php
Browse files Browse the repository at this point in the history
now i have test it on my computer and for me it works now.
  • Loading branch information
emilrowland committed Jan 21, 2013
1 parent ecc806d commit aa772d7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions proj_list.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,12 @@
include('include/include_proj_add.php');
$AddProj = new ProjAdd;
$AddProj->AddProj();

$proj_query = mysql_query("SELECT * FROM projects WHERE project_owner= $owner");
if(mysql_num_rows($proj_query) == 0){
echo '<div class="message orange">To create a BOM-list (Bill Of Material) you have to first create a project. You will then be able to add your components to your project and automaticly create a BOM-list.</div>';
}
?>
<div class="message orange">To create a BOM-list (Bill Of Material) you have to first create a project. You will then be able to add your components to your project and automaticly create a BOM-list.</div>
<form class="globalForms" method="post" action="">
<div class="textInput">
<label class="keyWord">Project name</label>
Expand Down Expand Up @@ -87,4 +91,4 @@
<!-- END -->
</div>
</body>
</html>
</html>

0 comments on commit aa772d7

Please sign in to comment.