Jump to content

eyegraphix

Members
  • Posts

    24
  • Joined

  • Last visited

    Never

About eyegraphix

  • Birthday 05/04/1984

Contact Methods

  • AIM
    eyedesign84
  • MSN
  • Website URL
    http://www.eyegraphix.net
  • ICQ
    17900329

Profile Information

  • Gender
    Male
  • Location
    Ames, Iowa

eyegraphix's Achievements

Member

Member (2/5)

0

Reputation

  1. Hey all. I have a simple excel sheet where I want to freeze a row AND a column. From the attached picture, I want numbers 1-6 and Column1, Column2, and Column3 to remain fixed, but still be able to scroll through everything to the right of that column and below that row. I can get the row to be fixed but the column still moves, even though I've frozen the cell to the right and below where I want to freeze, according to the excel help. I know this must be easy. Please help, thanks! [attachment deleted by admin]
  2. Yes pentan. That's exactly what I'm trying to do. Your suggestion makes sense, but for some reason I'm getting the same result and the vote doesn't get into the database. I can echo'd the contents of $_SESSION[selected_radio] out at various points of the script, but once I try to echo it out past the line if ($action =="submitvote"){ , it doesn't work. Here's my updated code. <? session_start(); if (isset($_SESSION['valid_user'])) { include ("dbconnect.php"); $vote=$_POST['radiobutton']; $_SESSION[selected_radio] = $_POST['radiobutton']; $netid=$_SERVER['REMOTE_USER']; echo "You have selected to vote for $vote. If this is incorrect,<a href=\"index.php\"> click here </a> to go back else click <a href=\"70scluster.php?action=submitvote\"> here </a><br>"; $action=$_GET['action']; if ($action =="submitvote"){ mysql_query("INSERT INTO voting (username, cluster,vote) VALUES('$netid', '70s','$_SESSION[selected_radio]') ") or die(mysql_error($ echo "<input type='button' value='Click here to close this window and logout' onclick='self.close()'>"; } } ?>
  3. Yes you are correct, that's what my form looks like. And yes, I know perfectly well I can echo it's contents out. When I put something like echo $vote I get what's in it, but when I try to insert it into the database it's not there.
  4. Um, that didn't work either. Here's the updated code. <? session_start(); if (isset($_SESSION['valid_user'])) { include ("dbconnect.php"); $vote=$_POST['radiobutton']; $selected_radio = $_POST[$vote]; $netid=$_SERVER['REMOTE_USER']; echo "You have selected to vote for $vote. If this is incorrect,<a href=\"index.php\"> click here </a> to go back else click <a href=\"70scluster.php?action=submitvote\"> here </a><br>"; $action=$_GET['action']; if ($action =="submitvote"){ mysql_query("INSERT INTO voting (username, cluster,vote) VALUES('$netid', '70s','$selected_radio') ") or die(mysql_error()); echo "<input type='button' value='Click here to close this window and logout' onclick='self.close()'>"; } } ?>
  5. Hmm, that still doesn't work, plus I really don't want to echo the contents of that variable onto the page. I know there's got to be a simple way around this.
  6. I have problem that I'm sure is easy to solve. The problem is getting a certain post variable from a form into a database. I'm submitting all the variables into a mysql database, but one of the variables does not show up in the database ($vote). Why oh why do the contents of the $vote variable not get into the database? <? session_start(); if (isset($_SESSION['valid_user'])) { include ("dbconnect.php"); $vote=$_POST['radiobutton']; $netid=$_SERVER['REMOTE_USER']; echo "You have selected to vote for $vote. If this is incorrect,<a href=\"index.php\"> click here </a> to go back else click <a href=\"70scluster.php?action=submitvote\"> here </a><br>"; $action=$_GET['action']; if ($action =="submitvote"){ mysql_query("INSERT INTO voting (username, cluster,vote) VALUES('$netid', '70s','$vote') ") or die(mysql_error()); echo "<input type='button' value='Click here to close this window and logout' onclick='self.close()'>"; } } ?>
  7. Which is where exactly? I downloaded the source code and didn't find php_ldap.so anywhere.
  8. I've done that, but the extension isn't even in the folder. The extension folder according to my phpinfo() is /usr/lib/php5/20060613 but the extension isn't in there.
  9. Hello. Here's the deal. I'm using (sharing) a debian/linux server which has php 5.2.1 and apache 1.3.x already working and installed. The trouble is it does not have the ldap extension installed on it and since I'm a newbie at linux command line I can't figure out how to install it. I looked at the help file on http://us3.php.net/manual/en/install.unix.php which says i need to run the "./configure" command, then "make", and "make install" and php.net said I can run these commands without recompiling php, and all i need to do is restart apache after that and I'm good. My question is, where do I run these commands from?? Do I have to be inside the package? I can't even find where the php package is at. I thought it should be in the /usr/lib folder but I can't find it. Sorry for sounding like such a newb, I'm used to windows server's. I'd greatly appreciate some help.
  10. Hello all. I'm having trouble using the ldap module with php which runs on a linux server. I've run php on a windows server and I know that pretty much all you do is copy your .dll to the right folder, restart apache, and you're done. I uncommented out the "extension=php_ldap.so" in my php.ini file, but the module isn't even in the extension directory folder (/usr/lib/php5/20060613). Every help file I've read has been un-helpful and somehow I think you have to build the module. Can someone at least point me in the right direction? Thanks!
  11. Yeah I tried that........doing what you suggested brings me to the same dialog.
  12. I'm using Dreamweaver 8.0 and have about 3-4 sites defined that I connect to via FTP.  However, when I put in my login and password for these sites, dreamweaver does not save this info and I have to re-enter it when I re-open dreamweaver and want to connect to my sites. I'm checking the "save" checkbox but this still does not work. Anyone have any ideas why this is?
  13. I recently did my entire layout using divs and style sheets, like everyone recommends. I have a template for my site and the stuff that changes goes in a #content div. My question is, now that the site is laid out with style sheets, does it make a difference if I throw a few tables inside that #content div for my content or should you continue to stick with divs absolutely? Just wondering as a general rule....what do you people do?
  14. Fixed the problem myself, just a small bug....please mark as solved.
  15. I recently got off my ass and "relaid" my website using style sheets and XHTML transitional pages. I validated both my css and my xhtml but then I opened up IE7 and the page looks horrible, however great in Firefox 2.0. Here's the link: www.eyegraphix.net . The sidebar and shoutbox do not show up at all which are in the #left div but no matter what I do I cannot even get this stuff to show up. Any help or suggestions? Much appreciation. [code]#left { position:absolute; left:0; top:286px; bottom:50px; width:212px; overflow:auto; background-repeat:repeat-y; background-color: #000000; background-image: url(images/sideback.gif); height: 100%; }[/code] And finally the entire css code [code]/* CSS Document */ <style type="text/css"> html { height:100%; max-height:100%; padding:0; margin:0; border:0; background:#FFFFFF; font-size:76%; font-family:Arial, Helvetica, sans-serif; /* hide overflow:hidden from IE5/Mac */ overflow: hidden; color: #FFFFFF;/* */ } hr { border: thin dotted #CCCCCC; } body { height:100%; max-height:100%; overflow:hidden; padding:0; margin:0; border:0; background-color: #333; } h1 { font-family: Arial, Helvetica, sans-serif; font-size: 24px; color: #FFFF00; } #content { overflow:auto; position:absolute; z-index:3; top:286px; bottom:50px; left:230px; right:0px; background-color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #FFFFFF; padding-right: 250px; } * html #content { top:0; left:0; right:0; bottom:0; height:100%; max-height:100%; width:100%; overflow:auto; position:absolute; z-index:3; border-top:100px solid #fff; border-bottom:50px solid #fff; border-left:200px solid #fff; background-color: #333333; } #head { position:absolute; margin:0; top:0; left:0; display:block; width:100%; height:286px; background-position:0 0; background-repeat:repeat-x; font-size:4em; z-index:5; overflow:hidden; color:#fff; background-color: #000000; background-image: url(images/backtop.gif); } #foot { position:absolute; margin:0; bottom:0; left:0; display:block; width:100%; height:20px; font-size:12px; z-index:5; overflow:hidden; background:rgb(76,76,76); color:#FFFFFF; border-top-width: thin; border-top-style: dashed; border-right-style: none; border-bottom-style: none; border-left-style: none; border-top-color: #000000; font-family: Arial, Helvetica, sans-serif; text-align: center; } #left { position:absolute; left:0; top:286px; bottom:50px; width:212px; overflow:auto; background-repeat:repeat-y; background-color: #000000; background-image: url(images/sideback.gif); height: 100%; } * html #left {height:100%; top:0; bottom:0; border-top:100px solid #fff; border-bottom:50px solid #fff; color:#fff;} #content p {padding:10px;} .bold {font-size:1.2em; font-weight:bold;} dd {display:none;} #nav { display: block; float: none; height: 0px; margin: 0; padding: 0; } #nav ul, #nav li { list-style-type: none; padding: 3px; float: none; } #nav a, #nav a:link { background: #333333; border-left: 5px solid #C6C600; color: #FFFFFF; display: block; font: bold 10px/22px verdana, arial, sans-serif; text-decoration: none; border-top: 1px dotted #C6C600; border-right: 1px dotted #C6C600; border-bottom: 1px dotted #C6C600; position: static; width: 85%; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 15px; padding-top: 2px; padding-right: 3px; padding-bottom: 2px; padding-left: 3px; } #nav a:hover { background: #FFFF00; color: #000000; border-top: 1px dotted #C6C600; border-right: 1px dotted #C6C600; border-bottom: 1px dotted #C6C600; text-indent: 10px; } #nav a.active, #nav a:link.active, #nav a:hover.active { background: #fff; border: 1px solid #520; border-left: 1px solid #520; color: #000; } #shout { position: absolute; top: 266px; left: 25px; } a:link { color: #FFFF00; font-family: Arial, Helvetica, sans-serif; font-size: 20px; } a:visited { color:#FFFF00; font-size: 20px; } a:hover {color:#FFFF99;} body { margin:0px; font-size:100%; text-align:left; } .xsnazzy h1, .zsnazzy h1 {margin:0; font-size:1.2em; padding:0 10px 5px 10px; border-bottom:1px solid #444;} .xsnazzy p, .zsnazzy p { margin:0; padding:5px 10px; font-size:10px;} .xsnazzy { background: transparent; width:240px; float:right; position: absolute; margin: 0px; } .xtop, .xbottom {display:block; background:transparent; font-size:1px;} .xb1, .xb2, .xb3, .xb4 {display:block; overflow:hidden;} .xb1, .xb2, .xb3 {height:1px;} .xb2, .xb3, .xb4 {background:#fff; border-left:1px solid #444; border-right:1px solid #444;} .xb1 {margin:0 5px; background:#444;} .xb2 {margin:0 3px; border-width:0 2px;} .xb3 {margin:0 2px;} .xb4 {height:2px; margin:0 1px;} .xboxcontent {display:block; border:0 solid #444; border-width:0 1px; height:auto;} * html .xboxcontent {height:1px;} .color_a {background:#c9ba65; color:#fff;} .color_b {background:#d4d8bd; color:#000;} .color_c {background:#758279; color:#fff;} .color_d {background:#b2ab9b; color:#000;} #sbox { border-width: 0 0 0 0; border-color: #FFFF00; border-style: dotted; width: 170px; } .textbox { border-width: 0; font-size: 9px; color: #D5D500; font-style: normal; font-family: Tahoma, Arial; text-decoration: none; background-color: #333333; } </style> [/code]
×
×
  • 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.