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
~17.9K People Reached
About Me

I am a second year comp. science student

Interests
Playing football and now practising languages such as PHP
Favorite Tags
Member Avatar for Mohamed_26
Member Avatar for Mohamed_26
0
185
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
153
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
262
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
237
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
872
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
685
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
316
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
355
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
624
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
240
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
80
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

Hi i am new in this site and want to know PHP properly.I also visited w3schools.com for this but it is not enouh for me .So if any one can help me to learn PHP.

Member Avatar for shaidur1982
0
144
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
223
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
131
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
145
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
280
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
494
Member Avatar for everton.retweets

Hi Everyone, I have the following script to search for and display the CountryId (code) of a given country name. $stmt = $conn->query('SELECT CountryId FROM countries WHERE Country = ".$clcountry." '); while($row = $stmt->fetch(PDO::FETCH_ASSOC)) { echo $row['CountryId']; //etc... } I have tried the above with '.$clcountry.' and with $clcountry - …

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

how to disply mysql table data on same form and also edit update and delete these data on that form in wordpress

Member Avatar for safeer008
0
96
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
259
Member Avatar for WebWebbington

Hi, Below is the code I am having difficulty making work: public function showLoginOut() { if (session==null) { return '<li><a href="login.php">Login</a></li>'; } else { return '<li><a href"logout.php">Logout</a></li>'; } } *^ Above is a PHP page, which holds functions I can use in a phtml document* <ul> <li><a href="index.php">Home</a></li> <?php function …

Member Avatar for Mohamed_26
0
206
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
265
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
273
Member Avatar for Rahu; joahi
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
170
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