Re: Multiple <a> Tags, Filled With MySQL DB data with PHP [message #179242 is a reply to message #179241] |
Tue, 25 September 2012 20:38 |
tom.rankin51
Messages: 17 Registered: September 2012
Karma:
|
Junior Member |
|
|
My HTML regardless of whether I use my PHP code or the <a> tags is exactly the same. I've checked this many times. I can't explain it any other way. It's definitely the same.
Also I'm not a PHP guru or anything - I have literally learnt what I thought I needed last weekend so I'm really new to all of this. I had a friend helping me oversee what I was doing, but like a good IT Support Tech he decided to not want to help me any more just as it was getting to the stuff that would need support.
So all of this above is going a bit over the top of my head.
On Tuesday, September 25, 2012 9:20:02 PM UTC+1, Luuk wrote:
> On 25-09-2012 21:58, tom(dot)rankin51(at)googlemail(dot)com wrote:
>
>> I'm not too sure how to debug correctly following these instructions. I can place the code at the beginning and end of my page, but I am getting a syntax error when typing $result = mysqli->query($sql);
>
>>
>
>>> <?php
>
>>> $sql = ".......";
>
>>> $result = mysqli->query( $sql );
>
>
>
>>> $debugtxt .= "sql: {$sql}\n";
>
>
>
> or, that last one could be:
>
> echo "SQL: {$sql}\n";
>
>
>
> it should echo the query to the output......
|
|
|