Jump to content

Scotty13

Members
  • Content Count

    34
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Scotty13

  • Rank
    Newbie
  1. Like this? if(!isset($passengerUserName)){ (!isset($passengerUserName)) = (!isset($passengerFirstName));} // If username is blank use the firstname programming changes in v1.32 call for thisLike this?
  2. I added (!isset($passengerUserName)) on line 362 and it removed the first error(Notice: Undefined variable: passengerFirstName in /home/**************/res.php on line 362) other errors still remain. Thanks for your help, new to all this.
  3. Error: Notice: Undefined variable: res.php on lines 362, 408, 412(Marked bold red below)Notice: Undefined variable: passengerUserName in /home/************/res.php on line 362Notice: Undefined variable: passengerFirstName in /home/************/res.php on line 362Notice: Undefined variable: puname in/home/************/res.php on line 408Notice: Undefined variable: pfname in /home/************/res.php on line 408Notice: Undefined variable: pcity in /home/************/res.php on line 412Notice: Undefined variable: pstate_province in /home/************/res.php on line 412Notice: Undefined variable
  4. Did above and get... SELECT * FROM myMembers WHERE id='18' AND username='Kokomo' AND email='' AND locator='e2fd485aa3ba92321375'
  5. Trying to build a forum. My two Tables that I built for this forum are good.When I test in my browsers…I click on a topic from my index.phpIt goes to section.php?id=36 (script below)If I click on my type="submit" value="Take Off With A Different Conversation" button.I get this “ERROR: You do not exist in the system.” from new_topic.php (script below).I’m following some tuts online and watched them over and over and its just not working, could you PLEASE HELP ME!Sorry for all the script, but I didnt want to leave anything out._____________________________________________________________________
  6. With some adjusting to get it just right around the key hole picture, this worked for me. I hope this helps someone else. <body><a href='http://example.com' style='display:bock; width:115px; height:215px; position:absolute; left:40px; top:15px'></a> </body> Thank you ALL above for helping me.Scott
  7. I'm only a rookie, so I would appreciate any help and please don't answer with to complicated replies.I know how to add an image and make it a link or add a link.However, I have this background image on my website (image attached). All the images you see are one picture.I want my members to be able to hover over any part of the “key hole” and be able to click and send them to my home page.Is this even possible to do?Script… <?php ob_start(); ?> <!doctype html> <html> <head> <title>Page Title</title> <meta http-equiv="Content-type" content=
  8. I'm only a rookie, so I would appreciate any help and please don't answer with to complicated replies.I’m following tuts to build a social network from someone on youtube.My echo $announcerDisplayList;I attached an image so you can see what my announcer display list does.PHP entry…$announcerDisplayList .= '<table width="100%" align="center" cellpadding="4" style="background-color:#CCCCCC; border:#999 1px solid;"> <tr><td width="12%" bgcolor="#FFFFFF" valign="top"><a href="root/res.php?id=' . $uid . '">' . $announcer_pic . '</a> </td><td width="100%" b
  9. I'm only a rookie, so I would appreciate any help and please don't answer with to complicated replies.Error coming from line 82 (marked below along with script entry).Warning: move_uploaded_file(tktedmembers/24/image01.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/*******/public_html/edit_res.php on line 82Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/php0GS4bb' to 'tktedmembers/24/image01.jpg' in /home/*******/public_html/edit_res.php on line 82 // ------- PARSING PICTURE UPLOAD --------- if ($_POST['parse
  10. Response... Success in database CONNECTION.....no TABLE created. You have problems in the system already, backtrack and debug! Table 'myMembers' already exists. Already exists, so I'm good?
  11. Trying to get my main table to connect. Keeping getting the same error…Success in database CONNECTION.....no TABLE created. You have problems in the system already, backtrack and debug!My table in my script/ Dreamweaver CS 4 matches exactly to entries I have in phpMyAdmin. What ‘am I missing here?<?php require_once "connect_to_mysql.php"; // Tell ourselves on screen if we have connected print "Success in database CONNECTION.....<br />"; // Create the members main table in your new database $result = "CREATE TABLE myMembers ( id int(11) NOT NULL auto_increment, uid int(11)
  12. It maybe the myMembers_table.php I get this error when I test it... Success in database CONNECTION..... no TABLE created. You have problems in the system already, backtrack and debug! <?php require_once "connect_to_mysql.php"; print "Success in database CONNECTION.....<br />"; $result = "CREATE TABLE myMembers ( id int(11) NOT NULL auto_increment, username varchar(255) NOT NULL, firstname varchar(255) NOT NULL lastname varchar(255) NOT NULL, maidenname varchar(255) NULL, ) "; if (mysql_query($result)){ print "Success in TABLE creation!...... <br /><
  13. Tried everything above and no errors, still just the username.
  14. This just displays the username aka first name. I want it to also display the member’s last name and maiden name if they have one. /////// Mechanism to Display Real Name Next to Username - real name(username) //////////////////////////if ($firstname != "") {$mainNameLine = "$firstname $maidenname $lastname ($username)";$username = $firstname;} else {$mainNameLine = $username; $maidenname; $lastname;} I want to display maiden and last name along with the user name. I've tried everything I could think of. Any suggestions? Thanks,Scott
  15. Spoke too soon. It works perfect in IE broser. When I test in Chrome, Safari and Firefox I get the following error...Warning: Cannot modify header information - headers already sent by (output started at /home/******/public_html/root/wi_class_files/autoMakeLinks.php:15) in /home/myglobal/public_html/root/res.php on line 45// ------- ESTABLISH THE PAGE ID ACCORDING TO CONDITIONS ---------if (isset($_GET['id'])) {$id = preg_replace('#[^0-9]#i', '', $_GET['id']); // filter everything but numbers} else if (isset($_SESSION['idx'])) {$id = $ckinOptions_id;} else {Line 45: header("location: index.php
×
×
  • Create New...