Forums Page 55
-
1,000 select boxes with 100 options?!
I have 1 drop down select box with 1,000 options. In some case, there will be 100+ of these select boxes, with absolutely identical options. Is there…
-
php code generators
All Whilst enjoying learning a new language i have come accross a number of free code generators out there to assist and save a lot of time can…
-
Need help with unexpected T-STRING error
I'm a newbie and I'm still learning PHP. However this error has me stumped. I've googled, searched the forums, but I can't seem to fix this. I'm sure…
-
Problems with adding a link to one position in a 'foreach' loop, please help
Hello! Iam pretty new to programming and I wanna create a table with users from an array. It works just fine but in one table row I wanna add a link…
-
array_combine() error
getting an "Warning: array_combine() [function.array-combine]: Both parameters should have an equal number of elements in...." error on the following…
-
why does my session end?
my connect.php starts the session just so you know i can navigate arround my site fine except when i come to this page. it lets me in but then when i…
- Advertisement
-
IS this code correct
The reason i ask is everything underneath it appears to be alink as well, tis blimmin annoying Code: <?php echo '<li…
-
Creating a function
Basically i wanna put all this code in a seperate file Code: <?php $query = "select product.ProductID, product.ProductName…
-
Why is my row count 0?
Here's the MySQL query i'm running. It basically pulls data from 2 tables based on some data passed. Here are things i know. 1. The data passed is…
-
login from external site
Hi my new experience begins, Now what i am trying to do is i make three pages, login.php logout.php index.php . Now if i will not give correct detail…
-
cURL Sending File as Post
This is a bit complicated, I'm just hoping someone else has run into this and knows how to do it a different way or make it work. When sending a file…
-
Multiple Options for a Single Page
For this example I want to use the Handlers option which is under Fed Admin and all the related coding to the handlers option is found on the…
-
include function being weird?
I have a very simple system to grab an IP outputted by a PHP file.. (for a project I have) but it outputs a 1 at the end!! <form method="post"…
-
Email/MMS to Site
Hey guys. I'm looking for a way for a user to upload images and/or text via their cell phones. It could be MMS but since most phones have email these…
- Advertisement
-
how to get IP address?
hey guys, i have this code which is supposed to get me the IP address of my site visitors: Code: <?php if ($_SERVER['HTTP_X_FORWARD_FOR']) { $ip =…
-
Getting rid of quotes when printing data
Hi Guys, I use the filter_var FILTER_SANITIZE_STRING to filter the textarea input. The function escapes any quotes (which is good) but when I print…
-
Help with Hyperlink
Hi, What I am trying to do may be simple, I just can't get it to work. Ok... I am using Zend and so the database connect that I need for this is a…
-
Need some ideas as to how to go about sorting this array...
Here's how the array's are created.. Code: <?php while ($x = readdir($dp)) { $order[] = $p['order']; $files[] = $x; } ?> Here's a sample of how…
-
Entering Data Problem
Code: $result = mysql_query("SELECT * FROM flights"); while ($row = mysql_fetch_array($result)) { if ($flight_num == $row['flight_num']){ echo…
-
Show specific day of the week
I have been racking my brain trying to get this function to work properly and it is doing so for everything but Sundays. What I am trying to do is…