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
~4K People Reached
Favorite Forums
Favorite Tags
Member Avatar for phphit

I have two tables (points, pointsmatch) Table 'points' have following fields id (int) seriesid (int) team (varchar) points (int) id seriesid team points 1 9 Chennai 4 2 9 Delhi 0 3 9 Kolkata 0 4 9 Mumbai 0 5 9 Bangalore 0 6 9 Mohali 0 7 9 Rajasthan …

Member Avatar for phphit
0
663
Member Avatar for phphit

I am really in mess as I am unable to solve problem with Smarty Multi Dimension array. Below is the way I want to execute Smarty. First of all I will list all customers. Than I want list of all items purchased by that customer. I have two tables inside …

Member Avatar for lps
0
510
Member Avatar for phphit

Basically my table structure are as below. [B]Teams Table[/B] id int(11) team_name varchar(100) [B]schedule Table[/B] id int(11) team1 varchar(100) team2 varchar(100) Now, Basically I want to random 10 team list from table teams (field team_name). What I want to do here is that want to count the no. of matches …

Member Avatar for vibhaJ
0
67
Member Avatar for phphit

What I want to achieve is getting below url through submission. [url]http://www.example.com/team1-vs-team2.html[/url] For that, I need two drop down list. Both for team (team1, team2) Both team1 and team2 are fetched from single field of table database. i.e. there is no difference between any drop down list. Now, once user …

Member Avatar for phphit
0
104
Member Avatar for phphit

For some reason, Javascript I am trying to execute with php is not working. Below is my code. [CODE] <script type="text/javascript"> function GetIst() { var d = new Date() var gmtHours = -d.getTimezoneOffset(); document.write(+ gmtHours); } </script> <?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); …

Member Avatar for vibhaJ
0
745
Member Avatar for phphit

Hello Everyone, I have table name schedule in my database. There is field sch_time in that. sch_time stores time in GMT. I also have timestmp field which stores data in unix format. The time stored in sch_time is of future date i.e. schedule of some event. This events are displayed …

Member Avatar for phphit
0
240
Member Avatar for phphit

I am using Smarty for Template Engine. For one page, I want to display list of months in chronological order. The current month is July, so order should be July August September .. . . .. June. Any idea ?

Member Avatar for metalix
0
1K
Member Avatar for phphit

I need to know what should I do to show event time (stored in mysql) according viewer's local time. I have stored time in two format (one simple 12:30; and another in timestamp format). The timings are of future and stored as GMT. Now, I would like to show time …

Member Avatar for metalix
0
116
Member Avatar for phphit

Below is code as of now in my .htaccess [CODE]RewriteRule ^series/([^/]*)-([^/]*)-schedule-fixtures\.php$ /viewseries.php?id=$1 [L] RewriteRule ^schedule/([^/]*)-([^/]*)\.php$ /viewschedule.php?id=$1 [L] RewriteRule ^venue/([^/]*)\.php$ /viewvenue.php?vcity=$1 [L] RewriteRule ^team/([^/]*)\.php$ /viewteam.php?team=$1 [L] RewriteRule ^month/([^/]*)\.php$ /viewmonth.php?month=$1 [L] [/CODE] Now, Problem is that it doesn't show redirect 301 to google or anyone other. Can you tell what should I …

Member Avatar for it200219
0
107
Member Avatar for phphit

Ok. I have ZERO PHP Knowledge, still good in editing php and all that stuff. Only know copy paste and have no knowledge what that means. Still would try to explain my problem. I use variable to fetch data from mysql. Ex. my url is [url]http://www.example.com/venue.php?vcity=New[/url] York. Now, I want …

Member Avatar for phphit
0
287