Wade wrote: > 04212005 1734 GMT-6 > > I have a page with two divs side by side. The left div shows stats > called from the db, the right shows data with-in a form. > > When the first page loads, at the bottom of the right div I have two > functions called: currentApp($appid) and ViewedApps($appid). > > The currentApp marks what app is current. > > The ViewedApps keeps a list of all seen apps. > > This is the code for ViewedApps: > > function ViewedApps($appid) { > include ('db.php'); > > $sql = "SELECT appid FROM viewed WHERE appid = '".$appid."'"; > $result = mysql_query($sql); > $effect = mysql_affected_rows(); > > if ($effect == 0) { > $sql = "INSERT INTO viewed(appid) > VALUES('".$appid."'"; > $result = mysql_query($sql); > } > > > > return $ViewedApps; > } > > > My problem is, its not being called. So, Im questioning just how many > functions you can call at one time? Can you have multiple functions that > are passed the same data for different reasons? > > Do you see any particular conflicts that Im missing? > > Wade > > > [Non-text portions of this message have been removed] > > > > Community email addresses: > Post message: php-list@yahoogroups.com > Subscribe: [EMAIL PROTECTED] > Unsubscribe: [EMAIL PROTECTED] > List owner: [EMAIL PROTECTED] > > Shortcut URL to this page: > http://groups.yahoo.com/group/php-list > > > ------------------------------------------------------------------------ > *Yahoo! Groups Links* > > * To visit your group on the web, go to: > http://groups.yahoo.com/group/php-list/ > > * To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service <http://docs.yahoo.com/info/terms/>. > > >------------------------------------------------------------------------ > >No virus found in this incoming message. >Checked by AVG Anti-Virus. >Version: 7.0.308 / Virus Database: 266.10.2 - Release Date: 4/21/2005 > > [Non-text portions of this message have been removed] Community email addresses: Post message: php-list@yahoogroups.com Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/