No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
13 Posted Topics
This is not working: class Post extends CI_Model{ function get_posts($num=20, $start=0){ //$sql="SELECT * FROM users WHERE active=1 ORDER BY date_added DESC LIMIT 0,20;"; $this->db->select()->from('posts')->where('active',1)->order_by('date_added','desc')->limit($num, $start); $query=$this->db->get(); return $query->result_array(); } } and giving me a: `[20-Jun-2013 17:42:21] PHP Fatal error: Call to a member function select() on a non-object in public_html/codeigniter/application/models/post.php … | |
Is there a reason why this won't take aciton or submit. I don't get any movement on the browser. Neither of the forms move. <div data-role="content"> <?php echo "<table width=\"500\" border=\"1\" cellpadding=\"4\">"; while($row = mysql_fetch_array($showEmployees)) { echo " <div data-role=\"collapsible\" data-mini=\"true\" data-content-theme=\"c\"> <h3>{$row['employee']} {$row['phone']}</h3> <p> <form action='admin.php' method='post' accept-charset='UTF-8' id='editemployee' > … | |
Re: Any more basic tips? I find [SEOmoz.com](http://www.seomoz.org/beginners-guide-to-seo) has a great section for beginners. | |
Grabbing this "loadcssfile" from http://www.javascriptkit.com/javatutors/loadjavascriptcss.shtml and added the check device. This is the best I have and I may just be entirly confused! I want to change the CSS file depending on the device before the rest of the page loads. function checkDevice(){ if(window.isiPad){ // do nothing } else { … | |
Re: w3schools.com is great and free. Lynda.com is great and comes with videos. That is free for 7 days. | |
How can you use the "contenteditable" attribute to edit your site or lists but not have the general public do the same. Maybe just in a admin panel view? and Is this just easier for the developer to change content on the fly? I just don't see how it can … | |
How can I get this check box to work? the id='item' will always be the same per item no matter which I check. It always grabs the last one checked. query [CODE] $result10 = mysql_query("SELECT * FROM todo WHERE complete='0' AND day='$today' ORDER BY whenby ASC LIMIT 3"); [/CODE] [CODE] … ![]() | |
Just learn PHP and wrote a very simple "app" and now wanting to take it offline. Is JavaScript how we access and create databases on a local level if HTML5 now? Trying to connect all the dots. ![]() | |
Trying to make a short to do list. show item to do-->click who you are $who and $item sends to top to show that item no longer there, but the rest are [CODE] <? echo "Here is the list of things that need to be done!"; echo "<form>"; while($row3 = … ![]() | |
So I learn and write php. Very messy I am sure. I find that MySQL is deprecated and no longer the latest and greatest. I want to take my app offline. Ok, but how can I do that if the remote server is not a option? How do I store … ![]() | |
Created app to run checklists for employees and rewards for customers. I am wondering if possible to mount the device for anti-theft reasons. The "iPod Touch Anti-Theft Mount" would be nice. For a retail solution. Looking for something pretty and semi-permanent. I want to be able to remove the device … | |
Since this is only one customer, how can I carry this $total from the submit button to the next page for INSERT into database punches page [CODE] <p>Is this the correct total of punches?</P> <form action="run_punches.php" method="post" > <?php $small = $_REQUEST['smallamount']; $medium = $_REQUEST['mediumamount']; $large = $_REQUEST['largeamount']; $total = … | |
I have a friend with a dinner and he wants to take his iphone and add up how many drinks are being had by each specific person at the bar and store them with date stamps while adding how many drinks they have had total in the life of their … ![]() |
The End.