Search found 13 matches

by wistex
Thu Oct 20, 2011 3:14 am
Forum: PHP
Topic: Admin Section Question
Replies: 4
Views: 755

Re: Admin Section Question

This is what I have so far. Would you mind taking a look? post.php [syntax=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 Transit...
by wistex
Wed Oct 19, 2011 3:57 pm
Forum: PHP
Topic: Admin Section Question
Replies: 4
Views: 755

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...
by wistex
Sat Sep 10, 2011 3:55 pm
Forum: Suggestions
Topic: Google Maps API
Replies: 0
Views: 856

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...
by wistex
Fri Aug 19, 2011 12:18 pm
Forum: Tutorials
Topic: RSS Reader
Replies: 6
Views: 976

Re: RSS Reader

[syntax=php] <?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 } ?>[/syn...
by wistex
Fri Aug 19, 2011 12:18 pm
Forum: Tutorials
Topic: RSS Reader
Replies: 6
Views: 976

Re: RSS Reader

[syntax=php]<?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....
by wistex
Thu Aug 18, 2011 11:10 pm
Forum: Tutorials
Topic: RSS Reader
Replies: 6
Views: 976

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...
by wistex
Fri Jul 22, 2011 12:25 pm
Forum: SQL
Topic: INSERT problem
Replies: 4
Views: 1184

Re: INSERT problem

Here are the functions [syntax=php]<?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 INT...
by wistex
Fri Jul 22, 2011 11:40 am
Forum: SQL
Topic: INSERT problem
Replies: 4
Views: 1184

Re: INSERT problem

Interestingly enough, nothing. ;) I receive no errors, nor is anything added to the DB.

BTW...I love your tutorials!
by wistex
Fri Jul 22, 2011 1:22 am
Forum: SQL
Topic: INSERT problem
Replies: 4
Views: 1184

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. [syntax=sql] -- phpMyAdmin SQL Dump -- version 3.2.4 -- m -- -- Host: localhost -- Generation Time: Jul 21, 2011 at 08:08 PM -- Server version: 5.1.4...
by wistex
Wed Jun 29, 2011 1:24 pm
Forum: Suggestions
Topic: Dropdown Menu selection
Replies: 2
Views: 887

Re: Dropdown Menu selection

Thanks!
by wistex
Tue Jun 28, 2011 8:32 pm
Forum: Suggestions
Topic: Dropdown Menu selection
Replies: 2
Views: 887

Dropdown Menu selection

Could someone help me with a tutorial that allows a drop-down menu when selected displays a row in a database?

Image
by wistex
Sat Jun 18, 2011 4:15 pm
Forum: Tutorials
Topic: Problem with "Register and Login (User Account System)"
Replies: 4
Views: 1090

Re: Problem with "Register and Login (User Account System)"

kalipsso and jacek

Thank you both. It works like a charm!

Jon
by wistex
Fri Jun 17, 2011 10:12 pm
Forum: Tutorials
Topic: Problem with "Register and Login (User Account System)"
Replies: 4
Views: 1090

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. [syntax=php]Parse error: syntax error, unexpected $end in C:\xampp\htdocs\BETTERPHP\login.php on line 71[/syntax] Could s...