Read from forum
Haven't written anything forever and I would like to get back.
What I'm trying to do is getting t
Procedural to OOP
John Kleijn said that to avoid writing "crappy code", we should learn OOP and common OO pr
How do I get the row number from from an sql table query
Hi all
I have a table that I query and it returns a number of rows.
mysql_num_rows($query)
phpMailer not working ..........
HI,
I was playing with the phpMailer script and tried to send a smiple mail using their test scri
Why do I get this error?
Error:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or
grouping within a foreach?
hello all,
I currently have a list of products spit out from my db via a foreach loop. Right
question about stripslashes and real_escape_string
im cleaning up an old app that I wrote fixing some of the vulernabilities from attacks.
I hav
small inaccuracies
I have this code to convert fractional base 10 into base 2:
while($num > 0)
Limiting uploaded file type
Hi. First post here
I am working on a simple upload script, and I need it to limit the allowed f
PHP & Java
Hello,
can PHP code be used inside java code?
Code: <SCRIPT LANGUAGE="Java
mySQL and PHP search
Hello,
I am trying to code a project and ran into a brick wall with one of my pages. I am pretty
JSON SORT WITH PHP
I have two products that I want to sort by say "Id:17, value: xxx" using php
The page w
Code error with Index.php
Error: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/runevid/public_
Error In Syntax
I got this error:
Code: Parse error: syntax error, unexpected '>' in /home/bucket/publ
TemplatePower & AJAX
Hi all,
I'm currently implementing some AJAX features in my PHP-framework (which is b
SCO Unix
I know this might not be the place to ask, but, can anyone tell me if SCO Unix comes with PHP built
Retreiving objects from Sessions
Hi all,
I am getting really frustrated with storing and retreiving objects from a session. Bu
single page with referrer to show correct page
I have a simple website with a couple of different pages. I would like to be able to in a div tag w
first few characters only
hi, does anyone know how to use PHP to take the first few words of a text and limit them? i have see
Form validation with functions
Hi there
I am trying to make a very simple form validation function. I currently have the fol