-
Replied To a Post in McGill Robotics FTW!
Thanks for sharing. Wow, that is pretty cool :). -
Replied To a Post in Call to a member function prepare() on a non-object
Prepared statements with parameters work like this. **Methods used : prepare() and execute()** PDO is class. An instance of this class is called an object and the functions associated with … -
Replied To a Post in live chat working fine on localhost but in server send response very late.
I'm on my way out to lunch. I won't be back for 2 hours though. -
Replied To a Post in Programming our mind
I don't see programming as a way of manipulating computer system in order to gain controll over it. I think programming is our ability to create complex instructions to test … -
Replied To a Post in live chat working fine on localhost but in server send response very late.
I thought your form is suppose to be submitted through ajax. why is it submitting like a regular form? Is the chat script reading from a text file? If so, … -
Replied To a Post in Directly Connect Application to Server?
> By this do you mean I can use Java as my web server side as well as my application side? There is an open source called Apache Tomcat. Have … -
Gave Reputation to diafol in live chat working fine on localhost but in server send response very late.
Well unless you show us something, we've got very little to go on. Crystal ball gazing is a hobby of mine, but this is beyond my superpowers :) -
Gave Reputation to diafol in live chat working fine on localhost but in server send response very late.
Well unless you show us something, we've got very little to go on. Crystal ball gazing is a hobby of mine, but this is beyond my superpowers :) -
Replied To a Post in Automatically promote students in a School Management system
I am currently writing a similar applications where Professors and Students are stored in the same table. What separate between them is a column called membership. I defined 3 different … -
Replied To a Post in Which is best CMS platform for web development ?
I second magento. There are others OsCommerce, ZenCart, open cart, Agora cart just to name a few. **Here are some hints on the skill set requirements**. For Magento, you need … -
Replied To a Post in Directly Connect Application to Server?
You can use JAVA. Regardless which language you use, they all do some kind of refreshing. If not, how can the application post and recieve messages? PHP don't need to … -
Replied To a Post in Attendance time in button issue
You can easily calculate this through the unix timestamp. for example, to get today at 6AM and tomorrow at 6AM, you would do something like this. $today = strtotime('today 6am'); … -
Gave Reputation to diafol in live chat working fine on localhost but in server send response very late.
Well unless you show us something, we've got very little to go on. Crystal ball gazing is a hobby of mine, but this is beyond my superpowers :) -
Gave Reputation to pritaeas in live chat working fine on localhost but in server send response very late.
> define slow in actual timings. Show me some comparison timings between localhost and online. > where you have gone? I am here as I please, a volunteer, just as … -
Replied To a Post in Login And Looping Problems
This is a C++ right? If so, can somebody move this to the C++ thread please? -
Replied To a Post in This webpage has a redirect loop
May I see your admin controller? This should be the controller on redirect. This should be added on the controller accepting the redirect $this->session->set_userdata('already_been_here', TRUE); So that when the user … -
Replied To a Post in Calling Static Methods
That's pretty easy really. Let say we have class A and class B both with non-static and static methods. We want class B to use some of the class A's … -
Replied To a Post in Calling Static Methods
Pretty much there is not much difference except you cannot use Scope Resolution Operator :: for non-static methods AND static method does not need an instance of the object. This … -
Replied To a Post in Using more than 1 account for freelancing site in one computer?
as suggested, you can try using VM. There is one called Oracle VM Virtualbox Manager. You can have many different OS installations as you want. The Iternet connection can be … -
Replied To a Post in How to open HTML form in laravel
can you try, localhost/laravel/public to see if you can view the welcome page? for xampp, you need to change this filename: laravel/app/config/app.php look for this code 'url' => 'http://localhost/', change … -
Replied To a Post in Brand New From Houston
Houston, we don't have a problem. Welcome to DaniWeb. -
Replied To a Post in This webpage has a redirect loop
I noticed you have redirect('admin') when there is no session admin_id, the user get redirected to the admin controller. on redirect, the hook gets triggered for the second time redirect … -
Replied To a Post in How to open HTML form in laravel
can post your router codes for this page? It should be located in app/routes.php. Can post your controller for this page? How about the view file? MVC is easy to … -
Replied To a Post in How to open HTML form in laravel
did you try localhost/laravel/hello The hello should be defined as route. For example, if we have a controller as shown below. I did not test this, because I don't have … -
Replied To a Post in PHP/MYSQL remove row by id
@Cereal I don't understand why you get a down vote for it though. It must be a C++ pride or something. I will give you an up vote to reflect … -
Gave Reputation to cereal in PHP/MYSQL remove row by id
Hi, dont' use `+` to concatenate strings like in javascript, use dots: die ("Cannot delete data from the database! " . mysql_error()); -
Gave Reputation to cereal in PHP/MYSQL remove row by id
Hi, dont' use `+` to concatenate strings like in javascript, use dots: die ("Cannot delete data from the database! " . mysql_error()); -
Replied To a Post in Mysql cross tab report
is there any chance for you to use [JOIN](http://dev.mysql.com/doc/refman/5.7/en/join.html) ? Those triple loops are just mind boggling to me. -
Gave Reputation to DJBirdi in Separation of Business logic and Presentation logic for non OOP.
Well done veedeoo! Let's hope after reading this, people atleast realize how easy it is to implement PDO and stop using `mysql_*`. Everytime I see a question like "how do … -
Replied To a Post in Generate dynamic table
if you will be adding values for each column, then a second argument to the function must be added and make sure that the count of the values going underneath … -
Replied To a Post in Generate dynamic table
You can also try one like this. First create a function to generate the <th> items. The function can be as simple as this function create_th($col_header_name){ if(is_array($col_header_name)){ return array(true,$col_header_name); } … -
Replied To a Post in Hello
Hi Emily, welcome to daniweb. About your services, there is a place in Daniweb called [webmaster marketplace](http://www.daniweb.com/business-exchange/webmaster-marketplace/36). -
Replied To a Post in Separation of Business logic and Presentation logic for non OOP.
Just to let you know, I am planning to add a compile function to the Template class later. Although I am trying to not go very far from PHP doing … -
Replied To a Post in Hello from Georgia USA
Georgia, Georgia ♪_♪ . Welcome to Daniweb ☺. -
Replied To a Post in Proud to announce...
Hey, that's pretty cooool. :). -
Gave Reputation to iamthwee in Proud to announce...
Hi guys, It gives me great pleasure to announce that I will be collaborating with fellow Daniwebber Veedeo in creating a fully baked, no nonsense CMS in Codeigniter. I will … -
Edited Separation of Business logic and Presentation logic for non OOP.
This tutorial is intended for people who are looking for alternative to PHP template engines like smarty, twig, dwoo, TBS, and others. Not all developers are willing to take the … -
Edited Separation of Business logic and Presentation logic for non OOP.
This tutorial is intended for people who are looking for alternative to PHP template engines like smarty, twig, dwoo, TBS, and others. Not all developers are willing to take the … -
Created Separation of Business logic and Presentation logic for non OOP.
This tutorial is intended for people who are looking for alternative to PHP template engines like smarty, twig, dwoo, TBS, and others. Not all developers are willing to take the … -
Replied To a Post in Beginner of Website Developer
Hi and Welcome. -
Replied To a Post in Social Networking Site using ASP.NET MVC
Have you look at[ DNN](http://www.microsoft.com/web/gallery/dotnetnuke.aspx) (DotNetNuke) -
Replied To a Post in need help getting this login form to work right
for some reason, you keep on putting back all those codes that i told you to remove. change this <html> <body> <?php echo ($error ? $error : '' );?> <form … -
Replied To a Post in I have a file that shows a table twice but there is only one table
escaping those html tags must hurt your pinky finger :). Years back, there was a great argument on " single quotes vs. double quotes". so, this one is pretty valid … -
Replied To a Post in need help getting this login form to work right
you can create a new page and call it verified.php and put this code <?php session_start(); if($_SESSION['loggeg_in'] && (isset($_SESSION['username']))){ echo 'You are logged in as:'. $_SESSION['username']; } Your modified codes … -
Replied To a Post in need help getting this login form to work right
try running this <html> <body> <!-- End Page Content --> <?php $con = mysqli_connect("localhost", "root", "", "numbers") or die(mysqli_error($con)); if(isset($_POST['login'])) { //$myusername = $_GET['name']; //$mypassword = $_GET['password']; $myusername=mysqli_real_escape_string($con,$_POST['username']); $mypassword=mysqli_real_escape_string($con,$_POST['password']); //$sql="SELECT … -
Gave Reputation to <M/> in Please advice !
> Buy the one in the purple container I am guessing Daniweb sponsors that one... bud dum tiss (drum sound) -
Gave Reputation to Hiroshe in Please advice !
Toothpaste also has been shown to work sometimes. http://health.howstuffworks.com/skin-care/cleansing/myths/quick-tips-does-toothpaste-really-dry-out-your-acne-.htm -
Gave Reputation to Dani in Please advice !
> Thanks, I bought the rapid relief desitin 2 oz tube pack. No, not that one :( Sorry I wasn't more specific. Buy the one in the purple container that … -
Gave Reputation to <M/> in Please advice !
I don't know if this helps but I highly recommend for you to constantly wash yourself properly with soap and cold water. It helps prevent the growth of such things … -
Replied To a Post in set restriction on upload in php is not working.
if you var_dump or print_r this $_FILES['datafile']['type'] what do you get? Careful with the mime type as Diafol already brough up. A PHP file uploaded will give you "text/plain". By …
The End.