Jump to content

gevo12321

Members
  • Posts

    126
  • Joined

  • Last visited

Everything posted by gevo12321

  1. why dont you keep track of when they log out/log in and add it all in when they log in
  2. Just wondering what the accepted naming convention for php is. For example, in Java you have multyWordVariables, Classes, CONSTANTS
  3. Its an html file, I just need the data in the file which is organized in a table.
  4. Hi, So I need to download a file from the internet. The file changes every 10 seconds, and I would like to download the file every time it changes (every 10 seconds). Fortunately the file is always at the same address. The problem is, in order to download, you have to be logged into the site which uses asp not php . I was wondering what your recommendations would be to getting the files. Should I use some kind of macro program? if so, which would you recommend? or is there a way I can write a program to do it? what would be your solution to the problem? Thanks!
  5. I want to write a program to save the data into an excel spreadsheet. I want to be able to run the program from any computer with an internet connection not necessarily a server. I don't think PHP will work because it is server-side and I don't have access to the server but the server posts data on a page in HTML every 10 seconds and I'd like to save that data. Hope that describes it. Thanks
  6. Hi, I was wondering if there is any way to save data from HTML files. The page refreshes every 10 seconds with new data and I was wondering if it would be possible to automate saving the data on the page every 10 seconds and put it into an excel spreadsheet. I know that this is probably the wrong forum, but I guess its worth a try. thanks!
  7. you know how in if statements you have to use == because you r comparing do you also use !== or do u use just != in if statements
  8. I always get confused when to use = and when to use == if i have tow variables $x and $y and they are both text variables what do i need to use?
  9. is it possible to put 2 arguments in an if statement or would i have to put an if statement within another if statement. for example could i do the following? if so what would be the code? if the carpet is blue and the chair is red then bla or do i have to if the carpet is blue then if the chair is red then bla
  10. so every page that uses sessions has to have session_start(); at the beginning of the code? or just the first page that uses sessions?
  11. I was wondering if you have the following: the chair is blue the floor is red if the chair is blue then bla else if the floor is red then bla else bla so since the first is true, does it automatically skip the rest of the things or does it still check if they r also true?
  12. so i was wondering if the if statement and the else if statement can be about different variables. for example can i say if the room is green then something, else if the chair is green, then something, else something else. so for the if and else if, do they both have to be the room, or both have to be the chair or can they be different variables?
  13. I was wondering if it is possible to use sessions with ajax. I use AJAX to open tabs on the page for searching. If a tab is clicked, it will search in one database, if the other is clicked it will search in another and I use AJAX because the whole page doesn't have to reload every time the tab is clicked. I was wondering if I could use sessions to remember which tab was clicked. so when another page loads, it remembers which was clicked. So I was wondering how I would implement this. I just don't see what I would do. Thank you.
  14. one more thing, im doing this for a contact page to make sure that the email address thy give is a valid one and has the @ char in it. i was wondering if it would be better if i did it browserside in javascript rather than serverside in php
  15. ok lets say i get a sentence through $_post and i want to see if a certain character apperas in the sentence. how would i do it?
  16. hmm any other way? cuz im really new to this and have no experience with sessions.
  17. ok so i have many pages in the website and i also have the exact same pages in a different language. i want to be able to switch between the 2 different language pages by clicking a button. any suggestions on how i should do it? other than manually puting in the link
  18. im not sure if this is what u mean but this is what i think u mean: u put the div as a link, and when u click it, it changes the div to another? is that what u mean? and if so would u be able to just show me the code on the html side. because when i click on the div and it changes, i want something else to change too. something i didnt click. ie: if ur in one tab and u click the other, the tab u r in changes the way it looks, and the one u clicked changes the way it looks. im sorry if i sound like a noob but i am a noob and really need help thx
  19. if they remove the div and replace it with a textfield, wouldnt it look different? maybe i dont understand what u ment, what would be a sample code of this?
×
×
  • 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.