The Student Room Group

AQA NEA Computing - URGENT!!!

Scroll to see replies

Reply 20
That will be very hard to say just from the info here but if you have done the coding well and detailed documentation, diagrams etc, nothing is broke. In the technical implementation, then this has the potential to reach marks equivalent of B. Nea is only 20 percent of your overall grade.
Original post by hsn953
That will be very hard to say just from the info here but if you have done the coding well and detailed documentation, diagrams etc, nothing is broke. In the technical implementation, then this has the potential to reach marks equivalent of B. Nea is only 20 percent of your overall grade.
Ok thank you so much :grin:
Reply 22
Original post by SignalWeevil05
Ok thank you so much :grin:

Yh, for AQA, I figured out that scoring what I got on my NEA, using last year's grade boundaries, I only get 5% taken off i.e. where I need 63% for an A, I now need 58% for an A so it's not a massive difference.

but icl, Paper 2's gonna hard carry me.
Original post by vnayak
Yh, for AQA, I figured out that scoring what I got on my NEA, using last year's grade boundaries, I only get 5% taken off i.e. where I need 63% for an A, I now need 58% for an A so it's not a massive difference.
but icl, Paper 2's gonna hard carry me.

Yeah for me Paper 2 is my best paper and Paper 1 is fine. Its just the skeleton code thats going to hold me back.
Reply 24
Original post by SignalWeevil05
Yeah for me Paper 2 is my best paper and Paper 1 is fine. Its just the skeleton code thats going to hold me back.

yh frr but I think I'm getting a lot better with it.
Original post by vnayak
yh frr but I think I'm getting a lot better with it.

do you have any advice on how to get better with it cuz i’m really struggling with it
I guess what you are asking is for code!!

Hope this helps anyone else looking for answer!!


// Implementing dynamic content based on user type (admin or regular user)
session_start();
// Check if user is logged in and determine their type
if (!isset($_SESSION['user_id']) || !isset($_SESSION['user_type'])) {
echo "Please login to view this page.";
exit;
}
$userId = $_SESSION['user_id'];
$userType = $_SESSION['user_type'];
// Connect to the database
$conn = new mysqli("localhost", "username", "password", "database_name");
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
// Determine the appropriate table based on user type
$table = $userType == 'admin' ? "admin_table" : "user_table";
$sql = "SELECT * FROM $table WHERE user_id = $userId";
$result = $conn->query($sql);
if ($result->num_rows > 0) {
while($row = $result->fetch_assoc()) {
echo "id: " . $row["id"]. " - Name: " . $row["name"]. "<br>";
}
} else {
echo "0 results";
}
$conn->close();

Quick Reply