Forums Page 49
-
Get word number x from string?
How can I use a function to loop through a string, and "have a look at" every word in the string, probably separated by a comma, and print them out…
-
Help with echo()
I'm having some problems with this code: Code: echo ' <A HREF="javascript:void(0)" onclick="window.open('http://website.net/community/xspf_player.s…
-
php is not recognized as an internal or external command
Hello, I am trying to bake the code in CakePHP through my console. I have changed my Path in Environment Variables but still I am getting this error…
-
Not Inserting into DB
I can't get my Add new Division form to submit to the database. Anyone see my issue? Code: <?php $e = <<<here <script…
-
Undefined offset
The following script checks to see if the user answer matches the correct answer. Form Fields are set up the following way... user_answer[$i] | value…
-
try catch error
I have been trying try catch but, I can't get it to work. The code opens a non existing file called "a" Code: private function…
- Advertisement
-
Shuffle Array
Hi, I am writing a script for a game that needs players to randomly be assigned a target (another player) in a loop so that each player is matched…
-
help me, how to find text on an external html site using PHP
Would anyone know how to search an external html file for a work or phrase ? I was thinking something like this -- I use script cURL... Code…
-
Any decent php formatter/beautifier/pretty printer?
Any decent php formatter/beautifier/pretty printer class/function? I found the following whilst searching…
-
having a small php error tha deals with the 'foreach'
Last night i was working on a script for a cart and it seemed to working good, until this morning. For some reason i'ts giving me the following…
-
PHP/PKI
I am trying to set up a web application that uses pki. does anyone have a good tutorial to set this up? I have a "dedicated server" to do all this on
-
modifying a property of an object from a different class
I have 2 classes: - Math - Distance in my math class, I have this line: $distance = new Distance($this->query, $this->distances); and this…
-
problem getting my contact form working
Yeah I know this is a pretty basic problem, but it's been a while since I've worked with PHP and I'm having a real problem getting it functioning…
-
HELP with mysql_real_escape_string
I'm looking to remove apostrophes completely when someone enters lyrics but don't have a clue how to do it. I've attached the 'submit lyric' page and…
- Advertisement
-
Help with usergroups? prolly really quick
So were coding our own forums for a game system we made an we have the users level setup but now I need to make it do user groups. See the groups are…
-
Parse error: parse error in C:wampwwwlogspagesmembers.php on line 16
I dont see the problem with this, I always get Parse error: parse error in C:wampwwwlogspagesmembers.php on line 16 , what did I do wrong?? <?php…
-
Ten Operator Syntax
Hi Guys, I can't figure out why i am getting a parse error with this basic ten op code: $prodTH = ($prodIA == "Y") ? "<img src=""…
-
Get ID from Database when Posting with a HTML Form
I have a form I am submitting to a MySql database. Each product has an ID # attached to it that auto_increment. I need to pull the auto incremented…
-
Help with PHP and checkboxes
I am posting this for a friend of mine, i wrote a small script for her to process her form data to an email but in testing i am having trouble…
-
Can't get the unicode character
I'm trying to get some text from various parts of a file. I have converted the file to hex (bin2hex) and I've got this: 64 72 e6 62 65 72 (without…