155 Posted Topics
This may be a no brainer, I'm not sure, but just wondering if it is causing problems. Is it acceptable to use both GET and POST for transferring data in the same script? Here is what I have, and I seem to be getting eratic results, so trying to pinpoint … | |
Good Morning All, This is a question I touched on previously, but don't think I presented what I really need to do. I need to get this accomplished ASAP, and really have no clue how to go about it. Would even be willing to pay someone else if they have … | |
Good Morning All, Hopefully someone can give me a clue as to how to accomplish something... The situation is this: The owner of a website I designed is traveling doing event presentations. She is enlisting the help from current members in each city to help enroll New members through a … ![]() | |
I have a comparison of 2 variables in a script, and am not getting the desired results, and wondered what the simplest comparison would be to obtain those results... $username='TestName'; $user='testname'; if ($username==$user){ print "This is the result I want." ; }else{ print "This isn't the result I want." ; … | |
Hi, I'm at a conference that is using a form in a website that I developed, and for some reason the form is not accepting the value of the checkbox when it is selected. It used to work fine, and apparently I did something within the past few days that … | |
Could someone tell me how to extract the right most single digit from a number without knowing the length of the number? 123 I need the 3 386485 I need the 5 etc... Seems it should be simple, but been searching for over an hour and can't find the resolution... … | |
Good Morning... I was just wondering if it is possible to do a query based on the status of a record, and if one is found with the status of 'E'arned, then to return the relevant fields from that record while at the same time changing the status to 'P'laced... … ![]() | |
Hi, I have a question that on the surface is probably pretty simple, but with a couple of caveats... What I have is a membership site, where the members have a replicated website, and their personal link is the domain.com/username I use htaccess MOD ReWrite to capture the members username … | |
Hi, I have a query that I would like to be able to decide what fields to select based on the value of the fields in the database... Here is the query I have SELECT mem_id, company, fname, lname, addr1, addr2, city, state, zip, country FROM dc_order WHERE STATUS='W' What … | |
I have a question that will probably be easy for someone to answer. I have a form with about 20 fields +- to be entered... When submitted, I check for the validity and existance of a few of the fields that are important, but not all of them What I … | |
OK, this is probably a variation on a previous question but the original question was never resolved, so I will present it on it's own to avoid confusion. I have a member data table called 'members' Primary key is 'mem_id' I have 7 different 'position' tables called position_1, position_2, position_3, … | |
Good Morning, I have an ever growing member database that is currently at around 6000 (developed over the past 2 weeks), and expect it to be in the hundreds of thousands within a few more weeks... My problem is that alot of members are using a single email address for … | |
Good Early Morning (just barely) I have an issue with a javascript function in <head> portion of a script apparently sending something to the browser that is preventing a redirect from working the way it was before I added this JS... Here is the JS that I added [CODE] <link … | |
Good Afternoon, I have a bit of a dilema, maybe 2 or 3... I have a members table in MySql, that includes a field called join_date which is designated as DATE type field I have 7 position tables named position_1 thru position_7 These each have a field called create_date which … | |
Good Sunday Afternoon... Is there anybody here that knows of a piece of code that would be available to just plug into a script that would allow the selection of a date range for a reporting feature? Just something that would say From this date To this date... And possibly … | |
Good Morning All, OK, so here is the deal... I have a membership site that at some point in time (very soon) I will have an event take place that will require me to produce printed reports... I have the scripts written to gather the information from the DB, and … | |
Good Morning... First let me start by thanking those of you that respond with great education information in here.. You have made my learning curve (time invested) much shorter than it would have been with just a reference manual. I know I still have a lot to learn, but this … | |
I know I should know the answer to this, but I'm drawing a blank... I have a conditional statement that checks for the value of a variable, and if it isn't 'Y', then it does a redirect using the header statement. apparently something that I did a couple days ago … | |
OK, Now that I know how to add minutes to a datetime field... I need to be able to take a specific date time as in NOW... Then add 30 days to it, and have record that date at 19:00:00 as an expiration date time I start by capturing the … ![]() | |
Hi All, I'm having difficulty in getting the data that I need from the DB.. and it is probably my lack of understanding in the query that I created... data looks like this in the table called RandPtrack rec_id type group_id open_date close_date orders shares order_date order_num 1 R 96 … | |
Good Afternoon, I'm struggling with something that should be simple (where I have most trouble - simple things) Basically what I'm trying to do is when someone places an order on hold, I want to leave it on hold indefinitely unless someone else wants to place the same items on … | |
Re: [url]http://www.karavadra.net/blog/2010/mysql-database-country-code-table-sql-with-iso-3166-1-and-2-country-codes/[/url] Here is a site I found with a google search... Hope it helps | |
Good Morning. Could someone tell me how you would go about doing a query to just get records that have an email account with(hotmail.com or msn.com or live.com) I'm sure I could do it by selecting the entire DB and sorting them in PHP based on exploding the email field, … | |
Good afternoon, This may sound like a silly question but could someone explain how to make an SSL certificate work? I have a website that I completed (almost), and everything works just fine... Had an SSL certificate installed yesterday, and everything looks exactly the same. How do you make the … | |
Good afternoon, I don't know if I just can't do this, or if I can, and I have it structured incorrectly. What I'm trying to to is to generate a member table from a couple of imported excel spreadsheets. To create the member records, I must assign a 'Username' for … | |
Good Morning Good People... I have a question that I can't seem to find the answer to anywhere, so decided someone in here would know... Simplest explanation... I have a form which has 2 submit buttons... one to accept and one to decline Each of them needs to set the … | |
Hi, I have been searching for a couple of days now for a resolution to this issue, and while I find a few references to it in google, nothing really defines the entire process. I have a MySql table called 'product_distribution' When a customer orders a product, all pertinent information … | |
I know this sounds strange, but I messed up in a 'Manual' change to a DB table, and need to find a couple of records that I have no pathway to find... Explanation We have a member table called 'members' several different position tables, one for each level called position_1, … | |
This is more about suggestions than it is about having an issue that needs resolving. Happy New Year Everyone...:) I have recently finished up on the basic programming of a membership site, and they have launched without issue.(Thank God)... BUT, I have a few things that I would like to … | |
Good Morning All, I am doing a membership site for a client and would like to use SSl, but know absolutely nothing about it... My primary concern is whether there are any specific programming differences required in my scripts to accommodate the https as opposed to http? I use about … | |
Hi, I'm running into issues trying to layout a page that contains both html links using .png images and a .swf file that I would also like to have linked to another page. To see what I mean, I have a test page here [url]http://www.the-dream-release.com/test_page.php[/url] What I would like to … | |
I have what will, I'm sure, turn out to be a very simple calculation but I'm drawing a blank... Too many years since High School I think What I have is a table that maintains positions and these positions are stacked, with each successive row containing twice as many positions … | |
Hi All, I know this sounds like a simple issue, and it may in fact be, but I have never figured out how to give the admin of a website an easy to use ability to enter the body of an email that they want to send to their members. … | |
Good Morning All, I have a query I need to do, but haven't been able to get it clear in my mind how to structure it... I have two tables 'members' and 'subs_track' they are linked by the 'mem_id' field in both There is a single record for each member … | |
I have an issue with an insert statement not producing what I think it should produce... Here are the relevant parts of the code: [CODE] $free_pos[0][0] = $free_pos[1][0] = $left_top = $row[0];// value is 10000002 $free_pos[0][1] = $free_pos[1][1] = $left_step = $row[1];// value is 1 $free_pos[2][0] = $free_pos[3][0] = $right_top … | |
Good Morning All... I am really baffled with what I am getting from a form input using an image... Here is the form... Basically it is a single form with 4 separate input images, each reloading the same page, but changing the value of the variable 'name'. [CODE] <form name="display" … | |
I have a DB table that has a member ID field and a level field... There can be duplicate member IDs because they can have multiple steps There can be duplicate step numbers because multiple members can be on the same step But there should NEVER be a duplicate combination … ![]() | |
Good Morning, I'm not really sure where to go with this line of thought, so decided to bring it here where the logical thought processes reside... ;) What I have is this... A new membership program that has multiple levels that members can be paid on. Each level is tracked … | |
Good Morning, I have a membership site and to date haven't been gathering information of the sensitive nature. But now I need to get SSN and DL etc... We bought an SSL Cert, and now my challenge is this: Do I secure only the pages that relate to gathering this … | |
Re: [QUOTE=bangla;1478448]Hi, Below code gives me this error: "syntax error, unexpected" in line 5 <?php $to = "safiullah12@hotmail.com"; $subject = "test fname, email,phone,nn"; $Sender = $_POST["email"]; $message = Name: echo $_POST["fname"] . "\r\n". ///////////////////////line 5 Email Address: <?php echo $_POST["email"] . ?> "\r\n". Phone No: echo $_POST["phone"] . "\r\n" ; // … | |
Re: [QUOTE=Aser Gado;1478350]Hello everyone, I would like to know how to create a PHP file to create the following database: Database name: "dbUsers." [CODE]Name Type Addition id int(10) Primary Key, AUTO_INCREMENT username varchar(16) Unique password char(16) email varchar(25)[/CODE] Thanks :)[/QUOTE] I Would think that something like the following would do the … | |
Re: [QUOTE=Kadafiz;1478353]put your array data into a <table> <tr> instead of <table> <td> . then it display in a column.[/QUOTE] After you have done your select query, if it is multiple records with a single field you are returning, you can use a while loop to display the data retrieved, putting … | |
Good Afternoon, I'm hoping someone can tell me how to resolve an issue that will apparently be pretty wide spread within our membership. I have an ad Directory that was created for our members to do member to member advertising with a component for public advertising, and everything came together … | |
Hi All, Hopefully someone will have a quick answer for this question, because I'm in the middle of a time critical project and this is a stumbling block. Here is what it is... I have a temp_transaction table (mysql) that has various fields, one of which is a trans_date (datetime) … | |
I have written a function that works really well for what it is intended, but I just realized that it will need to make calls to itself, and wondered if that is able to be done (first), whether is is a smart thing to do (second), and are there any … | |
I am attempting to update the value of one field within a table, by doing a select of the value of another field within the same table in a single UPDATE statement. Is it possible? And if so, could you tell me what is wrong with the syntax of my … | |
OK, I know this subject has been covered extensively, and I have read numerous threads on this and other forums. Problem is that the more I read, the more confused I got. I would simply like to know, for my particular application, what is the best way to handle the … | |
Hi All, Another roadblock on my way to fame and fortune... LOL I am attempting to convert a csv file to a mysql table, and am using a converter that takes the csv and converts each line into an insert statement. that part works fine. But the issue I run … | |
OK, so I've read that it is possible to use session variables across multiple sub-domains and domains by placing the following in the .htaccess file on each of the prospective domains: php_value session.gc_maxlifetime 14400 php_value session.cookie_domain ".domain_name.com" where domain_name.com is the domain where the session was initiated. I know this … | |
Good Morning. I'm hoping someone can tell me why this isn't working, or maybe if it isn't supposed to work. I've been reading on various websites that you can use variables within CSS if you don't save the style sheet as a .css, but rather as a .php and just … |
The End.