Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags
Member Avatar for azgold

as seen in the pic a table. I have the following im trying to fill the boxes based on rows. So line one will fill by the correct ordergoing left to right then down. here is my code. $results = mysqli_query($con, " SELECT * FROM PMAsset Order by Linenum, LineOrder") …

Member Avatar for john_111
0
272
Member Avatar for azgold

Having a issue with coldfusion. I just need a simple way to see if a date has passed and if so to update a field in a database. basically I have events showing on a page but want to remove the event automactically when it is over. Thanks for the …

Member Avatar for jardrake
0
122
Member Avatar for azgold

Ok here is the code. ` mysql_query("UPDATE `special` SET `Counter` = `Counter` - 1"); $Counter = mysql_query("SELECT Counter FROM special where Id = 1"); if($Counter == 0) { echo "<meta http-equiv=\"refresh\" content=\"0;URL=winner.php\">"; mysql_query("UPDATE `special` SET `Counter` = `Counter` + 500"); } else { echo "<meta http-equiv=\"refresh\" content=\"0;URL=index.php\">"; } ?> im …

Member Avatar for Zagga
0
166
Member Avatar for azgold

I am trying to write a email address to a file. the user enters there email addy and submits which brings them to the following code. however im unable to figureout what im doing wrong to write to the file. any ideas? $myfile = file("data/mylist.lst"); $fh = fopen("data/mylist.lst","w"); for ($index=0; …

Member Avatar for ryantroop
0
95
Member Avatar for azgold

Here is a tricky one that im having issues with... I have a page called events.php that has a include to query sql and pull events from the database after todays date and include the artist information from a include file. here is the code. The events page has a …

Member Avatar for pritaeas
0
205
Member Avatar for azgold

Im having a issue with comparing dates below is the code. it shows all rows even dates that have passed todays date. The Date field is set as date in sql. <?php $con = mysql_connect("localhost","myusername","mypassword"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("mydatabase", $con); $todays_date = date("Y-m-d"); …

Member Avatar for diafol
0
126
Member Avatar for azgold

I have a php file with the following code and i am trying to not display information after todays date. my incl_frontpageschedule.inc is listed below as well. im new to php and think i am close but confused at the moment any help would be great. <?php $today = date("F …

Member Avatar for jmichae3
0
86