could you please help me? just trying to fill in some text as stackoverflow wants to write more text because it's all code
相关问题
- Views base64 encoded blob in HTML with PHP
- Is there a limit to how many levels you can nest i
- Laravel Option Select - Default Issue
- SQL join to get the cartesian product of 2 columns
- sql execution latency when assign to a variable
alias on this field
then use single quotes not double
AND THE BIGGER PROBLEM IS THE SQL QUERY
which will not return anything because the awayteam and hometeam should be the same in a row...
to correct should be OR where it can be either the hometeam or awayteam
with the updated requirement you need to create 3 queries
where
1 - get the rounds
2 - get the teams
3 - get the venue
Your query is like:
select a.column, b.columnz from table a inner join table b on a.key = b.key
So when you get the result like:
So your PHP
<?php echo $row["f.roundID"]?>"><?php echo $row["f.roundID"]?>
should be in this way:
<?php echo $row["roundID"]?>"><?php echo $row["roundID"]?>