No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
- PC Specs
- Windows 7
9 Posted Topics
I have this script that I am using that work to upload a file and to make sure the file is either jpg, jpeg, or gif. However, I want to restrict the user with the image width no larger than 150px. Is there an easy way to implement in the … | |
I have this page that you can do a search on the site. However, if I do a search that contains an apostrophe ('), it breaks and doesn't display anything although I have entries that have them. Does an easy fix exist for this problem? This is an example of … ![]() | |
Re: Try this [CODE]$name = "app200.php"; $string = "form name = \"$name\" method = \"post\""; echo $string;[/CODE] | |
I have code where I am pulling data from my database and it needs to be separated by commas except the last value (that part works) so I can take those values and input into another SQL query. Here is the working code: [CODE]$biz_id = $row_businesses['id']; $query_related = sprintf("SELECT * … | |
Re: I've had this issue before. It would work doing a simple SQL statement in phpMyAdmin for example but wouldn't work within my PHP script. Is this your problem as well? I don't know the solution as I haven't encountered it again lately. | |
I am working on a site and I want to be able to query the appropriate table based on their location. For example, if they input they live in NY, it should query the NY table. If they input they live in CA, it should query the CA table and … | |
I am trying to store millions of records with address, city, state, zip, etc. I originally had one table with 17 different fields with the primary key being id. However, I soon realized after inserting almost a million, the website began to lag and was slow. What is the best … | |
Re: Create a recordset pulling the data from the database. Then, "hook up" the drop down or whatever to the data. Here is an example for a dropdown in php: [CODE] <select name="state" id="state"> <option value="">-- Select A State --</option> <?php do { ?> <option value="<?php echo $row_states['state_name']?>"><?php echo $row_states['state_name']?></option> <?php … | |
I have a script that I am using to retrieve zip codes within a certain radius using a foreach php statement. However, with these zip codes that I am getting, I want to add a comma between each value (for example: 11111,22222,33333) to use in a SQL query using the … |
The End.