I have the following php code, at the top I am pulling a piece of data from a query and I echo the results with no problem, I am using Ajax with this page as well and further down the page when I try to reference the same $radio it dosnt show anything.
Line 7 is where i get the current radio number assigned to the person that is loged in. and line 80 is where I try to use it again.
Thanks
[php]<?...
User Profile
Collapse
-
Using variables from the global scope inside a function.
-
this is the error I get
Code:Warning: odbc_exec() [function.odbc-exec]: SQL error: [Extended Systems][Advantage SQL][ASA] Error 7200: AQE Error: State = HY000; NativeError = 5004; [Extended Systems][Advantage SQL][ASA] Error 5004: Either ACE could not find the specified file, or you do not have sufficient rights to access the file., SQL state HY000 in SQLExecDirect in D:\web\socad\ctest.php on line 8 Error in SQL
-
I understand that.. but the link to this index file is on a static page elsewhere, once click it will bring you to this page.. that is whay I am referring to..Leave a comment:
-
PHP and Advantage Database Server
I have a server that has advantage database server installed on it. Date is stored in this database that I would like to access via PHP. I an fairly new to PHP but kinda now my way around. I have googled this and found few examples. I do have the Advantage ODBC connection setup but I am unable to connect to the database for some reason. This is the current code that I have.
Now before you mention it there is no username or password... -
well I am not worried about the page refreshing, but maily for peopel who chose that link it will pull the correct files after the posted time..Leave a comment:
-
i did have that and i had it set for 21 which is 9p, but it never switched..Leave a comment:
-
Load Set of Files Between Hrs
I have a set of file that I would like to use between the hours of 7am - 9pm, and then another set from 9pm - 7am. Am I on the right track with this code?
Thanks for any help....
[php]
<?php
$h = date('h');
if ($h < 09)
{
$link1 = 'caddisplay1.ph p';
$link2 = 'units1.php';
$link3 = 'emsa1.php';
}
else
{
$link1 = 'caddisplay.php ';... -
No i didnt see any subcode just portions of the actual code that is used to display the main page.. some of that was referenced.Leave a comment:
-
Sorry for the delay in responding.. I went to books a million and got a book :)
I have solved the issue, thanks for the imput though.Leave a comment:
-
Server 500 error
I have the following code and at times, it seems at randome I get the SERVER 500 error.. any ideas? or may code tweaks?
Thanks
[php]
<?
include('../application.php ');
include('../includes/xajax/xajax.inc.php') ;
set_time_limit( 0);
$xajax = new xajax();
$xajax -> regf('updata');
$xajax -> processRequest( );
$ajax = $xajax -> getJavascript(" ",... -
Session
I dont think I am doing this correctly. Sorry I am a newby..
I can get it to login and display the username, but if you leave the page and come back to it.. it wont show the username again of the person who just loged in. I dont think the cookie is being set correctly.
Here is the code that I am using...
[php]
if ($mode == 'login')
{
post('un,up'); ... -
A Iittle code help with test for existing variables
I am trying to only show the charges if they are in the database..
I am querying a table for the subject information and also show the charges associated with each subject.
What I am trying to do with the code is to only show charges if they exist. I know I can do it with just showing the $charge1 fields but this is how I am attempting to do it.
Here is the page:
[html]
http://www.tnrcso.org/wanted.php... -
multiple Insert 'at same time'
When inserting data, can you insert parts of the form data into two different tables at the same time? -
-
Well just simply doing a query of a table that has city, state and zip.. and getting all records and displaying that data on the google map....Leave a comment:
-
Updating a single field..
I have a small app that allows users to send messages back and forth to each other. I have a place that shows there messages and they can click on a message to read. I have a field in the table called "isread" this defaults to 0 when someone enters a new field and its directed to another user. This is a way that I can show the new message is new and unread.
What I would like to do is when a user clicks on one of his/her... -
MySql Address to Google Map
I am wondering if there is a way to display data from a table to a google map?
just plot the City, state and zip onto a map?
Thanks -
Issue with posting data to mysql table
I have this php code that I can get most of the data to post, but I am having a little bit of trouble..
I am passing the actualy student number to the page i.e. ?&id=1 this is used to pull the information from another table.
When I submit this data, it will post the time, date and the sender id... but nothing else is posted.
Here is the code.
[php]
<?
include('db.php ');... -
-
Ok, just so I understand.. were would I place those quotes?...Leave a comment:
No activity results to display
Show More
Leave a comment: