Page 2 of 2 First 12
  • Jump to page:
    #16
  1. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jan 2017
    Posts
    827
    Rep Power
    0
    Originally Posted by Sepodati
    Displaying in an HTML table has NOTHING to do with how you retrieve the data from MySQL and get it into PHP.

    What do you expect this to be doing, btw? Is that actually printing the values?



    If you want "pages" of data, like 10 per page, then your query should only return 10 results. How do you go about that? How do you retrieve the next 10 results? Previous 10?
    On my site_details.php (which I call via the include function) $server_time = "California Usa". So on my pages, I wanted to print California Usa beside the date & time prints. And no, I did not expect $server_time to print the current date & time. That is stupid.
    I'd have many pages that display records and each record would have time & date (grabbed from a mysql column) and I wanted to indicate to the visitors which time zone it is. And so, instead of going to each page and manually typing "California, Usa" or some other time zone (if i change my webhost) I wanted to just update one variable in site_details.php and have all pages displaying the change (the value of the variable such as "London, UK, if my next host is in London) I think you get the point.

    As for how do I get 10 results displayed and the next 10 or previous 10 and so on.
    Well, I have to put a limit on how many records should be fetched and have a counter counting the loops. So, when someone clicks page "2" then I should code that 10*20=20 and so next page (page 2) should display results upto 20 from 10 and so on. It's easy to plan like that but the php lang is complicated and so I get muddled-up how to write it using the php lang.
    I know the method, I have built bots (.exe) that scrape google and I give the user a choice how many pages to scrape or how many links in total to scrape. Based on their inputs they scrape. So, I manage to build the bots because I use a drag & drop tool (Ubot Studio) and I don;t have to learn messy lang like php. Go and check Ubot Studio then you'll know what I'm capable of building. Once I learn web programming, I'll just build web versions of the .exe bots. Good idea ?
    Shall I give you a bot ? I built backlink checker, dofollow link checker, link scrapers, content spinner, etc. I might aswell one day list some bots in this forum. You'll probably see me in a new light after that. And yes, yes, I know, Ubot Studio is not a programming language. It compiles bots using the C# I think while previous versions compiled using VB.

    Btw, do you know what footprint to use to force google to show you only those wp blogs that still have their commenting section open so you can go and post your link ? Hardly anyone knows the footprint. But maybe I do. Maybe, I built a .exe bot/tool to use the footprint and scrape the links from google. Didn't stop there as google can show outdated links and so my bot used to load the pages in the background using threads and simultaneously visit the pages and check whether the commenting sections are opened or not. Those found open used to get noted.
    And so, my friend, I'm not stupid. I know my way round. It's just the php lang is messy and complicated to master. Or, by now, you'd be seeing .php version of my blog commenter.
    Now maybe, I am thinking of building a .php version of my content spinner (if I built one). You guess if I'm capable of building one.
    You know what, I'm stopping here before Benanamen starts complaining again we 2 are going off-topic again.
    I'll try impressing Benanaman, you and Catacaustic with some of my .exe bots. One day, eventually. But first things first. Let me atleast finish one php project before I embark on the venture to build .php versions of my .exe bots.
    Go to the Ubot Studio forum and checkout posts under the Username "UniqueBot". Yeah, I know, seems like someone's monopolising the word "Unique".
    You'll notice, whoever UniqueBot is, (and if you're not stupid then you'd figure-out who he/she is), has been botting from 2011. Maybe, he/she only quit botting on feb 2017 and seriously took interest in php and started projects with php. See if you can see any posts by UniqueBot after feb 2017. And, if you see UniqueBot absent on the forum way before feb 2017 then it's obvious he/she learnt what they wanted and stopped pestering the forum like I'd stop pestering this one when I've learnt enough on php. You do get my point, right ?
    Last edited by UniqueIdeaMan; March 7th, 2018 at 08:26 AM.
  2. #17
  3. No Profile Picture
    Contributing User
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jul 2003
    Posts
    4,450
    Rep Power
    652
    Originally Posted by UniqueIdeaMan
    It's easy to plan like that but the php lang is complicated and so I get muddled-up how to write it using the php lang.

    Only if you do not take the time to learn programming in general, PHP specifically and ask others to do the work for you.
    Last edited by gw1500se; March 6th, 2018 at 08:26 AM.
    There are 10 kinds of people in the world. Those that understand binary and those that don't.
  4. #18
  5. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jan 2017
    Posts
    827
    Rep Power
    0
    Originally Posted by gw1500se
    Only if you do not take the time to learn programming in general, PHP specifically and ask others to do the work for you.
    I did learn the basics twice in 2yrs but I forget double fast. I edited my last post. You might enjoy my updates.

    I'm just curious, would you be interested in a trade. This is where I give you some of my .exe bots (for free) and in return you build me .php versions of the same bots along with comments so I can learn how you coded them ?
    You may sell the bots or give them away for free. I don't care. I'm more interested in learning how to build the php versions. Nah ? Oh well. No harm in me trying. Now, is there ?

    PS - I'm not learning php to build .php versions of my .exe bots but I've been pondering lately to build these. My main aim in learning php was to build a social network. I had lots of good SN ideas and wanted to give birth to them with php and so jumped into learning php. Hasn't been quite the good ride I expected.
    Last edited by UniqueIdeaMan; March 6th, 2018 at 08:40 AM.
  6. #19
  7. No Profile Picture
    Contributing User
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jul 2003
    Posts
    4,450
    Rep Power
    652
    Originally Posted by uniqueideaman
    i'm just curious, would you be interested in a trade. This is where i give you some of my .exe bots (for free) and in return you build me .php versions of the same bots along with comments so i can learn how you coded them ?

    rotflmao
    There are 10 kinds of people in the world. Those that understand binary and those that don't.
  8. #20
  9. Banned (not really)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 1999
    Location
    Caro, Michigan
    Posts
    14,944
    Rep Power
    4554
    And so, my friend, I'm not stupid.
    When you find yourself having to repeat this line, over and over...
    -- Cigars, whiskey and wild, wild women. --
  10. #21
  11. Banned (not really)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 1999
    Location
    Caro, Michigan
    Posts
    14,944
    Rep Power
    4554
    Just out of curiosity, what language did you program your ".exe bots" in?
    -- Cigars, whiskey and wild, wild women. --
  12. #22
  13. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jan 2017
    Posts
    827
    Rep Power
    0
    Originally Posted by Sepodati
    Displaying in an HTML table has NOTHING to do with how you retrieve the data from MySQL and get it into PHP.

    What do you expect this to be doing, btw? Is that actually printing the values?

    PHP Code:
    <?php $server_time ?>
    If you want "pages" of data, like 10 per page, then your query should only return 10 results. How do you go about that? How do you retrieve the next 10 results? Previous 10?
    I didn't understand your hint the other day but now I do. I missed the:

    echo.

    PHP Code:
    <span style="font-weight: bold;"><?php echo $user ?> Notices in <?php echo $server_time ?> time.</span>
    Thanks for the hint. Fixed it and the variable value is being displayed.
    Last edited by UniqueIdeaMan; March 7th, 2018 at 08:23 AM.
  14. #23
  15. Impoverished Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    16,795
    Rep Power
    9646
    Posts removed.

    Don't let UniqueIdeaMan troll you. Answer politely, or shake your head and walk away like I do.
  16. #24
  17. No Profile Picture
    Contributing User
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jul 2003
    Posts
    4,450
    Rep Power
    652
    To his credit I don't believe the OP is a troll. Rather he is a help vampire, which may be worse.
    There are 10 kinds of people in the world. Those that understand binary and those that don't.
  18. #25
  19. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jan 2017
    Posts
    827
    Rep Power
    0
    Originally Posted by gw1500se
    To his credit I don't believe the OP is a troll. Rather he is a help vampire, which may be worse.
    I've had about 2 forums call me a troll. This forum agrees I am not and gives me a new name calling Help Vampire.
    I'll, probably, one day go to another forum and they will understand me better and disagree that I am either. When the public see they are getting off the streets due to my invention with php then the php seniors in the new forum would agree that I did not ask for help in this forum or others just for my own commercial gain but for my learning so I can have a knowledge in my head which I can make use of it now and then like a good Samaritan to help people get out of poverty.
    You guys would only become a believer once you see my inventions. Until then, keep on giving as much as negative names as you like. Every famous guy who helped the public in the past had to come across obstacles like this and had to face discrimination. That is why, I just ignore all these name callings. I know the callers would regret it later and be sorry.
    I, one for all (public).
    Later, it would be: All (public) for one (me). They'll come to my rescue. Mark my words.
  20. #26
  21. No Profile Picture
    Contributing User
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jul 2003
    Posts
    4,450
    Rep Power
    652
    Did you read the link about what a help vampire is? Do you meet that definition?
    There are 10 kinds of people in the world. Those that understand binary and those that don't.
  22. #27
  23. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jan 2017
    Posts
    827
    Rep Power
    0
    Originally Posted by requinix
    Posts removed.

    Don't let UniqueIdeaMan troll you. Answer politely, or shake your head and walk away like I do.
    Well answered apart from the part claiming I troll here. I think some of them have moved-on already at the last moment. They should have waited to see my Frankenstein. Oh well, their loss!
  24. #28
  25. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jan 2017
    Posts
    827
    Rep Power
    0
    Originally Posted by gw1500se
    Did you read the link about what a help vampire is? Do you meet that definition?
    I read half of it and gave you a reply proving I'm not what you suspect but Requinix deleted it. Did you read my reply before he deleted it ?
    Anyway, my project is nearly complete. You will eat your words when you see it. Lol!
    In the meanwhile, you have made me more eager to prove you wrong and make you a convert.
    THOU SHALT become one of my favourite DISCIPLE. One day, eventually.

    Anyway, I got work to do. See, if you can contribute to my latest threads or not.
  26. #29
  27. Impoverished Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    16,795
    Rep Power
    9646
    Alright then, nothing more to be gained from this thread.
Page 2 of 2 First 12
  • Jump to page:

IMN logo majestic logo threadwatch logo seochat tools logo