FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Multiple <a> Tags, Filled With MySQL DB data with PHP
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Multiple <a> Tags, Filled With MySQL DB data with PHP [message #179241 is a reply to message #179238] Tue, 25 September 2012 20:12 Go to previous messageGo to previous message
Luuk is currently offline  Luuk
Messages: 329
Registered: September 2010
Karma:
Senior Member
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......
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Dynamic Links (MySQL/PHP)
Next Topic: Advice for Literature on PHP-Based Web Development Business Models
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 03:58:01 GMT 2024

Total time taken to generate the page: 0.03785 seconds