Search:

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

Page 1 of 11 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    997

    Thumbnail Creation Problems

    I am trying to create a thumbnail image of an image being uploaded, but for some reason it fails to create the thumbnail but uploads the original image. Here is the code I am using:


    $pic =...
  2. Replies
    1
    Views
    3,035

    Creating Multiple SQL Tables (in php)

    I am trying to make a script that will allow me to create multiple sql tables through one query in php. Here is what I was trying to use:

    mysql_query("
    CREATE TABLE `admins` (
    `id` tinyint(4)...
  3. Replies
    2
    Views
    2,553

    I did that and it did make a difference, but...

    I did that and it did make a difference, but there is still a problem. Now it simply takes the content off of the page instead of running the php. I think that register_globals() is not set. Is there...
  4. Replies
    2
    Views
    2,553

    Server will not execute this code?

    I made a login script for my a cms and it worked perfectly while on my server, but when it was transfered to my clients server, it quit working. All the code is exactly the same as the code on mine,...
  5. Replies
    3
    Views
    1,514

    So the code should be

    So the code should be

    <input type="checkbox" name="checkbox[]" value="<?php echo $l['id']; ?>" /> or do you mean:

    $del_id = $checkbox[$i][];
    Thanks
  6. Replies
    3
    Views
    1,514

    IDs Over 10 Being Split

    I have made a delete script with multiple delete. Everything runs great until the delete ID being fed hits 10 or more, then it splits it into 1 and 0 instead of 10. Here is the delete PHP:
    ######...
  7. Replies
    2
    Views
    1,814

    I am not sure exactly what you mean, but I don't...

    I am not sure exactly what you mean, but I don't think that will work in this case because I need the top of the border (410px high) to be one thing and then the rest to be another image that expands...
  8. Replies
    2
    Views
    1,814

    Template Border Question

    I am coding a relatively simple template but have been stumped by what to do with the border/background. I want the border to extend as the page extends, but the top part of the border can not repeat...
  9. Replies
    4
    Views
    1,805

    Sorry for the late response, been pretty busy...

    Sorry for the late response, been pretty busy lately. I tried what you said, but I still get the same positioning error. I can not think of any reason for this at all. Any other suggestions?

    Thanks
  10. Replies
    4
    Views
    1,805

    Well, I used padding instead of margin and it...

    Well, I used padding instead of margin and it made no change. All the math adds up and the position is right in the code. For some reason, IE 7 has decided that it wants it moved about 200px to the...
  11. Replies
    4
    Views
    1,805

    Positioning Error

    For some reason, on this page: http://resonant-media.com/client_work/atar/coding.html in IE 7, the large box with the picture is not positioned where it should be, but the position is correct in...
  12. Replies
    2
    Views
    2,144

    Hey, sorry for the really delayed response, been...

    Hey, sorry for the really delayed response, been tied up with work. I have been looking into the no ID problem and can't seem to find the problem. Here is the pages full code:
    <?php

    $level =...
  13. Replies
    2
    Views
    2,144

    Multi Delete Problems

    Well, I am using this code to do multiple deletes at one time:
    // If delete was hit
    else if ($_POST['delete']) {
    if ($level >= 18) {
    for ($i=0; $i<$chk; $i++) {
    $del_id = $checkbox[$i];...
  14. Replies
    0
    Views
    1,169

    Image Resize Error

    Well, I am trying to make a script that will allow a user to upload a picture and then it will resize it to the appropriate size if the image being uploaded is not the specified size. Here is the...
  15. Replies
    2
    Views
    1,525

    That doesn't seem to be the problem. That code is...

    That doesn't seem to be the problem. That code is for the row colors and not for the results display. I did try changing it to 0 and got no change. Any other ideas?

    I found that when I add a...
  16. Replies
    4
    Views
    2,306

    Thanks, thats made it work :)

    Thanks, thats made it work :)
  17. Replies
    2
    Views
    1,525

    Not Showing All Results

    I have a script that is simply supposed to show all links in the database. For some reason, it does not show the newest link in the table. Here is my code:
    <?php

    $level = $_SESSION['level'];
    ...
  18. Replies
    2
    Views
    3,697

    I found the problem, I just had "WHERE" in the...

    I found the problem, I just had "WHERE" in the query twice. Thanks for the help though. :)
  19. Replies
    4
    Views
    2,306

    I originally tried the if instead of the while,...

    I originally tried the if instead of the while, but it didn't work. I think the reason for this is that once the script finds the point where $r == $u['level'] is true, it will read it as true for...
  20. Replies
    4
    Views
    2,306

    For Statement Question

    Well, I am running a for statement that show numbers up to the rank of the user viewing it. Here is the code:

    <?php

    $id = $_GET['id'];
    $level = $_SESSION['level'];

    // Get User Data
    $get =...
  21. Replies
    3
    Views
    1,462

    Ok, that helps me out a lot and cuts down the...

    Ok, that helps me out a lot and cuts down the code significantly :). Can I use this code to also delete users after 8 days of inactivity by changing it to this:
    DELETE FROM `users` WHERE status =...
  22. Replies
    2
    Views
    3,697

    SQL Query Problem

    Well I am trying to get the script to take only links that have a permission level of below or equal to their own. I tried doing a WHERE level <= '$level' , but that didn't work. How can I do this?...
  23. Replies
    3
    Views
    1,462

    Database Changes At Scheduled Times

    Well, I am making a script that will update all users ranks every 7 days. What I came up with was to just include this page in another page that will be accessed all the time:
    <?php

    $get =...
  24. Replies
    1
    Views
    1,330

    Searching Multiple Databases

    Well, I am trying to make a search script that will search for the keyword in all databases for the site. I am confused as how to get it to search through more than one database or even to search...
  25. Replies
    2
    Views
    1,718

    URL/Login Problems

    Well, I have been going around and around trying to make my login script (which has worked in the past) work. I finally got it down to one problem with some help from others. The problem now is that...
Results 1 to 25 of 266
Page 1 of 11 1 2 3 4