Everybody! This is important. In a few days, these forums will be moving over to using the totally sweet Discourse platform. To ensure this migration happens smoothly with no loss of content, these forums are currently in a read-only mode. I do apologize for the inconvenience.

There is never a good time to turn the forums off for an extended period of time, but I promise the new forums will be a billion times better. I'm pretty sure of it.

See you all on the other side in a few days, and if you have any (non-technical) questions, please e-mail me at kirupa@kirupa.com. For technical questions, try to find a tutorial that corresponds to what you are looking for and post in the comments section of that page.

Cheers,
Kirupa

Search:

Type: Posts; User: irkevin; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    17,714

    Sticky: PHP: Or maybe

    Or maybe



    <?php
    if(isset($_POST['submit'])) {

    $to = "you@you.com";
    $subject = "Form Tutorial";
    $name_field = $_POST['name'];
  2. Thread: PHP Guestbook

    by irkevin
    Replies
    5
    Views
    1,687

    First thing, I dont know if you created the...

    First thing, I dont know if you created the variable $name or $comment.. it should be..

    $name = $_POST['form_name_field'];
    $comment = $_POST['form_comment_field'];
    $email =...
  3. Replies
    3
    Views
    4,668

    HTML: You might to use an image that has rounded...

    You might to use an image that has rounded corners rather than using CSS to achieve that.. Go to my website, and have a look at the shoutbox.. I made a picture that has rounded corners..

    ...
  4. Don't know if this has been solved yet, but yes,...

    Don't know if this has been solved yet, but yes, you can make it only on one page ! I think using switch statement might do the trick. It will catch the full article based on the ID of it..
  5. Replies
    1
    Views
    372

    You can use PHP for multiple things. Like ...

    You can use PHP for multiple things. Like

    E-commerce
    CMS (Website with a strong backend for managing your contents.
    Create a simple Login/member area

    Well, there are so many things and it's a...
  6. Replies
    4
    Views
    441

    well, what i did was to create a google webmaster...

    well, what i did was to create a google webmaster account..

    Gave them my sitemap link .. created a robots.txt ! They will crawl your site and also take the links in the sitemap to list them in the...
  7. Replies
    5
    Views
    5,759

    PHP: try localhost/Hello/index.php

    try localhost/Hello/index.php
  8. Replies
    11
    Views
    791

    what i would advise is using javascript.. So...

    what i would advise is using javascript.. So basically when u click a checkbox and hit submit, javascript takes you to a page, along with the url containing the 'id' of the customer..

    On that...
  9. Replies
    11
    Views
    791

    can you show me a working example?

    can you show me a working example? <---- optional..

    Plz post your actual code.
  10. Replies
    11
    Views
    791

    are you using javascript for the checkboxes?

    are you using javascript for the checkboxes?
  11. Replies
    3
    Views
    380

    PHP: i somehow managed to get the work done.. here...

    i somehow managed to get the work done..

    here is a working example (well at least it worked as i was expecting)..lol


    http://www.mu-anime.com/manga_folder.php


    The idea is to choose...
  12. Replies
    3
    Views
    589

    When using mysql, i know you can make use of the...

    When using mysql, i know you can make use of the RAND() function.. otherwise i wonder if it's possible..i might be wrong also
  13. Replies
    3
    Views
    380

    PHP: multiple folders and file

    here it goes.. i have folder A .. in folder A, there are some folders.. and in those folders, there are some files..

    I have a code that list all folders in folder A and output them in a dropdown.....
  14. i think it's also possible to use the BETWEEN()...

    i think it's also possible to use the BETWEEN() syntax ( if im not mistaken)



    $lower = floatval($lower);
    $higher = floatval($higher);

    $query = "SELECT * FROM `cars` WHERE `price` BETWEEN...
  15. for the date, easy enough.. suppose you're...

    for the date, easy enough.. suppose you're posting a news today.. it should insert today's date.. so your insert query would be like this




    $title = $_POST['title'];
    $articles =...
  16. thanks to point out ;) .. i was in a hurry i...

    thanks to point out ;) .. i was in a hurry i guess :P .. lol.. also i missed the 'LIMIT 0,3' in my query :P..

    Well that should get you started mikes 02

    EDIT:

    I would advise to keep the...
  17. hahahaha looks like blazes was faster than me :P...

    hahahaha looks like blazes was faster than me :P nice example mate...
  18. to retrieve the newest date, you'll need a date...

    to retrieve the newest date, you'll need a date column in your table..

    then to limit the number of words, you can use a function call substr(), a built in function in php ( i guess im not wrong...
  19. you could have use sprintf() also.. which would...

    you could have use sprintf() also.. which would be much better i presume.. but well, if it's updating, then cooool :disco:
  20. $Query="INSERT INTO...

    $Query="INSERT INTO Score(`ID`,`VF`,`VB`,`AF`,`AB`,`Final`)VALUES ('','$tVF','$tVB','$tAF','$tAB','$tTotal')";


    try this one.. i always use single quote when passing variable in an INSERT query.
  21. are you getting some kind of errors?

    are you getting some kind of errors?
  22. Replies
    1
    Views
    510

    can you plz post the exact script you are using?

    can you plz post the exact script you are using?
  23. if you want to use flash, i recommend PHP as the...

    if you want to use flash, i recommend PHP as the backend .. you can use AMFPHP.. i've found it pretty handy.. don't know if there's a tutorial on kirupa.. but do check on

    www.gotoandlearn.com
    ...
  24. PHP: Ok no worries Well, not physically, but my...

    Ok no worries

    Well, not physically, but my contents are coming from mysql

    So theres must be a way in php to convert my links into the rewrited ones.. since

    completed/1.html

    the 1.html...
  25. PHP: Not Math,.. anyways,, whats you posted is mod...

    Not Math,.. anyways,, whats you posted is mod rewrite

    But i need a way to convert the link of my website using php to match the mod_rewrited ones,, EG:

    This : index.php?pa...tedSeries&id=1
    ...
Results 1 to 25 of 30
Page 1 of 2 1 2

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012