- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
I am a second year comp. science student
- Interests
- Playing football and now practising languages such as PHP
Hi, Can you guys reccomend me some good oracle sql journals? Thanks |
|
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++; } } … |
|
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 … |
|
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 |
|
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 … |
|
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 … |
|
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 … |
|
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 = … |
|
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 = … |
|
Hello I am looking to use transistions from one page to another. How do I go about doing it? Thanksss |
|
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 … |
|
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 … |
|
Re:
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. |
|
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 … |
|
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 … |
|
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 = … |
|
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 … |
|
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'] : ""; /* * … |
|
Re:
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 - … |
|
Does anyone know how to move around the tables using PHP. |
|
Re:
how to disply mysql table data on same form and also edit update and delete these data on that form in wordpress |
|
$_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 … |
|
Re:
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 … |
|
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 … |
|
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 |
|
Re:
i want to know about php.net language? |
|
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 … |
|
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 … |
|
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 … |