www.webdeveloper.com

Search:

Type: Posts; User: Blizzard84

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    2,423

    PHP shopping cart

    Hi guys,

    I'm trying to create a shopping cart. A product can have a few options such as size and color. I'm having trouble counting quantities from different mixes and matches. Let's say I have...
  2. Thanks a lot for all your replies, that clarifies...

    Thanks a lot for all your replies, that clarifies a lot of things.
  3. What's considered a large scale php application?

    Can someone give me some examples that would be considered a large scale system?

    Thanks
  4. Replies
    15
    Views
    3,014

    Help optimize a query

    Hi guys,

    My query grabs the total movies and pictures which are currently out for a certain gender.
    I only display stars that have at least 1 picture or 1 movie.

    The below works, just...
  5. Replies
    2
    Views
    1,035

    Help with sql query

    Hi,

    I need to grab the total number of videos for each category where date_added is < today. Each video can be in multiple categories.


    Video
    id
    title
    description
    date_added
  6. Replies
    1
    Views
    2,037

    Hey Art, they use mod rewrite with a .htaccess...

    Hey Art,

    they use mod rewrite with a .htaccess file and is more server related. Here's a tutorial.

    http://www.workingwith.me.uk/articles/scripting/mod_rewrite

    After the .htaccess is added,...
  7. Replies
    1
    Views
    479

    php and multiple select question

    What's the best way to add multiple users in a user database that has 4000 entries? I want to allow the admin to do a multiple select and implode the ids, but 4000 is too big of a list.

    Any other...
  8. You will have to change the name into an array...

    You will have to change the name into an array type. It looks like your posting to a php so that php will have to grab the post.


    <form action="FormToEmail.php" method="post">
    <table>
    ...
  9. Replies
    11
    Views
    16,027

    Put the echo underneath your update query. ...

    Put the echo underneath your update query. Should output an error if any.




    mysql_query("UPDATE guests SET guest_1 = '$column1' where id = $id limit 1");

    echo mysql_error();
  10. Replies
    11
    Views
    16,027

    session_start(); if (@$_SESSION['auth'] !="yes")...

    session_start();
    if (@$_SESSION['auth'] !="yes")
    {
    header("Location: login_form.php");
    exit();
    }

    $host="localhost";
    $username="username";
    $password="password";
  11. Replies
    11
    Views
    16,027

    I'm guessing guest_1 is a string so use this...

    I'm guessing guest_1 is a string so use this instead.


    mysql_query("UPDATE guests SET guest_1 = '$column1' where id = $id");

    If that does work comment out
    header("Location: rsvp_view.php"); ...
  12. Replies
    11
    Views
    16,027

    You could also post it back to the same file, and...

    You could also post it back to the same file, and use if statements. It might save you a step, but this'll do.

    Once you feel more comfortable with php, you can fool around with it.
  13. Replies
    11
    Views
    16,027

    Hi once again, Now you need to create the...

    Hi once again,

    Now you need to create the form. You have all the information in the array $row now.

    This would be a form that you could edit.


    <form action="edit_process.php"...
  14. Replies
    13
    Views
    56,339

    Hey! Sorry I took so long to get back to you. ...

    Hey!

    Sorry I took so long to get back to you. I'm glad you found the error!

    I was going to mention about making sure you had a column "id" too haha.
  15. Replies
    13
    Views
    56,339

    Hey, I'm at work right now, so I can't go...

    Hey,

    I'm at work right now, so I can't go through all the code lol.

    One quick thing i see is


    <td width="10%"><a href="edit.php?id=$row['id']">Edit</a></td><td><a...
  16. Replies
    13
    Views
    56,339

    You need to create 2 links for each row you're...

    You need to create 2 links for each row you're displaying


    echo "<td><a href=\"edit.php?id=$row['id']\">Edit</a></td><td><a href=\"delete.php?id=$row['id']\">Delete</a></td>";

    Now in your...
  17. Thread: set array

    by Blizzard84
    Replies
    1
    Views
    656

    Depending on what you're trying to achieve. ...

    Depending on what you're trying to achieve.

    You could use session variables to store the pages. This will only work if you own the pages. If your link is going to another website, you will need...
  18. Replies
    7
    Views
    3,221

    Based on your colspan = 2, i'm guessing you're...

    Based on your colspan = 2, i'm guessing you're just going to put that list.php underneath all your data.

    Try this.




    <table border="0" cellpadding="0" cellspacing="5">
    <?php
  19. Replies
    7
    Views
    3,221

    I'm kind of confused, are you trying to put...

    I'm kind of confused, are you trying to put $info['Name'], $info['Video'], and $info['Title'] beside each other?

    Or do you want to include List.php for each result beside each $info row?
    ...
  20. Replies
    7
    Views
    3,611

    Actually I believe you can do it with php. Try...

    Actually I believe you can do it with php. Try this.


    header('Refresh: 30; url=index.php');

    $fileTime = filemtime($filename);
    $currentTime = time();

    $age= $currentTime - $fileTime;
  21. Replies
    9
    Views
    1,165

    Just echo something in the php file.

    Just echo something in the php file.


    <?php

    echo "test";

    ?>

    and run just the php. If there's still nothing, then most likely it is a server issue. The code works.
  22. Replies
    9
    Views
    1,165

    Hi, The code seems to be working for me. ...

    Hi,

    The code seems to be working for me.

    What happens when you submit? Blank screen? or Page not found?
  23. Replies
    7
    Views
    749

    Hey, Try this. for($j = 0; $j

    Hey,

    Try this.


    for($j = 0; $j < count($q_frag); $j++)
    {

    if (substr($q_frag[$j], 0, 1)=='A')
    {
  24. Replies
    4
    Views
    758

    Hi NogDog, This was exactly what I was looking...

    Hi NogDog,

    This was exactly what I was looking for.

    Is there a way to grab combinations of words using this way based on a user_id? Not really liking the randomization

    So i need

    1, 1
    1,...
  25. Replies
    4
    Views
    758

    Hi NogDog, Thanks for the quick reply. Yes,...

    Hi NogDog,

    Thanks for the quick reply.

    Yes, I want only one of the words randomly or not.

    Thanks
Results 1 to 25 of 68
Page 1 of 3 1 2 3
HTML5 Development Center



Recent Articles