39,320 Topics

Member Avatar for
Member Avatar for wisnuwiguna

hi... i'm new from indonesia....sorry if my english conf. not good enough. please help me how to make a calender with agenda view...please give me a logic and sample script. thanx :-|

Member Avatar for PoA
0
74
Member Avatar for Avalon

I have a new php in my site and there is a banner put on the top page that I would like to customize. How would I change this? There doesn't appear to be an option in the admistrative section, but I looked at the code and I can't find …

Member Avatar for PoA
0
186
Member Avatar for patti

Hi. I have spent almost a month learning and coding php forms. The code seems to work fine in testmode, but not in live mode! So I have 3 problems. Problem 1: the user has to submit twice to get the form to post. I view page source and action …

Member Avatar for patti
0
138
Member Avatar for ashneet

I made this function and the problem i have is that the Variavle $Time is not available to the whole program and what i mean by that is the function runs but doesn't set the variable to the whole thing and i have tested the function by doing echos. Is …

Member Avatar for sarahk
0
223
Member Avatar for TonyStarkz

Hey Everyone, I've been working on a PHP craps game, and I'm not sure why my code isn't working. Everything seems logical to me, but I can't get my inner loop to work. [b]The game of craps:[/b] 1) Roll a pair of die and add their some 2)IF on the …

Member Avatar for Lafinboy
0
334
Member Avatar for venetian_jigsaw

I am unable to get my pop-up to resize or hide the toolbar when I select a thumbnail. I entered the width & height in my onclick event, bu that did not seem to work. I am guessing that I probably need to enter the attributes in the function and …

Member Avatar for Lafinboy
0
574
Member Avatar for iketunde
Member Avatar for michael123

In php, is there a function like "wait()", the program executes to certain line and wait a moment(like 1 second) then proceed to next line? thanks.

Member Avatar for srikanth1243
0
76
Member Avatar for leprakhauns

Is there anyway to put PHP commands in a TPL file? When I read the source code for my page it is all put together, but I can't make it run the PHP code in the tpl file.

Member Avatar for PoA
0
94
Member Avatar for Xtothel

hi, i have a file that look something lk this: $name[0] = "blah"; $address[0]="blah"; $country[0] = "blah"; $name[1] = "blah"; $address[1]="blah"; $country[1] = "blah"; $name[2] = "blah"; $address[2]="blah"; $country[2] = "blah"; ....and so on, i want to sort the $name array in alphabetical order...but i don want to mess up …

Member Avatar for pulse
0
152
Member Avatar for ashneet

I made this code so that it can tell the program to get Morning (AM) or evening (PM) INFO [PHP] function Tms() { $time = time(); $time1 = mktime(12,00,00); if ($time > $time1) { $Time = 'AM'; } else { $Time = 'PM'; } echo $Time; echo "<br>"; echo $time; …

Member Avatar for ashneet
0
190
Member Avatar for opsryushi

Hi Everyone, I'm gonna try to make this as easy as possible to answer, but I've got some questions about this... I want to put a feature on my website where visitors can comment on an article or feature through a form by leaving their Name and then their Comments. …

Member Avatar for opsryushi
0
110
Member Avatar for ShadowBC

Hey people, hoping to find some answers here to a problem I'm stuck with. :sad: I have recently installed Windows server 2003 onto a machine and are trying to get a phpbb forum set up. I installed apache and the webserver is all working perfectly without any issues. THIS IS …

Member Avatar for Lightninghawk
0
61
Member Avatar for namit

I am using the mail function in php mail() but its keeps sending all the bounch backs to [email]nobody@purple.webhostingireland.ie[/email] and i want it to be [email]mail@somdomail.ie[/email] Any chance of changing this.

Member Avatar for namit
0
118
Member Avatar for namit

How do i use this str_replace with this [email]bla@bla.com[/email] [email]blac@bla.com[/email] [email]namit@namit.com[/email] and so on so i have setup $email = str_replace(" ", ", ", $mail_list); but it will only talk details if i do this [email]blac@bla.com[/email] [email]bla@bla.com[/email] It does not seam to find and replace return

Member Avatar for zippee
0
213
Member Avatar for heavychevy

Ok so I execute a query and am now holding a complete recordset. ($rs_cust) Now when i check if results are returned and whether I am able to loop through this: i.e. While ($row=odbc_Fetch_array($rs_cust)) {Do something} Now I'd like to have it do something else if there are no results …

Member Avatar for heavychevy
0
125
Member Avatar for hbmarar

hi, I have started programming (learning) to free myself from depencies.I do not know how to do the below. [COLOR=Navy]i made a form that has a input box for emai and two passord inputboxexs.on submit i have to pass the same email inputbox value as the hidden value for username.In …

Member Avatar for digital-ether
0
182
Member Avatar for hbmarar

hi really this issue is troubling: I exported the database structure using the phpmyadmin as harry.sql from my local system.now I went to company server/cpanel /mysql database.created a user with username and password. I would like to import this file and I tried the same way that I used to …

Member Avatar for hbmarar
0
233
Member Avatar for hbmarar

hi to all, Happy Dipawali wishes. I would like to show a form that asks for only email address and passswrd and on submission it assign to a hidden field for username as the email address submitted. Is this possible? i do not have any clue, hoping that if i …

Member Avatar for leelee
0
101
Member Avatar for textex

Hi all, I just start with my new forum use vbulletin, and I some help for coding / enlightment ... Usually we hide our links/codes/downloads using post counting from members ( ex: you must have 5 posting before can see our code etc). Now we want people to click the …

Member Avatar for Dani
0
299
Member Avatar for Xtothel

hi, i want to give a value to a variable when the surfer clicks on a link, i am not sure how to do that in php, also, i would like to pass on the value of that variable to a different page. can someone help me with the coding? …

Member Avatar for Xtothel
1
145
Member Avatar for tmatheson

Hi does anyone out there know of a good PHP script for doing screen scrapes. Ive heard of people using scripts like that to check a book on amazon with a script and a chron job service. Would appreciate any help or info anyone might have. [URL=http://www.webdesigninwisconsin.com]Chicago Web Design Company[/URL]

Member Avatar for tgreer
0
271
Member Avatar for michael123

I try to resize jpeg from photo size to thumbnails, however the thumbnails quality is bad, it looks fade and blur, I have no idea how to improve the quality of thumbnails. PHP resize function: ----- $first=imagecreatefromjpeg($uploadfile) $second=imagecreate($new_width, $new_height); imagecopyresized($second,$first,0,0,0,0,$new_width,$new_height,$width,$height); imagejpeg($second,$v_thumbnailfile); ----- Thanks for any response.

Member Avatar for RamiroS
0
138
Member Avatar for ashneet

I am using somone's code as example because i dont really understand it. This is a small part of the code which i am using as example. Here is the code: [PHP] class MySQLDB { var $connection; //The MySQL database connection var $num_active_users; //Number of active users viewing site var …

Member Avatar for Daishi
0
132
Member Avatar for ashneet

Hello Can someone explain this code to me as i am a total newb when it come to classes. [PHP] class MySQLDB { var $connection; //The MySQL database connection var $num_active_users; //Number of active users viewing site var $num_active_guests; //Number of active guests viewing site var $num_members; //Number of signed-up …

Member Avatar for ashneet
0
79
Member Avatar for NilovSerge

Help, please. I need edit programmatically(php) HTML-page so that, for example all table's definitions change on my own definitions of tables source: <table ... many props... > ... </table> destination : <table ... my props... > ... </table> And also I nees in result HTML leave some properties of the …

0
84
Member Avatar for Tina66

I just started learning php and would like to know how to create valid words using the letters "q w e r t y u i o p", which is the top row of the keyboard. I believe I need to use preg_match, yet not sure how to. Could some …

Member Avatar for srikanth1243
0
55
Member Avatar for ashneet

First of all i am new to PHP Session. THE PROBLEM: I do session_start(); command at the begening of every page so that php uses session but what i also what it to do is that if that person closes the browser and returns back to same website it should …

Member Avatar for ashneet
0
171
Member Avatar for ashwinperti

Sir I am currently using wamp5_1.4.4 1) Apache 1.3.33 2) MySql 4.1.10a And I want to update with the latest version. I could I made the modifications. PLease do help me. Ashwin Perti

Member Avatar for ashwinperti
0
169
Member Avatar for melvin

This routine works and formats the date exactly how I want it but I dont want current time. Instead I would like to format the time from a mysql database. I have tryed this [php]strtotime($row_Recordset1['when']);[/php] but it dont work. How do i get my database field in the array and …

Member Avatar for sarahk
0
98

The End.