Jump to content

chrisC

Members
  • Posts

    39
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

chrisC's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. just looking into the study!! An investigation of possible hardware and software technology/technologies necessary to implement it and the architecture a potential solution or solutions would have. It is not sufficient to merely describe how an existing approach to the problem works, though you may use such approaches to inform your solution. - Issues with implementing it in practice, e.g. security, legal, ethical, physical restrictions such as bandwidth - Most of the scenarios require a centralised data store. How might the data effectively be gathered in the first place?
  2. Hi, can anybody shed some light on the sort of topics i should look into for the following... and any brief code for this! A system to be used, by music shops, and record companies, to allow communication between them. Enable shops to place orders with the appropriate record company when stocks get low. It should also be used to communicate sales from shops to the record company for the purpose of compiling charts. Finally customers should be informed of release dates of artists in their favoured genre of music by text. thanks in advance
  3. sorry i cant remember so many replys to this post!
  4. i got an error on this line echo "<br />name: $row['name']";
  5. this was what I was going for, but this came up with a whole load of errors
  6. :'( nope, im soo confused???
  7. still no information appeared ???
  8. Im having problems displaying the fields of a persons profile that someone is friends with on the database. When I click the persons profile it comes up with the following Name: birthday: interests: No information appears why is this??? <?php session_start(); if ( !isset ($_SESSION["gatekeeper"])) { echo "Sorry, You are not logged in please try again! <a href=\"home.html\">login</a> "; } else { ?> <?php $a = $_SESSION["gatekeeper"]; $b = $_GET["username"]; echo "You are viewing $b profile:"; $conn = mysql_connect("localhost", "ccheckley", "4aPRaJew"); mysql_select_db("ccheckley"); $result = mysql_query("SELECT name FROM users WHERE username='$b'"); $row = mysql_fetch_array($result); echo "<br />name: $row[name]"; $result2 = mysql_query("SELECT username FROM users WHERE username='$b'"); $row = mysql_fetch_array($result2); echo "<br />username: $row[username]"; $result3 = mysql_query("SELECT birthday FROM users WHERE username='$b'"); $row = mysql_fetch_array($result3); echo "<br />birthday: $row[birthday]"; $result4 = mysql_query("SELECT interests FROM users WHERE username='$b'"); $row = mysql_fetch_array($result4); echo "<br />interests: $row[interests]"; ?> <?php } ?>
  9. hi guys, had to leave yesterday, currently dont understand what im doing wrong with respects to gettin correct search results Currently I can type anyones name and get results for everybody, i want it so i can just get search results for the name and interest entered any thoughts?
  10. ok, so the only trouble is, it will only find peoples interest if theres more than one person with the same?? does that make sence? Also how can I get so that I can search for Name, Username dob Interests Also another issue is when you only type in chris or any name it comes up with all the details fo everyone on the database
  11. ok well my form is liek this though <form action="search.php" method="post"> <br /> Enter Search:<br /> <input name="friendsearch" type=""text" size="40"/> <br /> <input type="submit" name="submit" value="search"/> </form> is this a problem?
  12. yep! ... i just used the above code and all when typing anything into the search bar i recieve all teh details of everyone on the datbase
  13. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 Using search string
×
×
  • 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.