Jump to content

Mr.x

Members
  • Posts

    25
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Mr.x's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Good Afternoon, Does anyone know of a way of displaying a file uploads status. ex 1023/4993 KB uploaded and it updates the user every couple seconds?. Thanks in advanced. Sean
  2. Thank you very much, really appreciate it!! :D
  3. Good Afternoon. Creating a user search and am having some issues with the sql queries. Search options are Username Contains : (Input) Location : (Input) Age Minimum (Input) Maximum (Input) I need it so if they only enter a username it finds that username, or if they only enter a location it finds everyone in that location. But I also need it so if they enter a location and age, it only retrieves people who are that age and live there. etc. Thanks in advance, Sean.
  4. Mr.x

    Parse error

    [code]$content = mysql_query("SELECT * FROM news WHERE id = {$_GET['id']}") while ($row = mysql_fetch_assoc($content)) { echo "<a href='rediger.php?id=".$row['id']."'>".$row['title']."</a> <br>"; }[/code]
  5. Hello all! Anyone know of a way to format a textarea input to html. For instance if you pressed enter and skipped a line, it would turn it into <br>. Another example could be posting on this forum, how if you skip 5 lines, you're output is the same etc. Also can this step be reversed so the user can edit a post?
  6. Hello Everyone, Just wondering if anyone knows a way so that say I have a script that prints out a result from a database and its result is more then 10 char, to stop on char 10 and add ... ie. applecherrybanana <- Normal applecherry... <- After Thanks alot, Sean
  7. Mr.x

    dynamic

    I had to do something similar for a cell phone store, except it was with manufacturers of the phones. One of the best tips I got was to create a seperate table just for differn't categories or product types. Ie in the table would just be Servers Desks Monitors Phones etc. I then would while loop all of these out and it created a list of items for them to choose... So say they choose servers, it would go to details.php?type=servers for example. Before hand you have to figure out some of the things they have in common, so are you getting into specific detail with each object or not? If not then you can do statics of such things like quantity, location, year purchased, etc. Then the script loops through your database and outputs out any "items" that are categorized as a server to a new row in your table, then you have standard functions such as add or subtract them. Then later on you make an admin panel so if they add in SUPER SERVERS then all it does is create the new category and they have the option to add products as Super Servers. Not sure if this helps, if it doesn't help hopefully it will help you solve some questions. -Sean
  8. Hello Everyone, I'm working a menu bar but was hoping to stay away from javascript and when a user clicks on say for instance Flowers then the menu offers more options below on the next page. I have a header file, so was thinking if I am able to either call or pass on expand="flowers" then just have an if expand == "flowers" print etc. Any Suggestions?
  9. Try this, not 100% sure. Probley too simple to be true! Replace the following section, if it doesn't imideatly work then change it back.. [code] if ($problem == '1') { if ( $_POST['weapon_hands'] == '1' ) { $template->set_filenames(array( 'body' => 'admin/weapon_add_one.tpl') ); $template->assign_vars(array( 'PROBLEM_STATEMENT' => $problem_statement )         ); } elseif ( $_POST['weapon_hands'] == '2' ) { $template->set_filenames(array( 'body' => 'admin/weapon_add_two.tpl') ); $template->assign_vars(array( 'PROBLEM_STATEMENT' => $problem_statement )         ); } else { [/code]
  10. That is the craziest thing i've seen all day! Wonder what that program ran? If you havn't already make sure you can your computer and also try running some network security programs to check your computer for any newly opened ports? Make sure you have a firewall aswell. Another security tip is to contact the hosting company. If you don't have access to the logs they do. See if there was an unauthorized FTP login or if it was a vunlernability in eCommerce. You should also contact eCommerce because it is their responsibility to ensure their scripts are safe, especially when dealing with funds and sales.
  11. I would have to think the same as Birdie. They would have a special "login" area for news reporters, could be in anything from PHP to ASP or even a desktop based program in visual basic, c, the options are unlimited. It would then probley either do a quick "spell check" and then im assuming they would have senior editors to overlook again and chose if its worthy of views. If you check articles right away you'll often see many errors then as you keep refreshing they start dissapearing, sometimes they change the titles of them too
  12. Background image gone for sure, looks like an old maxpages or angelfire kind of site (FREE) Get away from the oval header... try a rectangle if you want to go for a hard look or curved corner for a smoother design. Possibly differn't background color for link bars or some sort of design. If you need any help let me know, i'll gladly help.
  13. Excellent Job, I can't wait to see where this site goes. I just finished coding a similar RPG site and understand the challenges behind it. My suggestions would be mainly for main page because thats where your usually going to either GRAB the user and pull them in for registration or going to lose them. 1) Maybe scaling down your header welcome, like not the actual image but the purple around it, on a small resolution I noticed it took up a massive amount of the area. 2) I feel like there is alot of space being wasted, like you want your register right at the top, in their face to grab the attention so they don't have to hunt for it... 3) I also feel like there is space lost by the poll, most people wouldn't want to scroll down that far to see the news. Time is also still not working for me on NAV and too much space is wasted on the search. Possible layout for index : Header Ad, advertising a game, shop, site related or outside party. Welcome image, maybe no purple (I feel like there is too much) with no curved border just the image.. below it your short description. To the right side stats, login, latest posts, poll.. On the left, register, news If you need any help working on the site or code just let me know, i'd be happy to help.
×
×
  • 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.