Forums Page 23
-
need Array help
This is what I have to do. $teamname[1] = "Red Sox" $teamname[2] = "Giants" $teamname[3] = "White Sox" $teamname[4] = "Cubs" $teamname[5] = "Cubs"…
-
How would I convert this into code using an if statement?
ES equals exam score m equals $mean s equals $total. I already coded my mean and total so I'm not going to post my code unless it is necessary. I…
-
Request-URI Too Large
I have created a simple submit form for a mysql database that puts a piece of code into database. But if I want to put a document of any decent…
-
Whats wrong with my query?
I am trying to get this query to show the appropriate ticked vehicle roof height, unless no boxs are ticked then I want it to display all vehicle…
-
Help =( !! Upload Pics [PHP script]
Hello I need help with a php script [MULTIPLE UPLOAD IMAGES] , where I want to add a feature (watermark the uploaded pictures) , thats mean its…
-
New Search Engine problem
Hey everyone, I have a ZIP Code Radius search engine already functional. it displays all of the ZIP codes within a specified mileage around a central…
- Advertisement
-
Anti Spam Code
Ok where do i start? Probably by telling you I have very little working knowledge of PHP and that I have been working on this problem for 3 days and…
-
why is it over writing
Code: $filepaths[] = $_FILES['new_image']; foreach ($filepaths as $filepath) { $imagename = strtolower($filepath['name']); $charref =…
-
browse folder only
hi, is there a way i can browse or get the directory or folder only and not the file? i just want to browse the directory and get the files from it.
-
mail with attachment problems
Hi. I have the following code: Code: else if(file_exists("site".$timp.".zip")) {$file=fopen("site".$timp.".zip", "rb"); $data=fread($file…
-
Issues: PHP Forms -Clearing
I've tried looking online before actually asking for help, but I've been looking for about the past 3-5 hours and have found nothing that'll help me…
-
PHP Mysql Staff Induction System
Hi there, I'm pretty new to PHP and Mysql so could really do with being pointed in the right direction with this problem I have. I am trying to set…
-
Last character removed
I have created a string from an array. I have inserted commas from my form values. I am trying to remove the last comma from the string and can't…
-
Why doesn't this work? (SSH2)
This is my script: Code: <?php $connection = ssh2_connect('213.251.167.109', 22); ssh2_auth_password($connection, 'root', 'MGdgfskc'); $stream =…
- Advertisement
-
Problems with returning true or false in eval()'d code
Hi guys, Would appreciate some help with a problem when running eval() on a function that should return true or false. From php.net: Quoteeval()…
-
PHP - HTML
Could anyone give me some GOOD sample links for php - html email tutorial. Thanks!
-
is this the proper use of mysql_real_escape_string() to prevent sql injections?
i was wondering is this the proper use of mysql_real_escape_string() to prevent sql injections? any help greatly appreciated. thanks. derek Code…
-
Is there a more efficient way to code this than what I have?
I have three associative arrays. $combinedSettings $userSettings $defaultSettings My function must combine the key and value from $userSettings and…
-
PHP Tab Control
Hi All, I would like to have PHP tab control with/without Javascript. But I want to retrieve some information from database server when clicking on a…
-
Trouble verifying database password
Thankyou to everyone who responded to my last post (I can't find the posting, it has been buried). I am currently making a login form and the…