Search found 13 matches
- Thu Oct 20, 2011 3:14 am
- Forum: PHP
- Topic: Admin Section Question
- Replies: 4
- Views: 910
Re: Admin Section Question
This is what I have so far. Would you mind taking a look? post.php <?php $e = mysql_error(); mysql_connect ("localhost", "root", "") or die ($e); mysql_select_db ("newsfeed") or die ($e); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN&qu...
- Wed Oct 19, 2011 3:57 pm
- Forum: PHP
- Topic: Admin Section Question
- Replies: 4
- Views: 910
Admin Section Question
I have an admin login system designed. Within the " protected " area where I would place a form for data insertion, I would like to place two or more forms for various areas within the web site. An example of what I mean is as follows: Admin Section... Form A Form B Form C About.php Data f...
- Sat Sep 10, 2011 3:55 pm
- Forum: Suggestions
- Topic: Google Maps API
- Replies: 0
- Views: 1175
Google Maps API
I would like to see a tutorial for Google maps using their API . I would like to list locations or addresses and when clicked, they open up either a pop up window or another page with the Google map. I realize I could just make links, but if the map information could be stored in a database then I c...
- Fri Aug 19, 2011 12:18 pm
- Forum: Tutorials
- Topic: RSS Reader
- Replies: 6
- Views: 1168
Re: RSS Reader
<?php foreach (fetch_news() as $article) { ?> <h3><a href="<?php echo $article['link'] ?>"><?php echo $article['title']; ?></a></h3> <img src="<?php echo $article['image']['url']; ?>" alt="" /> <p> <?php echo $article['description']; ?> </p> <?php } ?>
- Fri Aug 19, 2011 12:18 pm
- Forum: Tutorials
- Topic: RSS Reader
- Replies: 6
- Views: 1168
Re: RSS Reader
<?php // fetches articles from the BBC news RSS feed function fetch_news(){ $data = file_get_contents('http://feeds.bbci.co.uk/news/rss.xml'); $data = simplexml_load_string($data); $articles = array(); foreach($data->channel->item as $item){ $media = $item->children('http://search.yahoo.com/mrss/')...
- Thu Aug 18, 2011 11:10 pm
- Forum: Tutorials
- Topic: RSS Reader
- Replies: 6
- Views: 1168
RSS Reader
Jacek Thank you for the great tutorials. I want you to know I learn so much from you. I followed along with the RSS Reader tutorial today and somewhere during the second video things went wrong. Here is the message I'm receiving. Fatal error: Call to a member function attributes() on a non-object i...
- Fri Jul 22, 2011 12:25 pm
- Forum: SQL
- Topic: INSERT problem
- Replies: 4
- Views: 1417
Re: INSERT problem
Here are the functions <?php function add_event($title, $contents, $date, $time){ $title = mysql_real_escape_string ($title); $location = mysql_real_escape_string ($location); $date = mysql_real_escape_string ($date); $time = mysql_real_escape_string ($time); mysql_query("INSERT INTO `events` S...
- Fri Jul 22, 2011 11:40 am
- Forum: SQL
- Topic: INSERT problem
- Replies: 4
- Views: 1417
Re: INSERT problem
Interestingly enough, nothing. I receive no errors, nor is anything added to the DB.
BTW...I love your tutorials!
BTW...I love your tutorials!
- Fri Jul 22, 2011 1:22 am
- Forum: SQL
- Topic: INSERT problem
- Replies: 4
- Views: 1417
INSERT problem
Could someone take a look at this code and help pinpoint the issue? I can view the data but am unable to "add" or "edit" the data. -- phpMyAdmin SQL Dump -- version 3.2.4 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Jul 21, 2011 at 08:08 PM -- Server ver...
- Wed Jun 29, 2011 1:24 pm
- Forum: Suggestions
- Topic: Dropdown Menu selection
- Replies: 2
- Views: 999
Re: Dropdown Menu selection
Thanks!
- Tue Jun 28, 2011 8:32 pm
- Forum: Suggestions
- Topic: Dropdown Menu selection
- Replies: 2
- Views: 999
Dropdown Menu selection
Could someone help me with a tutorial that allows a drop-down menu when selected displays a row in a database?
- Sat Jun 18, 2011 4:15 pm
- Forum: Tutorials
- Topic: Problem with "Register and Login (User Account System)"
- Replies: 4
- Views: 1242
Re: Problem with "Register and Login (User Account System)"
kalipsso and jacek
Thank you both. It works like a charm!
Jon
Thank you both. It works like a charm!
Jon
- Fri Jun 17, 2011 10:12 pm
- Forum: Tutorials
- Topic: Problem with "Register and Login (User Account System)"
- Replies: 4
- Views: 1242
Problem with "Register and Login (User Account System)"
I recently went through the video tutorial for Register and Login (User Account System). Everything worked great up to the last of the tutorial when I began receiving this error. Parse error: syntax error, unexpected $end in C:\xampp\htdocs\BETTERPHP\login.php on line 71 Could someone please take a ...