Forums Page 65
-
Code working in IE but not FireFox
I created a dynamic navigation list for my website based off of a table in my database. The code is working perfectly in IE (I have version 8 on this…
-
PHP Script runs on CLI but not through web browser
I am running into an issue that I just can't seem to find the answer to. I have a Windows Server 2008 box that is running Apache 2.2.14, PHP 5.2.11…
-
PHP referral database. I would like this form to email the referrer.
Okay, Hello I've been trolling for years. This the first time I've ever asked for php help. Normally my questions seem so amateur when I finally find…
-
help with database debug pls
Parse error: syntax error, unexpected T_ELSE in /home/content/m/e/s/mesick/html/students/05/php/checklogin.php on line 13 <!DOCTYPE html PUBLIC…
-
tell csv import script to ignore blank rows?
Hi i have the below script but i get an error if a row is blank ie a return in the csv file at the end i need to somehow tell it to skip the rows…
-
Business Health Check
Hello I need to create an online business health check for a client it will be multiple choice and about 50 questions but the client has requested…
- Advertisement
-
Converting RGB values to HEX
Code: <?PHP $file_handle = fopen("colors/rgb.csv", "r"); while (!feof($file_handle) ) { $line_of_text = fgetcsv($file_handle, 1024); print…
-
Code Review - SQL and Insertion Attacks (Warning: Not for Newbs)
Hey guys, Its been a while, I know. Use to love coming here to answer peoples questions, but work and school have been keeping me too busy but do…
-
Load Animated Image while cache is serve
I have a page that loads up using cache and took about 1 to 2 minutes before it loads to the page. Is there a way that while the cache is being…
-
is_dir() problem
Hello, I'm buidling a php scripts that dynamically get's subfolders from a specific folder. my code: Code: <?php if(isset($button)){ $opendirdepot…
-
Session
I am having a little trouble with a session. Not sure if it is my browser or what. I know I do not have any trouble logging into forums such at…
-
A little help needed passing hidden values to next page
I have a page that has hidden values in a form. example Code: <input name='signupID' type='hidden' value='1' /> <input name='signupID'…
-
Syntax Help
Code: im having trouble with that code snipped Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING
-
Dynamic links in an include file
I am working on a small piece of code that counts records from a database and displays the result to the user. Everything works fine, except I am…
- Advertisement
-
foreach and array need help combining
Hi guys. Here's the code Code: array( 'tag' => 'code', 'type' => 'unparsed_content', 'content' => '<div class="codeheader">'…
-
mysql_real_escape_string
Let me preface this that I am very much a PHP noob, but I have some SQL training (not necessarily MySQL, we used the Microsoft variety in school). I…
-
How do I replace any number of character occurences with one occurrence?
How do I replace any number of character occurences with one occurrence? Let's say I have: aaa aaaaaa aaaaa aaaaaaaa All of the above should be…
-
Sort a two dimensional array.
Hi. I've set up a two dimensional array that reads as follows: Code: $modifiedData = array( array($arrCollingwoodStart[0], $numCollingwoodForTotal…
-
Form help: Syntax & Logic
Hello again all, I'm working on a form and ran into a wall (again) and can't seem to think through how to best code what i need (the logic side)…
-
Something Non-Traditional. Can we solve?
I have an idea for an application here. It's mostly flash, but it couldn't work without a somewhat non-traditional php functionality. here's the…