Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
~2K People Reached
Favorite Forums

14 Posted Topics

Member Avatar for Mike516

I have a code that gives me a unix time ie)1277851200 How would i be able to convert that to x minutes x seconds and so on. (real time)

Member Avatar for tech.biztech
0
113
Member Avatar for bjeffries

index.php?page=contact [code=php] <?php if(isset($_GET['page']) && $_GET['page'] == 'contact'){ //code for contact } ?> [/code]

Member Avatar for bjeffries
0
148
Member Avatar for Mike516

Can anyone please give me an example of passing information FROM java to PHP and vise versa.

Member Avatar for jkon
0
152
Member Avatar for Mike516

How can I get a PHP variable passed on to a jquery one.. [code=php] <?php $temp = "yes"; ? [/code] How would I get "yes" in a Jquery variable?

0
53
Member Avatar for Mike516

I have a pagination script but currently it echos out all the page numbers which is well over 1000, Can anyone tell me how I would make it like 1 2 3 .... 1000.. Like vb has it.

Member Avatar for Mike516
0
134
Member Avatar for Mike516

Is there any way to search with a variable that is an array. ie) [code=php] mysql_query("Select * FROM table_name WHERE `id` = '$var'"); [/code] where $var is an array. Is this possible?

Member Avatar for Mike516
0
144
Member Avatar for Mike516

I have the last update time but i would like to compare it to the current time and subtract it and get an answer in seconds. Basically being able to see how long ago it was refreshed. [code=php] $refresh = filemtime("stats.php"); $update = date("m/j/y h:i", $refresh); echo "Last refreshed: ".$update. …

Member Avatar for vaultdweller123
0
62
Member Avatar for D4n1sD
Member Avatar for Mike516

The code should take the IDs and delete them from the tables but it isn't we are getting errors. Anyone see anything wrong? [code=php] <?php ############### # Prune.php # ############### //Variables $dbhost = "localhost"; //host name $dbuser = "root"; // username for db $dbname = "dbname"; // database name $dbpass …

Member Avatar for Mike516
0
106
Member Avatar for Mike516

After executing a query in javascript how do I store that information? In php i know we can use [code=php] $row = mysql_fetch_array ($result) [/code] thanks in advanced.

Member Avatar for Airshow
0
89
Member Avatar for Mike516

[code] //declare variables $thing = $_SESSION['username']; // get username from session $name = mysql_real_escape_string($_REQUEST['name']); $pwrd = mysql_real_escape_string($_RQUEST['pass']); //$mpwrd= md5($pwrd); $error = 0; $select = mysql_query("SELECT * FROM users WHERE username='$username'"); $numrows = mysql_num_rows($select); $check = mysql_query("SELECT * FROM users WHERE username='$name'"); $check2= mysql_num_rows($check); //if submitted if (isset($_POST['submit'])){ if(!$name){ $error ++; …

Member Avatar for kireol
0
94
Member Avatar for loll_l
Member Avatar for Mike516

I made a registration script my problem is getting the errors to post in the div area. here is a picture: [url]http://screencast.com/t/OTcwNWMxN2Qt[/url] [CODE] <head> <LINK href="css.css" rel="stylesheet" type="text/css"> <title>Registration</title> </head> <div class="roundcont"> <div class="roundtop"> <img src="/images/tl.gif" alt="" width="15" height="15" class="corner" style="display: none" /> <form action="<?php $_SERVER['PHP_SELF']; ?>" method="post"> <table class="table"> …

Member Avatar for amd_k8
0
72
Member Avatar for Mike516

I need some help with this small php search script, I have a small HTML form... [CODE] <form action="search.php" method="post"> <input type="text" name="search"><br> <input type="submit" value="Search"> </form>[/CODE] What they will do is enter a username and what I am trying to get is information based on that username displayed in …

Member Avatar for ayesha789
0
75

The End.