I built it successfully, and it appeared almost instantly online under teh 4.7 modules downloads.
however, when i then made mods to the code to support the old style forms,
and tagged it against DRUPAL-4-6, I still do not see anything in the 4.6 downloads section
I am writing a very simple module to learn how to code for Drupal. I am having a problem integrating the result of sql calls into html and then applying the theme to the resulting code and displaying it all. I hope this makes sense. The function included should give an idea of what I am trying to do. I have written many php websites but my coding is completely self taught and I haven't done much with the kind of stuff needed to get this working. I think the answer is probably quite simple, I am just not seeing it.
Basically what I am attempting to do is query the database to get some records and then display the data in a table much like what is displayed when you go to the administration page and it shows the access log.
Here is the funtion, it works with the exception of trying to format the output:
function pipe_show() {
// content variable that will be returned for display
$content = '';
$query = "SELECT client_fname, client_lname FROM " .
"{node_client} ";
// get the data
$queryResult = db_query($query);
while ($output = db_fetch_object($queryResult)) {
$client_fname = $output->client_fname;
$client_lname = $output->client_lname;
$content = print "
I've been following the developer thread and find it's a good way to find out about important problems in Drupal code. Just this morning I found out that if you enable clean url's, links will break you move subdirectories. This would be a big problem for me. I decided to start this thread because there have been quite a few problems that I've learned about this way instead of the hard way.
(I'll describe the problem in more detail in the following comment.)