Jump to content

rhock_95

Members
  • Posts

    120
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

rhock_95's Achievements

Member

Member (2/5)

0

Reputation

  1. I'm thinking this can be done script-side rather than in the database itself... here's what I need help with...I have a script that displays a list of contacts when a category is selected...the results are displayed in a list with pagination ... a typical row (display code) looks like this: echo ' <td>'.$data['phone'].'&nbsp</td>'; What I would like to do is is have a "Google AdSense" text ad be displayed after X amount of displayed rows...can I use php to include() the Adsense code in this manner?...If this is possible, can someone post an example of how the display counts the rows and includes the ad file.
  2. you holier than thou types are all alike you're the bratty sounding ones...all I asked for was something that would actually help me...not give you a chance to play the school marm... thanks for nothing as obviously your examples don't work when applied... FYI...not everyone has the time or the budget to learn themselves or to hire a coder to just make a change to an existing script...
  3. what I asked for was a snippet (not a whole freakin script) that would display something every x amount of rows OF THE EXAMPLE I POSTED not a list of freakin integers...duh!
  4. you don't really need the adSense code...plain text will work as an example... as for the loop..the script just displays a list of results through a pagination function... how can I make it display "plain text" every 15 rows or so?
  5. I am not a php coder but I am a decent php hack...what other code would you need?
  6. neither of the posted snippets work... here is an example of what the latter displays: blahblahblah 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 blahblahblah 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 blahblahblah can anyone help me with this...?
  7. if you want to help me I supplied a line of my display code in the OP...if you do not wish to actually help me just say so...
  8. is this something to be used on it's own or in conjunction with the previous replies? sorry I have no idea how to implement this with my script...I am not a php coder...just a poor site admin trying to pay for gasoline...
  9. just say I wanted to display plain text...what would be the syntax ? TIA
  10. sorry no joy... I had to remove the final curly bracket...after that zero errors but no joy either... exactly what format/syntax should the "google code" be in ? thanks again or anyone that can help...
  11. just a suggestion... ... if I was starting from scratch I would look at using CSS for layout etc rather than using tables...since it's only one page it should not be too much trouble to test on all the popular browsers and once it's done the content is easy to edit and your site/code should be easy to validate....
  12. I'm thinking this can be done script-side rather than in the database itself... here's what I need help with...I have a script that displays a list of contacts when a category is selected...the results are displayed in a list with pagination ... a typical row (display code) looks like this: echo ' <td>'.$data['phone'].'&nbsp</td>'; What I would like to do is is have a "Google AdSense" text ad be displayed after X amount of displayed rows...can I use php to include() the Adsense code in this manner?...If this is possible, can someone post an example of how the display counts the rows and includes the ad file.
  13. they are parse errors on the lines where the "City links" are... FWIW...I use another $row for inhouse referencing...here is the format: echo "<td><a href =\"./searchx.php?query={$row['inventory']}\">inventory?</a></td>";
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.