man... I guess I need to learn more PHP, but I'm having a really hard time plugging in your code. Sorry if I'm asking for too much hand holding, but if you wouldn't mind could you tell me where I am going wrong?
Code: Select all
$query = 'SELECT * FROM `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$guidevalue$applicationvalue</td>
</tr>\n";
}
$current_category = category in row;
I know your example was just psuedo code, but I'm having a hard time adapting it. Thanks again for all your help. Sorry I'm slow to catch on.lt)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "e;
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$guidevalue$applicationvalue</td>
</tr>\n"e;;
}
$current_category = category in row;
I know your example was just psuedo code, but I'm having a hard time adapting it. Thanks again for all your help. Sorry I'm slow to catch on.o code, but I'm having a hard time adapting it. Thanks again for all your help. Sorry I'm slow to catch on.nd could you tell me where I am going wrong?
Code: Select all
$query = 'SELECT * FROM `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$guidevalue$applicationvalue</td>
</tr>\n";
}
$current_category = category in row;
I know your example was just psuedo code, but I'm having a hard time adapting it. Thanks again for all your hile($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "e;
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "
<tr>
<td>$program</td>
<td&gn your code. Sorry if I'm asking for too much hand holding, but if you wouldn't mind could you tell me where I am going wrong?
Code: Select all
$query = 'SELECT * FROM `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "e;
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalueeed to learn more PHP, but I'm having a really hard time plugging in your code. Sorry if I'm asking for too much hand holding, but if you wouldn't mind could you tell me where I am going wrong?
Code: Select all
$query = 'SELECT * FROM `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$guidevalue$applicationvalue</td>
ng, but if you wouldn't mind could you tell me where I am going wrong?
Code: Select all
$query = 'SELECT * FROM `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "e;
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$guidevalue$applicatio84]
$query = 'SELECT * FROM `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "e;
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$guidevalue$applicationvalue</td>
</tr>\d holding, but if you wouldn't mind could you tell me where I am going wrong?
Code: Select all
$query = 'SELECT * FROM `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "
<tr>
&ding, but if you wouldn't mind could you tell me where I am going wrong?
Code: Select all
$query = 'SELECT * FROM `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$guidevalue$applicationvalue</td>
</tr>\n";
}
$current_category = category in row;
logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$guidevalue$applicationvalue</td>
</tr>\n";
}
$current_category = category in row;
I know your example was just psuedo code, but I'm having a hard time adapting it. Thanks again for all your help. Sorry I'm slow to catch on.ent_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$guidevalue$applicationvalue</td>
</tr>\n";
}
$current_category = category in row;
I know your example was just psuedo code, but I'm having a hard time adapting it. Thanks again for all your help. Sorry I'm slow to catch on.sking for too much hand holding, but if you wouldn't mind could you tell me where I am going wrong?
Code: Select all
$query = 'SELECT * FROM `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "
<tr>
<td&aly hard time plugging in your code. Sorry if I'm asking for too much hand holding, but if you wouldn't mind could you tell me where I am going wrong?
Code: Select all
$query = 'SELECT * FROM `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "
<tr>
<td>$program</td>
<td>$description</td>
&u tell me where I am going wrong?
Code: Select all
$query = 'SELECT * FROM `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$guidevalue$applicationvalue</td>
</tr>\n";
}
$current_category = category in row;
I know your example was just psuedo code, but I'm having a hard time adapting it. Thanks` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "e;
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$guidevalue$applicationvalue</td>
</tr>\n"e;;
}
$current_category = category in row;
I know your example was just psuedo code, but I;amp;lt;/td>
</tr>';
}
//echo the results
echo "
<tr>
<td>$program</td& while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "e;
<tr>
<td>$program</td>
<td>$description</td>
<td& really hard time plugging in your code. Sorry if I'm asking for too much hand holding, but if you wouldn't mind could you tell me where I am going wrong?
Code: Select all
$query = 'SELECT * FROM `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$guidevalue$applicationvalue</td>
</tr>\n";
}
$current_category = category M `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$guidevalue$applicationvalue</td>
&
$query = 'SELECT * FROM `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$guidevalue$applicationvalue</td>
</tr>\n";
}
$current_category = category in row;
I know your example was jmp;amp;lt;/tr>';
}
//echo the results
echo "
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$guidevalue$applicationvalue</td>
</tr>\n";
}
$current_category = category in row;
[/php:1:81ith the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$guidevalue$applicationvalue</td>
</tr>\n";
}
$current_category = category in row;
I know your example was just psuedo code, but I'm having a hard time adapting it. Thanks again for all your help. Sorry I'm slow to catch on.ind could you tell me where I am going wrong?
Code: Select all
$query = 'SELECT * FROM `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "e;
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$guidevalue$applicationvalue</td>
</tr>\n"e;;
}
PHP, but I'm having a really hard time plugging in your code. Sorry if I'm asking for too much hand holding, but if you wouldn't mind could you tell me where I am going wrong?
Code: Select all
$query = 'SELECT * FROM `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$guidevalue$applicationvalue</td> * FROM `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "
<tr>
<td>$program</td&ally hard time plugging in your code. Sorry if I'm asking for too much hand holding, but if you wouldn't mind could you tell me where I am going wrong?
Code: Select all
$query = 'SELECT * FROM `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$guidevalue$applicationvalue</td>
&a really hard time plugging in your code. Sorry if I'm asking for too much hand holding, but if you wouldn't mind could you tell me where I am going wrong?
Code: Select all
$query = 'SELECT * FROM `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "e;
<tr>
<td&ame PHP, but I'm having a really hard time plugging in your code. Sorry if I'm asking for too much hand holding, but if you wouldn't mind could you tell me where I am going wrong?
Code: Select all
$query = 'SELECT * FROM `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$guidevalue$applicationvalue</td>
</tr>\n";
}
$current_category = category in row;
I know your example was just psuedo code, but I'm having a hard time adapting it. Thanks again for all your help. Sorry I'm slow to catch on.if you wouldn't mind could you tell me where I am going wrong?
Code: Select all
$query = 'SELECT * FROM `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "e;
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$gui learn more PHP, but I'm having a really hard time plugging in your code. Sorry if I'm asking for too much hand holding, but if you wouldn't mind could you tell me where I am going wrong?
Code: Select all
$query = 'SELECT * FROM `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "e;
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$guidevalue$applicationvalue</td>
</tr>\n"e;;
}
$current_category = category in row;
I know your example was just psuedo code, but hard time plugging in your code. Sorry if I'm asking for too much hand holding, but if you wouldn't mind could you tell me where I am going wrong?
Code: Select all
$query = 'SELECT * FROM `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "e;
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td& code. Sorry if I'm asking for too much hand holding, but if you wouldn't mind could you tell me where I am going wrong?
Code: Select all
$query = 'SELECT * FROM `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "e;
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$guidevalue$applicationvalue</td>
</tr>\n"e;;
}
$current_category = category in row;
I know your example was just psuedo code, but I'm having a hard time adapting it. Thanks again for all your help. Sorry I'm slow to chp]
$query = 'SELECT * FROM `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$guidevalue$applicationvalue</td>
</tr>\n"e;;
}
$current_category = category in row;
I know your example was just psuedo code, but I'm having a hard time adapting it. Thanks again for all your help. Sorry I'm slow to catch on.eed to learn more PHP, but I'm having a really hard time plugging in your code. Sorry if I'm asking for too much hand holding, but if you wouldn't mind could you tell me where I am going wrong?
Code: Select all
$query = 'SELECT * FROM `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$guidevalue$applicationvalue</td>
</tr>\n";
}
$current_category = category in row;
I know your example was just psuedo code, but I'm having a hard time adapting it. Thanks again for all your help. Sorry I'm slow to catch on. in your code. Sorry if I'm asking for too much hand holding, but if you wouldn't mind could you tell me where I am going wrong?
Code: Select all
$query = 'SELECT * FROM `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$guidevalue$applicationvalue</td>
</tr>\n";
}
$current_category = category in row;
I know your example was just psuedo code, but I'm having a hard time adapting it. Thanks again for all your help. Sorry I'm slow to catch on.eed to learn more PHP, but I'm having a really hard time plugging in your code. Sorry if I'm asking for too much hand holding, but if you wouldn't mind could you tell me where I am going wrong?
Code: Select all
$query = 'SELECT * FROM `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$guidevalue$applicationvalue</td>
</tr>\n";
}
$current_category = category in row;
I know your example was just psuedo code, but I'm having a hard time adapting it. Thanks again rry if I'm asking for too much hand holding, but if you wouldn't mind could you tell me where I am going wrong?
Code: Select all
$query = 'SELECT * FROM `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$guidevalue$applicationvalue</td>
</tr>\n";
}
$current_category = category in row;
I know you]
$query = 'SELECT * FROM `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$guidevalue$applicationvalue</td>
</tr&g
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$guidevalue$applicationvalue</td>
</tr>\n";
}
$current_category = category in row;
I know your example was just psuedo code, but I'm having a hard time adapting it. Thanks again for all your help. Sorry I'm slow to catch on. to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "e;
<tr>
<td>$program&aplugging in your code. Sorry if I'm asking for too much hand holding, but if you wouldn't mind could you tell me where I am going wrong?
Code: Select all
$query = 'SELECT * FROM `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "e;
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$guit if you wouldn't mind could you tell me where I am going wrong?
Code: Select all
$query = 'SELECT * FROM `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$guidevalue$applicationvalue</td>
</tr>\n";
}
$current_category = category in row;
I know your example was just psuedo code, but I'm having a hard time adapting it. Thanks again for all your help. Sorry I'm slow to catch on.DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "e;
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
&
$query = 'SELECT * FROM `opportunities` ORDER BY `dateadded` DESC;';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
//All of my SQL variables and conditional logic would go here as above.
//your if test to see if category in row !=$current_category
if(category in row != $current_category){
//echo the header with the correct category title
echo '<tr>
<td>$category</td>
</tr>';
}
//echo the results
echo "
<tr>
<td>$program</td>
<td>$description</td>
<td>$funder</td>
<td>$duedate</td>
<td>$nofavalue$guidevalue$applicationvalue</td>
</tr>\n";
}
$current_category = category in row;
I know your example was just psuedo code, but I'm having a hard time adapting it. Thanks again for all your help. Sorry I'm slow to catch on.