one.php
<?
include 'config.php';
$url = 'http://somedomain.com/myfeed.rss';
require_once("process.php");
?>
process.php
<?php
A bunch of functions that clean the rss feed up are here
mysql_query("INSERT IGNORE INTO feed
(url, title, description, date, city) VALUES('".$link."', '".$title."', '".$description."', '".$date."', '".$city."' ) ")
or die(mysql_error());
?>
So everything works except what I added, which is the $city variable.
My workaround is to create individual pages for process and call like this:
require_once("processMiami.php");
And then hard code miami in like below in processMiami.php
<?php
A bunch of functions that clean the rss feed up are here
mysql_query("INSERT IGNORE INTO feed
(url, title, description, date, city) VALUES('".$link."', '".$title."', '".$description."', '".$date."', 'miami' ) ")
or die(mysql_error());
?>
I can ultimately do it this way but wanting to learn how this would normally be done. Hopefully I've posted enough. I removed a ton from a very long script but I think this is the meat of what you were asking for.