Search:

Type: Posts; User: Teske

Page 1 of 3 1 2 3

Search: Search took 0.07 seconds.

  1. Thread: SQL Timer?

    by Teske
    Replies
    5
    Views
    769

    Came up with something on my own. :D

    Came up with something on my own. :D



    <?
    /*

    exec something when date/time are right.
    I used the $flag 0 or 1 to figure out if it was right or wrong.
    this way I can know if the script...
  2. Thread: SQL Timer?

    by Teske
    Replies
    5
    Views
    769

    Still new to php and sql so any help on what the...

    Still new to php and sql so any help on what the script would look like will be appreciated.

    Another question would be what if that server is not a home server but hosted? Will that script work...
  3. Thread: SQL Timer?

    by Teske
    Replies
    5
    Views
    769

    SQL Timer?

    I was wondering if sql has a way to reset a value of a table based on time.

    an example would be like cookies you give it a time and they either get destoryed or deleted.

    I made a table called ...
  4. Thread: First Letter

    by Teske
    Replies
    2
    Views
    491

    Thank you thank you and... Thank you!!!

    Thank you thank you and... Thank you!!!
  5. Thread: First Letter

    by Teske
    Replies
    2
    Views
    491

    First Letter

    I was wondering if there is a way to get a string to show the first letter of the word.

    Example...

    $word = "Hello everyone";

    //code here to only get the letter H from $word.

    so the ouput...
  6. Thread: Array question

    by Teske
    Replies
    9
    Views
    1,217

    does... foreach($array_name as $array_element)...

    does...

    foreach($array_name as $array_element)
    {
    execute stuff here....
    }

    equal....
  7. Thread: Array question

    by Teske
    Replies
    9
    Views
    1,217

    Ok... here are the questions... //Create...

    Ok... here are the questions...



    //Create our array
    $arraytest = array('thing one' => 'hello', 'thing two' => 'goodbye');

    what is => stand for or purpose?

    can you comment a...
  8. Thread: Array question

    by Teske
    Replies
    9
    Views
    1,217

    $myarray = array("1", "2","3"); works the same...

    $myarray = array("1", "2","3");

    works the same way without the xtra work.

    cool... thaks for the info. :)
  9. Thread: Array question

    by Teske
    Replies
    9
    Views
    1,217

    Thanks for the reply. ^_^ I think that would...

    Thanks for the reply. ^_^

    I think that would be an exelent solution but I am new to php so I have no clue on how to use it or even try to mess with it. I still need to learn more php in order to...
  10. Thread: Array question

    by Teske
    Replies
    9
    Views
    1,217

    Array question

    Just wanted to know if there is a way to take a name off an array... at least I think thats how its called.


    $names[] = "folder_1";
    $names[] = "folder_2";
    $names[] = "folder_3";
    $names[] = ...
  11. Replies
    8
    Views
    746

    Bur147 that's exactly what I was looking for. ...

    Bur147 that's exactly what I was looking for. The comments helped a lot to figure how things work. I was about to give up as I couldn’t find the solution to that.

    As for the ‘===’ I forgot...
  12. Replies
    8
    Views
    746

    everything is going somewhat ok... my only...

    everything is going somewhat ok... my only problem is that I want to display how many names on that list got a match with "mike" on it as well as print the matching names.


    I made a text file and...
  13. Replies
    8
    Views
    746

    :D Ah! so thats how it works. Heehee now I...

    :D Ah! so thats how it works. Heehee now I understand and can make changes. Thanks Xavier.

    If I am not mistaken that Key and Val can also be used to make a flat file forum since you have a...
  14. Replies
    8
    Views
    746

    :weird: Umm.... I am very new to php and I have...

    :weird: Umm.... I am very new to php and I have no clue as to what in the world that is. It will be very helpful if you could explain what the script is doing and how it can be changed so I can...
  15. Replies
    8
    Views
    746

    Here we go again... Array

    I got a bunch of names in names.txt file. I get all those names and put them in an array. Now I am trying to do is to see if any match from a search.

    Example.

    User types Mike in the...
  16. Thread: sessions

    by Teske
    Replies
    8
    Views
    919

    Ok... enough with the rocket science.... care to...

    Ok... enough with the rocket science.... care to explain that in English please? I am stuck in the same part :confused:
  17. Looks like I will be heading into mysql soon... ...

    Looks like I will be heading into mysql soon... This will be a good tutorial to start with. ^_^
  18. Replies
    2
    Views
    519

    :p Such a little detail can give me a 3 day...

    :p Such a little detail can give me a 3 day headache.

    Thanks. Everything works as it should now. ::shakes head::
  19. Replies
    2
    Views
    519

    Crossplatform sort()

    the array $books has all the names of the folders inside "anime" folder.

    the folders are like this Ai_Yori_Aoshi
    but I strip the "_" and put the result inside the array.


    When I use
    ...
  20. Thread: Editing

    by Teske
    Replies
    4
    Views
    554

    Notice: Undefined variable: final in...

    Notice: Undefined variable: final in news_data.php on line 31

    Notice: Undefined variable: write in news_data.php on line 37


    source.txt becomes an empty file. 0 bytes.

    I am using a windows...
  21. Thread: Editing

    by Teske
    Replies
    4
    Views
    554

    Fatal error: Call to undefined function: 3() in...

    Fatal error: Call to undefined function: 3() in line 31

    @ stops the notice from showing up in html same for mysql.

    here is the code.
    _______________________


    $e_entry = $_POST['entry'];...
  22. Thread: Editing

    by Teske
    Replies
    4
    Views
    554

    Editing

    I am trying to make a editor for a little news page.

    The main page you get all the data and pass it into post to data.php (this is all done by .txt file).

    Data.php...
  23. Replies
    5
    Views
    759

    It's a huge headache but its true. You will...

    It's a huge headache but its true. You will learn alot.

    I am trying to make a portal without SQL and I been trough hell and back but when things work...feels damn good!!!

    I know sql can make...
  24. Replies
    1
    Views
    365

    LOL missed the 3 posts behind (Not enough...

    LOL missed the 3 posts behind (Not enough caffeine in my system.)... Got the solution.

    MOD, please delete this thread.
  25. Replies
    1
    Views
    365

    Yes, Its me again. I just won't quit!

    It's been a night from hell... been trying to get a directory listing and put it into an array so I can print the name of the folders not the links to them.

    The script is inside folder "Test". I...
Results 1 to 25 of 54
Page 1 of 3 1 2 3