Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #3K
~18.2K People Reached
About Me

I am a second year comp. science student

Interests
Playing football and now practising languages such as PHP
Favorite Tags

31 Posted Topics

Member Avatar for Mohamed_26
Member Avatar for Mohamed_26
0
189
Member Avatar for Mohamed_26

Hello, What are the different areas of databases I can focus on for my project? Thanks,

Member Avatar for Mohamed_26
0
157
Member Avatar for Mohamed_26

Hello, I am trying to build a basic unit framework. I have got this method in a class called KUnit3 public static void checkEquals(double value1,double value2) { if(value1 == value2) { addToReport(String.format(" %f == %f", value1, value2)); passedChecks++; } else { addToReport(String.format("* %f == %f", value1, value2)); failedChecks++; } } …

Member Avatar for JamesCherrill
0
269
Member Avatar for Mohamed_26

Hello All, I need a bit of advice regarding my final year project. I dont want any help with code but just on what path I should take. My project based on using triggers to solve business problems. I am not sure, on how I should approach this really. if …

Member Avatar for JOSheaIV
0
242
Member Avatar for Mohamed_26

Hello All, I really want to create a network sniffer. What kind of topics do I need to understand to create a simple one? Thanks

Member Avatar for overwraith
0
915
Member Avatar for Mohamed_26

Hello All, Recently, I have been thinking of creating a software that will detect network packets and then develop it as I go along. Can you help me point to the correct detection. As in, if there is any articles you can recommend which I can read? I would appreciate …

Member Avatar for overwraith
0
698
Member Avatar for Mohamed_26

Hello All, I have created a new windows form application in Visual studio Express 2013. How would I get .NET framwork added to Windows Form application so I can use both? I have also got visual express web 2013 and .NET framworkdapppears on there. I am getting annoyed. Can I …

Member Avatar for lithium112
0
331
Member Avatar for Mohamed_26

Hello ALl, I have found this project online which I would like to do. The link for the project is http://1000projects.org/network-intrusion-detection-system.html#comment-249119. If I am correct, this application if built properly is meant to look at all the packets and store them into SQL server?. I have got many problems before …

Member Avatar for ddanbe
0
363
Member Avatar for Mohamed_26

Hello, I am getting an error <?Php include 'connect.php'; $userName = $_POST['Username']; $firstname = $_POST['First Name']; $Surname = $_Post['Surname']; $email = $_POST['Email Address']; $password = $_POST['Password']; $gender = $_POST['Gender']; $dob = $_POST['DOB']; $query_insertintotable = "INSERT INTO User (username,Password,First Name,Surname, Gender, DOB, Email Address) VALUES ('$userName','$password','$firstname','$userName', '$gender', '$dob', '$email)"; $query = …

Member Avatar for Mohamed_26
0
2K
Member Avatar for Mohamed_26

Hello Everyone I am using this service 000webhosting.com to host my website. When I tried to connect to the database. I got this error Could not connect to the database a7848759_lumos :SQLSTATE[28000] [1045] Access denied for user 'a7848759_fareedh'@'10.1.1.13' (using password: NO) This is my code below `<?php ` $host = …

Member Avatar for Mohamed_26
0
634
Member Avatar for Mohamed_26

Hello I am looking to use transistions from one page to another. How do I go about doing it? Thanksss

Member Avatar for almostbob
0
242
Member Avatar for Mohamed_26

I am having trouble in styling the table in php code. I was wondering if u can help me with it? echo "<table border='1' padding = '20'>"; echo '<tr>'; echo '<th>DVD Name</th>'; echo '<th>Price</th>'; echo '<th>Quantity</th>'; echo '<th> Total </th>'; echo '</tr>'; I just want to like change the colour …

Member Avatar for Mohamed_26
0
81
Member Avatar for Mohamed_26

Hello I am trying to update the quantity value but I am not able to do it. As soon as the user clicks on Add To Basket, if the items exists I want it to update the value. At the moment, the quantity is one. //so this bit checks if …

Member Avatar for Mohamed_26
0
2K
Member Avatar for shaidur1982

There are a lot of good tutorials on YouTube, you can learn PHP from.

Member Avatar for shaidur1982
0
147
Member Avatar for Mohamed_26

Hello, I am able to add one item into the basket. But, I was told that using Javascript I can add more items. Can you please help me? <?php require "connect.php"; $query = "SELECT `DVDID`, `NameOfTheDVD`, `Quantity`, `Price` FROM `DVD` "; $stmt = $dbhandle->prepare($query); $stmt->execute(); $num = $stmt->rowCount(); echo "<table …

Member Avatar for Mohamed_26
0
235
Member Avatar for Mohamed_26

I have been trying to move the table element.Can you please help me with it? I am doing the CSS in php. foreach ($_GET as $myid => $value) { echo '<div class="DVD ID">'; echo "<table border='3' position='absolute' left='750px' bottom='350px';>"; echo "<td> " . $value . "</td>"; echo '</div>'; } Thank …

Member Avatar for Alberto Bucur
0
132
Member Avatar for Mohamed_26

Hello, SO I am able to add one item but I would like to add more than 1 item. Can you guys help me with it? <?php require "connect.php"; $query = "SELECT `DVDID`, `NameOfTheDVD`, `Quantity`, `Price` FROM `DVD` "; $stmt = $dbhandle->prepare($query); $stmt->execute(); $num = $stmt->rowCount(); if($num>0){ while ($row = …

Member Avatar for Mohamed_26
0
148
Member Avatar for Mohamed_26

Hello, I am trying to the print the variables from the URL. I have tried some methods but it is working. There are variables in the URL. it is just I am not able to print them out. <?php if(isset($_SESSION['cart'])){ echo '<ol>'; foreach ($_GET as $name => $value) { echo …

Member Avatar for Mohamed_26
0
284
Member Avatar for Mohamed_26

Hello, So I managed to do the AddToCart function and stuff but I dont know how to display the cart this is the add to cart function <?php session_start(); // get the product id $DVDID = isset($_GET['DVDID']) ? $_GET['DVDID'] : ""; $name = isset($_GET['NameOfTheDVD']) ? $_GET['NameOfTheDVD'] : ""; /* * …

Member Avatar for jstfsklh211
0
509
Member Avatar for everton.retweets

have u tried this statement in MySQL itself `"SELECT CountryId FROM countries WHERE Country = '.$clcountry.' ";`

Member Avatar for everton.retweets
0
341
Member Avatar for Mohamed_26
Member Avatar for abhijit_2

I am a newbie myself, but maybe can I advice you to 1) fist make a connection to your database 2) You can use Update and delete quries. Are you using PhpMyAdmin?

Member Avatar for safeer008
0
97
Member Avatar for Mohamed_26

$_GET is empty and this is my code. I dont know what to do <?php session_start(); ?> <?php error_reporting(E_ALL); ini_set('display_errors', '1'); $hostname = "localhost"; $username = "xxxxx"; $password = "xxxxx"; $database = "db1104107"; //echo '24'; //connection to the database try { $dbhandle = new PDO("mysql:host={$hostname};database={$database}", $username, $password); } //to handle …

Member Avatar for ryantroop
0
274
Member Avatar for WebWebbington

If the functons are defined in another file, you may have to add require "the name of the file your functions are" I think that should work

Member Avatar for Mohamed_26
0
212
Member Avatar for Mohamed_26

I have been getting this error. I have no idea what it is. Any help provided would be awesome. `require "connect.php"; $query = "SELECT DVD ID, Name Of the DVD, Quantity FROM DVD"; $stmt = $dbhandle->prepare( $query ); $stmt->execute();` This is where I am getting my error. I researched about …

Member Avatar for Mohamed_26
0
267
Member Avatar for Mohamed_26

I want to add a new line and when I tried "/n", it did not work. `while($row_selecttemptable = mysql_fetch_array($result_selecttemptable)) echo $row_selecttemptable['ArtistName'] . ' ,' . $row_selecttemptable['NAMEOfTheDVD'];` I want to add a new line between ArtistName and Name of The DVD

Member Avatar for diafol
0
275
Member Avatar for Rahu; joahi
Member Avatar for Mohamed_26
0
277
Member Avatar for Mohamed_26

Hello Everyone, I have written code to create Temporary Table using PHP script. Now, when I run the script, it seems to have created the temporary table. Now, my problem is when I try to do INSERT statement in PhpMyAdmin into the temporary table I create, I am getting an …

Member Avatar for Mohamed_26
0
3K
Member Avatar for Mohamed_26

Hello Temporary table is not being deleted once the connection is closed. I am not sure if the code is used correctly. Because when I run the code it just says table not found. SO, i had to create a table manually and then it worked. Thank you <?php $hostname …

Member Avatar for Mohamed_26
0
179
Member Avatar for Mohamed_26

I am getting this error. This is my code Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /studhome/0/1104107/public_html/mysql_connect.php on line 33 I HAVE NO IDEA WHAT I AM MISSING!!!!!!!!!!! <?php $hostname = "localhost"; $username = "1104107"; $password = "r940c1"; $database = "db1104107"; //echo '24'; //connection to the …

Member Avatar for cereal
0
4K
Member Avatar for Mohamed_26

Hello Everyone, I have to create a temporary table for basket. I have to include certain fields from different table. Now I know the code to create a temporary table "CREATE TEMPORARY TABLE", is that right? But I dont know how to choose different fields from different table. Let me …

Member Avatar for Mohamed_26
0
308

The End.