- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Hi, I know most of the basics of html and css but I'm looking to learn more of the advanced areas. I find that most sites and books just cover the css techniques individually and do not really show the standards of how to create a high quality graphical responsive … |
|
Re:
i was planing to buy a lenovo laptop Processor Intel® Core™ i5-2410M Dual Core (2.3GHz) Screen 17.3" (Lenovo, LED Backlit, 1600 x 900 Resolution) Operating System Windows 7 Home Premium Edition 64-bit RAM 8GB (DDR3 1333MHZ) Hard Drive 750GB Optical Drive DVD Rewriter Graphics Dedicated (AMD Radeon HD 6650M with … |
|
Hi, I'm creating a website and currently working on the banner for it which is all contained within the 'logo' div that has a 900px width and 150px height. For some reason the 'menu' div is not being positioned within the 'logo' div despite being contained in it within the … |
|
Hi, I've just begun learning PHP and have purchased books etc and researched on websites different areas of the language however I've noticed that there is not much information available relating to the actual appearances of websites through PHP. I know the standard way is using HTML and CSS but … |
|
Re:
When did you start programming and what language did you start in? Here, I'll start: I started when I was around 15 but kinda stopped for awhile because it seemed too difficult. So around 17, I really got back into it and started learning more and more as I progressed. … |
|
Hi, I have a php file that contains the queries as strings. I have wrote the following query: SELECT message_no, sender, destination, time_received, type, reference_no, message FROM messages WHERE message LIKE '%:substring%'; :substring is then assigned a value from $substring. The query works when i run it directly in cmd … |
|
Hi, I'm creating a web app that downloads sms messages from an M2M server using a Soap Client. The problem I am getting is that the SoapClient is not being found when i do this: $m_obj_client = new SoapClient($m_wsdl); The error i receive is: Fatal error: Class 'SoapClient' not found … |
|
Re:
My site needs a way to know whether a user is an admin or not in multiple pages. So is it safe to store whether a user is an admin or not in session variable? Or is there a better alternative (Maybe another superglobal variable?), It will only hold a … |
|
Hi, As the title states, within my files require_once is not working as intended. I have a file where a user enters booking details and at the top it requires once the file to create the database and insert initial data into it. The problem is it seems to be … |
|
Hi, I've been reading into testing my PHP code particularly unit testing using PHPUnit. The problem I have is that most of my code is procedural with not even many functions. I have read that unit testing is more suitable for OO PHP however i have seen that many people … |
|
Re:
Dear All, I pull data from 2 different queries and both have date time data in them. So I need to present as one table but I want to order on time which is available in both queries. So how can I ensure that both data is order well on … |
|
Hi, I'm writing a report particlaurly about how some project management methods approach risk management. I have chosen to write about how PRINCE2 and PMBOK do this. I'm fine with writing about how they do it as i have researched them a lot however you also have to criticise their … |
|
Hi, I'm writing a paper regarding the privacy issues of social networks. I have found many papers to reference however I am trying to find more that are useful. Does anyone know any sites where I can download journals for free legally? Would be much appreciated. |
|
Re:
Hi, I am looking for the worlds most realistic open world racing game. My definition of realism is: 1: when youre going 200 miles an hour, and when you crash into a wall youre car is all smashed (need for speed has a huge problem with that). 2: Realistic driving … |
|
Re:
Hi all, Andy here and a newbie to this *great* site and first post so here it goes... Pretty new to PHP, been coding for about half a year now and loving it. To help get a better skill set and knowledge of the language I've decided to build a … |
|
Re:
Hello, all. I am doing a project, which supports users such as Administrators, teachers and students. Since I will not always be available when they are registering, I want a user to create for themselves an account. However, the challenge is that, I do not want a user to register … |
|
Hi, I have a query which retrieves the most recent end_date of a contract. It works when i enter it into a cmd window but not inside my actual script as when i do a var_dump it shows as NULL. I don't understand why it works in one but not … |
|
Re:
[CODE] <?php # Script 16.6 - register.php // This is the registration page for the site. require_once ('includes/config.inc.php'); $page_title = 'Register'; include ('includes/header.html'); if (isset($_POST['submitted'])) { // Handle the form. require_once (MYSQL); // Trim all the incoming data: $trimmed = array_map('trim', $_POST); // Assume invalid values: $fn = $ln = … |
|
Hi, The following code is working without errors: [CODE] <table> <tr> <td>Booking No.</td> <td>Driver Id</td> <td>Time Booked</td> <td>From</td> <td>Pick Up Time</td> <td>To</td> <td>No. of Passengers</td> <td>Distance</td> <td>Cost</td> </tr> <?php $stmt = $dbh->prepare("SELECT * FROM Booking WHERE cust_id = '$username' "); $stmt->execute(); while($row = $stmt->fetch(PDO::FETCH_ASSOC)){ echo "<tr><td>".$row['booking_no']."</td>". $row['driver_id']."</td>". $row['time_booked']."</td>". $row['pick_up_dest']."</td>". $row['pick_up_time']."</td>". … |
|
Re:
Hello everyone! I am having a problem. I receive an error below. Parse error: syntax error, unexpected ')', expecting '(' in /home/fundis/public_html/ww.incs/basics.php on line 27 Here is my 'basics.php'. [CODE] <?php session_start(); function __autoload($name) { require $name . '.php'; } function dbInit(){ if(isset($GLOBALS['db']))return $GLOBALS['db']; global $DBVARS; $db=new PDO('mysql:host='.$DBVARS['hostname'] .';dbname='.$DBVARS['db_name'], $DBVARS['username'], … |
|
Re:
Please i want to set sessions in my php file which includes a form but the session doesn't work.This is my code sample. I need help please! [CODE=php] <?php $conn=mysql_connect("localhost","root",""); mysql_select_db("my_db"); session_start(); if(isset($_SESSION['count'])) $_SESSION['count']=$_SESSION['count']+1; else $_SESSION['count']=1; if(!($_SESSION['count']=$_POST['reg'])) die("SESSION NOT SET SUCCESSFULLY!"); else echo "SESSION SUCCESSFUL!"; ?> <html><head></head><body> <form method="POST" action="<?php … |
|
Re:
Hi Im new to php programming as part of my academics, Im building an e-commerce website can you give me some tips on how to build robust site? |
|
Re:
I am currently using MySQL so people can send my a message that shall be stored in the database. The only issue is I have no idea how to protect against SQL Injection, below is my HTML: [CODE]<form action="Action.php" method="POST" /> <p>Name: <input type="text" name="Name" /> </p> <p>Comment: <input type="text" … |
|
Hi, I have three drop down boxes for a Date field; one each for days, month and year. I want it so that when a year and month are selected they can be checked and then i can use those variables to insert the options into the days drop down … |
|
Hi, I want to use javascript within my php file. The three drop down boxes involved are: [CODE] <select name="year" width="10"> <option value="<?php echo $curYear ?>"><?php echo $curYear ?></option> <option value="<?php echo $curYear++ ?>"><?php echo $curYear++ ?></option> </select> <select name="month" width="10"> <option value="01">01</option> <option value="02">02</option> <option value="03">03</option> <option value="04">04</option> <option … |
|
Hi, I chose Feature Driven Development (FDD) as the development methodology to use for the development of my final year project. As you probably know, each 'feature' (functional part of the system) has a plan, design and build stage. The problem i have found is that in examples of the … |
|
Re:
I happened to hear an interview yesterday that I thought would be of interest to some of the people here, especially apropos of privacy. The local NPR affiliate in New York had an segment with Scott Clelland, known as one of the foremost national authorities in the information and communications … |
|
Hi, I've already created registration and login scripts for my application, however i now want to include an option for registered users to reset their password if they have forgotten it and cannot log in. As currently, passwords stored in my database are encrypted, they cannot just be emailed to … |
|
Re:
Connecting cables to Flat screen TV is tedious job.Does anyone tell me how to do connection |
|
Interested in purchasing one but not entirely sure whether they are worth it? Opinions? |