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

29 Posted Topics

Member Avatar for PomonaGrange

Hello all, I am looking for a bit of code to make an input field into a calculator. The main difference from most scripts is I want it with no buttons. I am hoping to use the number pad on the keyboard. So, for example, I would like an input …

Member Avatar for niranga
0
338
Member Avatar for PomonaGrange

Hi all, I want to sort some sql results by a certain list. I don't want it sorted alphabetically or anything. I want to specify a certain list. eg "order by `office` = 'president', 'vise President', secretery'" ect. Is there anyway to do this? I didn't type this example exactly …

Member Avatar for theb3s7
0
143
Member Avatar for PomonaGrange

Hey All, I am trying to write a php script and would like to have an autosuggest text box with data from a mysql database. This would be for designating a town in a form. The sql query I would use would be. $sql = "SELECT DISTINCT `Town` FROM '".$Table_Name."' …

Member Avatar for noufal68
0
120
Member Avatar for PomonaGrange

Hi All, I am trying to program a web based cash register/POS application. I would like to use a function to format the number in the "Amount Received" text box. The idea I have in mind is to always keep two decimal places at all times. For Example: if someone …

Member Avatar for fxm
0
3K
Member Avatar for PomonaGrange

Hi There, I have a page containing the following code [code=html] <frameset rows="75,*"> <frame src="menu.php" scrolling="no" marginwidth="0" marginheight="0" /> <frame src="home.php" id="main" /> <noframes><body>Your browser does not support frames. You can view the <a href="/home.php">Home Page</a>.</body> </noframes> </frameset> [/code] NOTE: there is nothing else on the page except for <head> …

Member Avatar for almostbob
0
92
Member Avatar for PomonaGrange

Hi There folks. I was thinking of trying to make a php function in my sites configuration file so that I could keep all mysql database info in one central file. I should mention that this is the first time I have tried to make my own function. I have …

Member Avatar for PomonaGrange
0
151
Member Avatar for Aamit

in your example, You have already converted your date to a timestamp and have the event length in seconds, so just add the seconds to the timestamp. Here, Try This... [code=PHP] $timestamp = strtotime("$time"); $etime = $timestamp+$event_length; $next_time = date('Y:m:d H:i:s', $etime); //here date get's today's date [/code] Hope It …

Member Avatar for PomonaGrange
0
99
Member Avatar for PomonaGrange

hey folks, I have a question. I have several mysql tables and I'd like to fetch data from a few of them to create a <select> <option> list. How could this be done. I can get the info from one table, but don't know how to get the data from …

Member Avatar for PomonaGrange
0
304
Member Avatar for samtwilliams

Maybe try this... Its What I've used. [icode]$num = mysql_num_rows($result);[/icode] it might help.

Member Avatar for sikka_varun
0
186
Member Avatar for PomonaGrange

Hi all. I am having a little trouble trying to get a small script to work. What I am trying to do is create a page to use with DADA mail mailing list software. I would like this page to search through the DADA mail text file of email address …

Member Avatar for PomonaGrange
0
152
Member Avatar for rouse

[QUOTE] [icode]$qProfile = "SELECT * FROM signers WHERE recordNum='$id' "; [/icode] [/QUOTE] I think it would work to use something like this... [icode]$qProfile = "SELECT * FROM signers WHERE recordNum='".$id."' "; [/icode] Hope This Helps.

Member Avatar for Aamit
0
156
Member Avatar for almualim

Hello There, I had found this script of the web, though I don't remember where now, anyway here's what I use. [code] <? define('SERVER', 'localhost'); //Your server host define('USRNAME', 'root'); //Your DB user name define('PASS', 'Your Pass'); //Your db Password define('DBNAME', 'db_name'); //You db name $ccyymmdd = date("Ymd"); $file = …

Member Avatar for PomonaGrange
0
161
Member Avatar for macokovac

What type of reflink are you meaning? I guess I don't quite understand what you mean. Do you wan't a link like this: [url]http://YourDomain.com/?ref=yourusername[/url] if so you could simply add the following to you code above [code]<tr><td colspan="2"><a href=\"<? echo SITE_URL."index.php?ref=".$row["username"]; ?>\"><img src="http://i35.tinypic.com/349ciza.jpg" border="0" alt="" /></a></td></tr>[/code] I don't know if …

Member Avatar for macokovac
0
176
Member Avatar for stealthmode

There is a tutorial that I would recommend. It can be found at [URL="http://www.jdtmmsm.com/tutorials/basicAuthentication.php"]http://www.jdtmmsm.com/tutorials/basicAuthentication.php[/URL] Hoe This Helps

Member Avatar for PomonaGrange
0
136
Member Avatar for mr-cracker

[QUOTE=mr-cracker;741432]Hi there, ok writing on database is very easy, but i don't know the following:-- 1- When storing the links in the database, i want to get new link like this, domain.com/?link=89 where 89 represent row number where the link is stored?? 2- when surfing the link, how can i …

Member Avatar for PomonaGrange
0
159
Member Avatar for sayaan

There are a lot of ways that you could do this. One way would be to use sessions to store some info. You can use a form like this one... [code]<form id="theme" action="" method="post"> <p> <select name="Color"> <option>please select a Color ...</option> <option value="green">Green</option> <option value="blue">Blue</option> <option value="orange">Orange</option> <option value="purple">Purple</option> …

Member Avatar for PomonaGrange
0
117
Member Avatar for paddy_c

[QUOTE=paddy_c;743778]ok heres the code.. [code=php]if ($info!="rwxrwxrwx") return false; else return true; }//verify_folder_permissions function clean_folder($folder,$total){[/code][/QUOTE] I Think this code is missing some brackets {}. Try This [code=php]if ($info!="rwxrwxrwx"){ return false; }else{ return true; }//verify_folder_permissions function clean_folder($folder,$total){[/code]

Member Avatar for PomonaGrange
0
130
Member Avatar for hassanzubair786

A script that I found to get me started with my sites can be found at [URL="http://www.jdtmmsm.com/tutorials/basicAuthentication.php"]http://www.jdtmmsm.com/tutorials/basicAuthentication.php[/URL] I did do several changes to my sites to make them a little more secure than this script offers, but it was a great start.

Member Avatar for sayaan
0
83
Member Avatar for snowsurfer32

If I may offer a suggestion. I use a email script on my site that I would highly recommend. It is capable of a wide range of functions. You can find it at [URL="http://jamesshuggins.com/h/hefs/huggins-email-form-script.htm"]http://jamesshuggins.com/h/hefs/huggins-email-form-script.htm[/URL] Again, This is my suggestion, there is others out there.

Member Avatar for PomonaGrange
0
112
Member Avatar for PomonaGrange

Hi Folks I am trying to make a php form processing script. The form would have a large text area in it where the visitors could type a few paragraphs of text. I want this script to break the text from the form after 75 characters or if that is …

Member Avatar for PomonaGrange
0
210
Member Avatar for PomonaGrange

Hi, I was wondering, if it is possoble (or how to) include a php file with a get form value passed. For Example: states.php?state=NY. This file would be incuded into another php file so that it would display only the items that would be in NY state. Anyone know how …

Member Avatar for PomonaGrange
0
135
Member Avatar for PomonaGrange

HI All, I've been trying to make a membership management type script. This script would have a database with the members contact info and which office they hold, if any. The problem I am having is I would like the script to show the president's and vice president's Contact info …

Member Avatar for langsor
0
164
Member Avatar for Q8iEnG

I don't know if this will help, but I noticed that your include may not be correct. Try this <?php include("./renders/gallery.php"); ?> or <?php include("gallery.php"); ?> I think you include would be trying to include (if your file is at [url]www.yoursite.com/renders/index.php[/url]) [url]www.yoursite.com/renders/renders/gallery.php[/url]. I could be wrong but that is what …

Member Avatar for MVied
0
170
Member Avatar for PomonaGrange

Hey All, I am trying to write a php script and would like to have an autosuggest text box with data from a mysql database. This would be for designating a town in a form. The sql query I would use would be. [CODE]<?php $connection = @mysql_connect($server,$dbusername,$dbpassword) or die(mysql_error()); $db …

Member Avatar for PomonaGrange
0
186
Member Avatar for PomonaGrange

Hi All, I have been trying to create a php page that will upload a image, create a thumbnai and process a sql query, all automatically. I have attached the two files. The form page (show-addrecord2.php) and the processing page (do_addrecord2.php). The sql statement works fine. I am just having …

Member Avatar for somedude3488
0
108
Member Avatar for Cobber

HI, I don't know if this will help but I have a simlar php page in my project and I get a defaul image with the if statement like this: [code]if(!empty($pict_url))[/code] Try changing you if statement from [code]if ($pict_url != "")[/code] to the above if statement. It it doesn't wor4k …

Member Avatar for PomonaGrange
0
157
Member Avatar for araneum

I don't know if you are still looking but there is a good recipe script [URL="http://www.jdtmmsm.com/projects/project/ezrecipezee/"]HERE[/URL]

Member Avatar for PomonaGrange
0
71
Member Avatar for atplerry

HI. I don't know if this will help you but here is how I have inserted similar info to a database: [CODE]mysql_query("INSERT INTO 'forum'.'reg_info' (Username, Password, Comfirm_pass, Name, Comment) VALUES ('$_POST[Username]', '$_POST[Password]', '$_POST[Confirm_pass]', '$_POST[Name]', '$_POST[Comment]')")[/CODE] Otherwise I think you would have to specify what the definitions are. EG. [CODE]$Username = …

Member Avatar for PomonaGrange
0
98
Member Avatar for PomonaGrange

Hi, I have been trying to create a searchable database and have the following code for my form and the action code. When the form is changed/submitted ll I get is an error "Query was empty" Can anyone offer any help?? [code]SEARCH By Last Name (Letter)<form NAME="navsel" action="sel_byLetter.php" method="get"> <select …

Member Avatar for PomonaGrange
0
271

The End.