Jump to content

Zane

Administrators
  • Posts

    4,362
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by Zane

  1. What exactly is it NOT doing? and I'm going out on a long shot here but try capitalizing the m in onmouseover so you have onMouseover
  2. Damn! what a turd. Good thing we don't have phpBB installed. Although, the way the guy tells the whole story like that and his intentions he seems more to me like a white hat hacker or gray....You hardly see any of those people around.
  3. I noticed that in your PHP you haven't closed your table tag This could have everything to do with your footer disappearing.
  4. As the old saying goes... "You can't fix stupid" Of course they're not necessarily stupid, but they are as bad as a 10 year old. They come here with the sole attitude of "I need an answer now, I don't care who it's from, just so long as it works....and I want it NOW" Of course it we were to disallow these people to post, there would be no real point to these forums. People are just going to double post, continuously bump, post in the wrong place, and PM the staff until that ban stick comes out. Although the answer really is to ban them...I still don't understand why they come back after their ban is up...(If of course it is a time based ban). This place is pretty much a crackhouse...a PHP crackhouse. Wouldn't surprise me if the next new post's subject was "You gotta any PHP man?"
  5. well I'll take you word for it...it probably doesn't work, but you'd get better results if you changed your code to this </pre> <form action="'gedichten.php'" method="'POST'"> From Z To A: From A To Z: </form> <br> require_once 'config.php'; // our database settings<br>$conn = mysql_connect($dbhost,$dbuser,$dbpass)<br> or die('Error connecting to mysql');<br>mysql_select_db($dbname);<br> if(isset($_POST['sort'])) {<br> $query = sprintf("SELECT PName,UName,PText,URL,category From gedichten ORDER BY PName" . $_POST['sort']);<br> $rresult = mysql_query($query);<br> while($urlgedicht = mysql_fetch_array($result))<br> print "<ul>{$urlgedicht['PName']} | {$urlgedicht['UName']} | {$urlgedicht['category']}</ul>";<br> } else {<br> print "<script type="'text/javascript'">alert(&#039;There was an error while trying to give an overview!&#039;);</script>";<br> }<br>?&g related radio buttons need to all have the same name
  6. rinse, lather, repeat
  7. Either we all have a virus...or worse...Google has a virus I don't know what to do without Google...I hope it gets fixed. I need Google Anonymous meetings
  8. Damn...I get the same thing it seems as though the videos are fine though [attachment deleted by admin]
  9. Zane

    what am I to do.

    Ok I'm trying to make something really simple. I've seen this type of layout used many places....I would think it's just two divs side by side.....and the container has full height (which took me forever to figure out as well). Now I've finally got it positioned the way I want...but the only problem is that the right div extends all the way into the left div or something....according the firebug. I want to set padding in the right div....or at least its content child and be happy. Here's my code LEFT There is a lot of content in here damnit dkkkkkkkkkkkkkkkkkkkk k kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk kkkkkkkkkkkkkkkkkkkkkkkkkkkkk kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk kkkkkkkkkkkkkkkkk body,html,#left,#right { height:100%; margin: 0px; padding:0px; background: blue; } div#main { margin: 0px 12em; height:100%; } #left { float:left; } #right { background-color:#76D16B; padding: 1em; } #content { padding: 1em; } I can only get it to pad the top and bottom... what's wrong? here is a screenshot of how it looks [attachment deleted by admin]
  10. double posting causes lymphoma
  11. I've merged this with another older post with good links as well I'm putting this in the Code Repository
  12. here's the entire thread for this http://www.phpfreaks.com/forums/index.php/topic,58799.0.html
  13. </pre> <form action="<?%20%24_SERVER%5B" php_self>">< You need to set your form's method....GET or POST by default it's going to be GET also....unless you have register globals on...this won't work switch( $action ){ should be switch($_GET['action']){
  14. most likely both of them are rather critical. But if I had to say, the cookies/sessions would have the most to do with it. You can easily query the SMF database...from whatever script you have. Your best bet would be to go to simplemachines.org and ask there.
  15. else // Report all PHP errors error_reporting(E_ALL); // { include("header.php"); I'm surprised you don't have an unexpected { error occurring. May not be the solution to this problem...but every little bit helps.. I'm stumped.
  16. I honestly can't figure out how it's deleting your info. $_REQUEST looked exactly the way I thought it would....just fine. So why would it work in phpmyadmin and not in your script? Even though the script...seems flawless brainstorm in progress....... Most likely.....I would put money on it being something really dumb...like, having selected the wrong database or table or something.
  17. damn, I guess I meant to say $_REQUEST...not $_GET
  18. so you're telling me that the variables are going into the query fine, but still continue to erase things when updating.....odd just for gits and shiggles.... run echo "" . print_r($_GET) . "
  19. Have you tried using backticks UPDATE testimonial SET `Website` = 'http://www.imagesbytroy.com', `Date` = 'January 24, 2009', `Testimonial` = 'test' WHERE `Client` = 'imagesbytroy'
  20. I've hacked up a loogie once or twice... h4x0rs Unite
  21. there is also parse_url
  22. Yeah it probably would make more sense to use OR with parentheses. SELECT msgSender, message_content.msgId, msgDate, msgContent FROM utility.message_inbox, utility.message_content WHERE (msgRecipient = "o4jd9sk1" AND message_inbox.msgId = message_content.msgId) OR message_content.msgChild = "NULL" @Mchl, I'm not too sure. the op said he wasn't able to use 3 where clauses so the first thing that came to mind was..Parentheses! I spoke to soon I guess. I'm definitely not the brightest SQL tool in the shed, but I can make my way around.
  23. Use parentheses? SELECT msgSender, message_content.msgId, msgDate, msgContent FROM utility.message_inbox, utility.message_content WHERE (msgRecipient = "o4jd9sk1" AND message_inbox.msgId = message_content.msgId) AND message_content.msgChild = "NULL" or SELECT msgSender, message_content.msgId, msgDate, msgContent FROM utility.message_inbox, utility.message_content WHERE msgRecipient = "o4jd9sk1" AND (message_inbox.msgId = message_content.msgId AND message_content.msgChild = "NULL") it's all about precedence.
  24. check out JpGraph
  25. here you go http://www.xtinctdesigns.com/GS_Intro.php
×
×
  • 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.