Jump to content

smashmouth

Members
  • Posts

    16
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

smashmouth's Achievements

Member

Member (2/5)

0

Reputation

  1. Hey all!. I was wondering if there was a way to process information from major websites using php? It seems I am running into issues. Here is what I am trying to do: I need to pull the full list of companies from pinksheets.com that are listed on the exchanges. I can download the list via XLS format, but I need to do this for all the exchange websites such as nasdaq etc. Is there a way to do this where I can comb for the information such as CEO name, ticker , company name and any companies that get taken off or added to the list? The lists I am already talking about are on the sites I mentioned and you can look them up but I am adding 40,000+ companies to my site it manually entering them would be a huge issue,. Do any of you have any fixes? Sorry if this is in the wrong section. Thanks!. Smash.
  2. Hi All. I am putting a mock up of a project that I need done, so the mock up will be the best way to do so in my case. I have Header @ top. Left sidebar area (that has links) and a right sidebar area with links. When you click on these links either on the elft or right... I want the middle area to change only with the info instaed of the whole page. How would I go about doing this? Thanks.
  3. Hi everyone! This I hope is in the correct spot. I have a few choices here and was hoping some of you php coders could chime in. I am looking to build a forum among other php projects for my personal use. however I don't know exactly where to start. I know HTML, CSS and limited php. I would like to learn php from the ground up so i can do these things on my own instead of paying someone thousands of dollars to do the work. How should I go about this? I was thinking a degree would be goos since the GI bill pays for it at no cost to me. I enjoy doing it.... but do I need a degree to get good at it? and where do I start to start making my own projects? I have done a ton of research and it is difficult to grasp. Thoughts? Thanks.
  4. Was curious how everyone starts a HTML project. The basics of any project is index, css and outlying pages. I am wondering if when you start a project, that you build your tables first and then place your information in if that makes any sense. Funny thing is, CSS was cake
  5. Error I get: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource Code that is being used to get this error: <? include 'login/dbc.php'; page_protect(); //Gets $idbitch = $_SESSION['user_id']; $boardid = $_GET['board_id']; $whatact = $_GET['act']; $view = $_GET['view_id']; // Gather user and board info $result = mysql_query("SELECT * FROM users WHERE id = $idbitch") or die(mysql_error()); $row = mysql_fetch_array( $result ); $resultboard = mysql_query("SELECT * FROM boards WHERE id = $boardid") or die(mysql_error()); $rowboard = mysql_fetch_array( $resultboard ); $username = $row['user_name']; $title = $rowboard['title']; $mod = $rowboard['owner']; $descrip = $rowboard['description']; $safetitle = str_replace("'", "", "$title"); $category = $rowboard['category']; $symbol = $rowboard['symbol']; $time = time(); //Check to see if board is favorite or not $resultfav = mysql_query("SELECT * FROM favorites WHERE owner = '$username' AND boardid = '$boardid'") or die(mysql_error()); $rowfav = mysql_fetch_array( $resultfav ); $checkfav = $rowfav['boardid']; //Add or remove board from favorites if ($whatact == 1){ mysql_query("DELETE FROM favorites WHERE owner='$username' AND boardid = '$boardid'") or die(mysql_error());} elseif ($whatact == 2) { mysql_query("INSERT INTO favorites (owner, board, boardid, category, stock, lasttime) VALUES('$username', '".mysql_real_escape_string($title)."', '$boardid', '$category', '$symbol', '$time') ") or die(mysql_error());} //Recheck to see if favorite has changed $resultfav = mysql_query("SELECT * FROM favorites WHERE owner = '$username' AND boardid = '$boardid'") or die(mysql_error()); $rowfav = mysql_fetch_array( $resultfav ); $checkfav = $rowfav['boardid']; //link variables $link3 = "/viewuser.php?user_id="; $linknext = "/viewboard.php?board_id="; $replyto ="&msg_id=0"; $newmsg = "/newmsg.php?board_id="; $viewboard = "&view_id="; $viewfirst = "&view_id=0"; $removeact = "&act=1"; $addact = "&act=2"; //view next and previous code $viewnext = $view + 50; $viewprevious = $view - 50; if ($checkfav > '0'){ mysql_query("UPDATE favorites SET lastcheck = '$time', unread = '0' WHERE boardid = '$boardid' AND owner = '$username'") or die(mysql_error());} //SHORTEN TEXT CODE /** * include "shorten_a_text_string.php"; * echo ShortenText($text); */ function ShortenText($text) { // Change to the number of characters you want to display $chars = 90; $text = $text." "; $text = substr($text,0,$chars); $text = substr($text,0,strrpos($text,' ')); $text = $text."..."; return $text; } /** * include "shorten_a_text_string.php"; * echo ShortenText($text); */ function ShortenDescrip($text) { // Change to the number of characters you want to display $chars = 375; $text = $text." "; $text = substr($text,0,$chars); $text = substr($text,0,strrpos($text,' ')); $text = $text."..."; return $text; } //check to see if there are previous 50 messages $resultcheck = mysql_query("SELECT id FROM messages WHERE board = '$boardid' AND viewable = '0' ORDER BY sortid DESC LIMIT 60 OFFSET $view"); $checkforprev = mysql_num_rows($resultcheck) ?> <link REL="STYLESHEET" TYPE="text/css" HREF="/styles/master.css" Title="TOCStyle"> <style type="text/css"> <!-- .style9 {color: #FFFFFF} --> </style> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>The250Group</title> <style type="text/css"> <!-- body { background-color: #333333; } --> </style> </head> <body> <table width="1000" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td align="left" valign="top" bgcolor="#FFFFFF"><?php include('/home/investme/public_html/menu.php'); ?><script>document.getElementById('search').focus()</script></td> </tr> <tr> <td height="30" align="left" valign="middle" background="/img/border/5.jpg" bgcolor="#DFE6FF" class="style5"><table width="100%" border="0"> <tr> <td width="429" align="left" valign="top"><span class="style4"> <?php echo "<a href='".$linknext.$boardid.$viewfirst."'>".$title."</a>";?> </span></td> <td width="461" align="right" valign="middle" class="style8">Go to Post or Date <input name="symbol" type="text" value="" size="8" /> <input name="submit" type="submit" value="Go" /></td> </tr> </table> </td> </tr> <tr> <td height="50" align="left" valign="top" bgcolor="#FFFFFF" class="style5"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td height="30" align="left" valign="middle" bgcolor="#A7C6DC" class="style3"><span class="style8">Moderator: </span> <?php echo "<a href='".$link3.$mod."'>".$mod."</a>"; ?> </td> <td height="25" align="left" valign="middle" bgcolor="#A7C6DC" class="style3"> <?php if ($checkfav > 0){echo "<a href='".$linknext.$boardid.$viewfirst.$removeact."'>"."Remove Favorite"."</a>";}else { echo "<a href='".$linknext.$boardid.$viewfirst.$addact."'>"."Add Favorite"."</a>";}?> </td> </tr> <tr> <td width="661" class="style10"><?php echo ShortenDescrip($descrip);?> </td> <td width="329" class="style10"></td> </tr> </table></td> </tr> <tr> <td width="250" height="25" align="left" valign="top" bgcolor="#A7C6DC" class="style8"><table width="100%" height="30" border="0" cellpadding="0" cellspacing="0" bgcolor="#A7C6DC"> <tr> <td width="560" height="25" align="left" valign="middle"><table width="560" border="0" cellpadding="0" cellspacing="0"> <tr> <td><?php echo "<td >" . "<a href='".$newmsg.$boardid.$replyto."'>"."Post a New Message"."</a>" . "</td>";?></td> <td> </td> </tr> </table></td> <td width="426" height="25" align="right" valign="middle"><table width="400" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="center" valign="bottom" class="style8"><?php if ($checkforprev > 50 ){echo "<td >" . "<a href='".$linknext.$boardid.$viewboard.$viewnext."'>"."Previous 50"."</a>" . "</td>";}else {echo "Previous 50";}?></td> <td align="center" valign="bottom" class="style8"><?php if ($view ==0){echo "<td align=\"center\">"."Next 50";}else {echo "<td >" . "<a href='".$linknext.$boardid.$viewboard.$viewprevious."'>"."Next 50"."</a>" . "</td>";}?></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td align="left" valign="top" background="/img/border/top.png" bgcolor="#FFFFFF" class="style5"><table width="1000" border="0" background="/img/border/top.png"> <tr align="left" valign="middle" class="style1"> <td width="75">Post #</td> <td width="625">Subject</td> <td width="150" align="center">Posted By </td> <td width="150" align="center">Time </td> </tr> </table></td> </tr> <tr> <td align="left" valign="top" bgcolor="#FFFFFF" class="style5"><?php $result = mysql_query("SELECT * FROM messages WHERE board = '$boardid' AND sticky = '1' AND viewable = '0' ORDER BY sortid DESC LIMIT 10 OFFSET 0"); $link = "/viewmsg.php?msg_id="; $link2 = "/viewuser.php?user_id="; $msggetid = $row['id']; echo "<table border='0' width='1000'cellpadding='0' cellspacing='0'> <tr> </tr>"; while($row = mysql_fetch_array($result)) { echo "<tr bgcolor='#FFFF99'align=\"left\" valign=\"middle\">"; echo "<td height='25'width=\"75\" align=\"center\">" . $row['sortid'] . "</td>"; echo "<td height='25'width=\"625\">" . "<a href='".$link.$row['id']."'>".ShortenText($row['message'])."</a>" . "</td>"; echo "<td height='25'width=\"150\"align=\"left\">" . "<a href='".$link2.$row['owner']."'>".$row['owner']."</a>" . "</td>"; echo "<td height='25'width=\"150\"align=\"center\">" . $row['timemsg'] . "</td>"; echo "</tr>"; } echo "</table>"; ?> <br> <?php $result = mysql_query("SELECT * FROM messages WHERE board = '$boardid' AND viewable = '0' ORDER BY sortid DESC LIMIT 50 OFFSET $view"); $color="1"; $link = "/viewmsg.php?msg_id="; $link2 = "/viewuser.php?user_id="; $msggetid = $row['id']; echo "<table border='0' width='1000'cellpadding='0' cellspacing='0'> <tr> </tr>"; while($row = mysql_fetch_array($result)) { if ($color ==1){ echo "<tr bgcolor='#FFFFFF'align=\"left\" valign=\"middle\">"; echo "<td height='25'width=\"75\" align=\"center\">" . $row['sortid'] . "</td>"; echo "<td height='25'width=\"625\">" . "<a href='".$link.$row['id']."'>".ShortenText($row['message'])."</a>" . "</td>"; echo "<td height='25'width=\"150\"align=\"left\">" . "<a href='".$link2.$row['owner']."'>".$row['owner']."</a>" . "</td>"; echo "<td height='25'width=\"150\"align=\"center\">" . $row['timemsg'] . "</td>"; echo "</tr>"; $color="2"; } else { echo "<tr bgcolor='#E0DFFD'align=\"left\" valign=\"middle\">"; echo "<td height='25'width=\"75\" align=\"center\">" . $row['sortid'] . "</td>"; echo "<td height='25'width=\"625\">" . "<a href='".$link.$row['id']."'>".ShortenText($row['message'])."</a>" . "</td>"; echo "<td height='25'width=\"150\"align=\"left\">" . "<a href='".$link2.$row['owner']."'>".$row['owner']."</a>" . "</td>"; echo "<td height='25'width=\"150\"align=\"center\">" . $row['timemsg'] . "</td>"; echo "</tr>"; $color="1"; } } echo "</table>"; ?></td> </tr> <tr> <td width="250" height="25" align="left" valign="top" bgcolor="#A7C6DC" class="style8"><table width="100%" height="30" border="0" cellpadding="0" cellspacing="0" bgcolor="#A7C6DC"> <tr> <td width="560" height="25" align="left" valign="middle"><table width="560" border="0" cellpadding="0" cellspacing="0"> <tr> <td><?php echo "<td >" . "<a href='".$newmsg.$boardid.$replyto."'>"."Post a New Message"."</a>" . "</td>";?></td> <td> </td> </tr> </table></td> <td width="426" height="25" align="right" valign="middle"><table width="400" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="center" valign="bottom" class="style8"><?php if ($checkforprev > 50 ){echo "<td >" . "<a href='".$linknext.$boardid.$viewboard.$viewnext."'>"."Previous 50"."</a>" . "</td>";}else {echo "Previous 50";}?></td> <td align="center" valign="bottom" class="style8"><?php if ($view ==0){echo "<td align=\"center\">"."Next 50";}else {echo "<td >" . "<a href='".$linknext.$boardid.$viewboard.$viewprevious."'>"."Next 50"."</a>" . "</td>";}?></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td height="50" align="left" valign="top" bgcolor="#DFE6FF"> </td> </tr> <tr> <td align="left" valign="top" bgcolor="#FFFFFF"><span class="style5">Phase 1: Initial develpment of site, get it up, working, and on the250group.com. <a href="/phases.php">Click here for a list of Phases. </a></span></td> </tr> </table> </body> </html> Any ideas on what I might be doing wrong? Thanks.
  6. right. (I have /tmp in my main directory as well) so if the the tmp folder is in my public_html then how do I set it to save in that directory? Thanks.
  7. ok, before I was getting an error where it said could not write session function something or other. Anyways, I went into the php.ini and changed the session.save_path from C:/tmp to /tmp because I use hostgator now and not my own server. Problem is, the error is gone form the page, but when i look where the session files are saving, they are not in the /tmp folder. Any ideas on how to check this properly to make sure its working? Thanks.
  8. This is my code: <?php include ("common/config.php"); include ("common/database.class.php"); include_once ("securimage/securimage.php"); include ("header.php"); $securimage = new Securimage(); $db = new database; # Email Validation Function function check_email_address($email) { // First, we check that there's one @ symbol, // and that the lengths are right. if (!ereg("^[^@]{1,64}@[^@]{1,255}$", $email)) { // Email invalid because wrong number of characters // in one section or wrong number of @ symbols. return false; } // Split it into sections to make life easier $email_array = explode("@", $email); $local_array = explode(".", $email_array[0]); for ($i = 0; $i < sizeof($local_array); $i++) { if (!ereg("^(([A-Za-z0-9!#$%&'*+/=?^_`{|}~-][A-Za-z0-9!#$%& ?'*+/=?^_`{|}~\.-]{0,63})|(\"[^(\\|\")]{0,62}\"))$", $local_array[$i])) { return false; } } // Check if domain is IP. If not, // it should be valid domain name if (!ereg("^\[?[0-9\.]+\]?$", $email_array[1])) { $domain_array = explode(".", $email_array[1]); if (sizeof($domain_array) < 2) { return false; // Not enough parts to domain } for ($i = 0; $i < sizeof($domain_array); $i++) { if (!ereg("^(([A-Za-z0-9][A-Za-z0-9-]{0,61}[A-Za-z0-9])| ?([A-Za-z0-9]+))$", $domain_array[$i])) { return false; } } } return true; } # Programmed by tony tony Copyright (c) 2008 All rights reserved. $GetFileMain = file("html/register.html") ; $webpage = join("",$GetFileMain) ; if ($_POST["submit"] == "Register"){ if ($securimage->check($_POST['captcha_code']) == false) { echo "<span class='error'>Security Code does not Match. Please Try Again</span>"; exit; } # Validate the data passed. if (empty($_POST[firstname])){ echo "<span class='error'>Firstname is a required field</span>"; exit; }else{ $firstname = $_POST[firstname]; } if (empty($_POST[lastname])){ echo "<span class='error'>Lastname is a required field</span>"; exit; }else{ $lastname = $_POST[lastname]; } if (empty($_POST[email])){ echo "<span class='error'>Email is a required field</span>"; exit; }else{ $email = $_POST[email]; } if (empty($_POST[emailconfirm])){ echo "<span class='error'>Confirmation Email is a required field</span>"; exit; }else{ $emailconfirm = $_POST[emailconfirm]; } if ($email <> $emailconfirm){ echo "<span class='error'>Your email and conformation emails do not match</span>"; exit; } if (empty($_POST[username])){ echo "<span class='error'>Username is a required field</span>"; exit; }else{ $username = $_POST[username]; } if (empty($_POST[password])){ echo "<span class='error'>Password is a required field</span>"; exit; }else{ $password = $_POST[password]; } if (empty($_POST[confirmpassword])){ echo "<span class='error'>Confirm Password is a required field</span>"; exit; }else{ $confirmpassword = $_POST[confirmpassword]; } # Check to see if the password and confirm password match. if ($password <> $confirmpassword){ echo "<span class='error'>Password and Confirm Passwords must match.</span>"; exit; } # Check email address for format. $email_check = check_email_address($email); if ($email_check == false){ echo "<span class='error'>You must enter a valid email address</span>"; exit; } $date = date('Y-m-d'); # Write data to database. $ip = $_SERVER['REMOTE_ADDR']; $chk_user_sql = "SELECT count(*) usrcnt FROM members WHERE username = '$username' OR email = '$email'"; $chk_user_result = $db->get_a_line($chk_user_sql); $user_count = $chk_user_result[0]; if ($user_count > 0){ echo "<span class='error'>User Record Already Exists for either $email, $username or $ip</span>"; exit; } $code = md5(uniqid(rand(), true)); $source = $_POST["source"]; $insert_member_sql = "INSERT INTO members (firstname, lastname, email, username, password, date, type, ipaddress, active, code, source) VALUES ('$firstname','$lastname','$email','$username','$password','$date','Free', '$ip', 'Y', '$code', '$source')"; $member_id = $db->insert_data_id($insert_member_sql); $ins_fdlr_sql = "INSERT INTO folders (owner, foldername) VALUES ('$username','default')"; $db->insert($ins_fdlr_sql); $ins_fdlr_sql2 = "INSERT INTO folders (owner, foldername) VALUES ('$username','Sent Items')"; $db->insert($ins_fdlr_sql2); # Create the Chat User $url = "http://96.228.176.19/chat/scripts/signup.php"; $postfields["username"] = $username; $postfields["password"] = $password; $postfields["email"] = $email; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_TIMEOUT, 100); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $postfields); $data = curl_exec($ch); curl_close($ch); require ("send_smtp.php"); $body = "Thank you for registering at site. To activate your account, please click on this link:\n\n"; $body .= "http://www.site.com/activate.php?x=" . $member_id . "&y=$code"; //mail($_POST['email'], 'Registration Confirmation', $body, 'From: [email protected]'); $_SESSION["member_type"] = "Free"; $_SESSION["logged_in"] = "Y"; $_SESSION["user_name"] = $username; $_SESSION["user_id"] = $member_id; $_SESSION["show"] = "Y"; $_SESSION["shwc"] = "Y"; $_SESSION["injail"] = 'N'; $_SESSION["admin"] = 'N'; $_SESSION["paid"] = 'N'; $_SESSION["password"] = $password; ?> <SCRIPT LANGUAGE="JavaScript"> alert("You have been registered Successfully. Click OK and you will be autologged in to the system."); window.location="http://www.site.com/index.php"; </script> <? exit; } $webpage = preg_replace("/{{(.*?)}}/e","$$1",$webpage) ; echo $webpage; include ("footer.php"); ?> When I sign up using this form, I get the "Your email and confirmation emails do not match" but they are the same emails. Wondering why it's doing this? Thanks in Advance!.
  9. <?php ob_start(); include ("header.php"); # Programmed by tony tony Copyright (c) 2008 All rights reserved. if (empty($_POST["login"]) & $_SESSION["logged_in"] == "Y"){ $_SESSION["logged_in"] = "N"; $user_id = $_SESSION["user_id"]; setcookie("loginid", NULL, time()-60*60*24, "/", "mysite.com"); session_destroy(); ob_flush(); ?> <SCRIPT LANGUAGE="JavaScript"> window.location="http://www.mysite.com/index.php"; </script> <? exit; } if ($_SESSION["logged_in"] == "Y"){ echo "<span class='error'>You are already logged in.</span>"; exit; } $GetFileMain = file("html/userstat.html") ; $webpage = join("",$GetFileMain) ; if ($_POST["login"] == "Login"){ # Check to see if the user exists in our system. if (empty($_POST[username])){ echo "<span class='error'>Username is a required field<span>"; }else{ $username = $_POST[username]; } if (empty($_POST[password])){ echo "<span class='error'>Password is a required field</span>"; }else{ $submitted_password = $_POST[password]; } $get_user_sql = "SELECT password FROM members WHERE username = '$username'"; $result = $db->get_a_line($get_user_sql); $password = $result[0]; $get_injail_sql = "SELECT injail FROM members WHERE username = '$username'"; $get_injail_result = $db->get_a_line($get_injail_sql); $injail = $get_injail_result[0]; $get_userid_sql = "SELECT id FROM members WHERE username = '$username'"; $get_userid_result = $db->get_a_line($get_userid_sql); ; $user_id = $get_userid_result[0]; $get_admin_sql = "SELECT admin FROM members WHERE username = '$username'"; $get_admin_result = $db->get_a_line($get_admin_sql); $admin = $get_admin_result[0]; $get_paid_sql = "SELECT paid FROM members WHERE username = '$username'"; $get_paid_result = $db->get_a_line($get_paid_sql); $paid = $get_paid_result[0]; if ($submitted_password <> $password){ echo "<span class='error'>Username or Passwords are incorrect. Hit your back button and try again.</span>"; exit; } $get_active_sql = "SELECT active FROM members WHERE username = '$username'"; $get_active_result = $db->get_a_line($get_active_sql); $active = $get_active_result[0]; if ($active == "N"){ echo "<span class='error'>You have not activated your account yet. Please check your email</span>"; exit; } # Update the IP address when someone logs in $ipaddress = $_SERVER['REMOTE_ADDR']; $upd_cust_ip_sql = "UPDATE members SET ipaddress = '$ipaddress' WHERE username = '$username'"; $db->insert($upd_cust_ip_sql); $get_member_type_sql = "SELECT type FROM members WHERE username = '$username'"; $get_member_type_result = $db->get_a_line($get_member_type_sql); $member_type = $get_member_type_result[0]; $_SESSION["member_type"] = $member_type; $_SESSION["logged_in"] = "Y"; $_SESSION["user_name"] = $username; $_SESSION["user_id"] = $user_id; $_SESSION["show"] = "Y"; $_SESSION["shwc"] = "Y"; $_SESSION["injail"] = $injail; $_SESSION["admin"] = $admin; $_SESSION["paid"] = $paid; $_SESSION["password"] = $password; ?> <SCRIPT LANGUAGE="JavaScript"> window.location="http://www.mysite.com/index.php"; </script> <? exit; } $webpage = preg_replace("/{{(.*?)}}/e","$$1",$webpage) ; echo $webpage; include ("footer.php"); ?>
  10. Hello All! I am very new to the php world but I am working on fixing things that a previous programmer screwed up for a site that I have. Let me explain what the current issue is. I believe it had to do with sessions: On my site, I can go to login page and log in with a name I made just fine. If I use an older one, it says that the password or username is wrong, but when I click on boards, im logged in. (weird) On the sign up page, when all the info is plugged in, the page hangs like its looking for something, then 2 min later it logs the person in. Any help, advice or whatever would be appreciated thanks. As we get into this discussion, I will supply code that I have when I figure out why it's not working properly. thanks! Th
  11. I need someone to border in everything on my front page. I am in the army and I dont have much time to code. I am ripping my hair out on this. I just cant get it right!!! If you have skype please add jeffrey montange and will see if you could help me. Thanks so much!
  12. Where do I put that exactly? And I dont understand how I have a open /p with nothing in it. Am I wrong here? Thanks. </style> <table width="100%" border="0" align="center" cellpadding="5"> <tr> <td width="39%" rowspan="6" align="left" valign="top"><p>{{top20}}<br /> </p> <div> <div align="center">{{middlead}}</div> </div> <p>{{featured}}<br /> {{top15}}</p> <p> </p></td> <td align="left" valign="top"><table width="100%" cellspacing="0" cellpadding="5"> <tr> <td align="left" bgcolor="#FFFFFF" valign="top"><div align="center"> <table width="100%" border="0" cellspacing="0" cellpadding="5"> <tr> <td align="left" valign="top" bgcolor="#009900"><span class="psthdr">Interview Schedule</span></td>
  13. if you look at investmentnation.com please you will notice this: My top 20 stock message boards header bar is not lining up even with Interview schedule. I have been tweaking it but cant get it right.. Can someone please explain to me what I need to do to fix this? Thanks!
  14. So use that exact code? and it will work? Here is my current header code: Home</a> | <span class="menu">{{register}} </span>{{seperator1}} <a href="mail.php" class="menu"> Mail</a> <span class="menu"> {{mailcount}}</span>| <a href="categoryboardview.php" class="menu"> Boards</a> | <span class="menu"><a href="account.php" class="menu"> Account</a></span> | <a href="watched.php" class="menu">Watched</a> | <a href="mysite" class="menu"><span class="menu">Partners</span></a> | <span class="menu">{{joinchat}}</span> {{seperator2}}<a href="admin.php" class="menu">{{adminli}}</a> {{seperator}} <a href="userstat.php" class="menu"> {{userstat}}</a></div></td> I am trying to add the "Interview Room" button in but I don't get where the heck to put it. I know how to put it up on the site, but I can't make it dissapear when not logged in.. Sorry if this sounds dumb
  15. Hello all, I am new to using PHP and I am trying to learn as much as I can so I don't have to pay my coder for simple things lol. Anyways, I am sorry if this is in the wrong place, but I am ripping my hair out. I want a "Interview Room" button to only show when the user is logged in to get to interviews. My last coder has it as "Join Chat" and when I look in the header to find out how he did it it only shows as {{Join Chat}} and I can't find where that is anywhere on my site lol. Anyways, if someone could please help it would be much appreciated. Thanks.
×
×
  • 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.