someone has used this jquery plugin for form validation?
http://docs.jquery.com/Plugins/Validation
i cant figure out how to use it. it doesnt say anything in the documentation how to name the html form elements to make it work with the validate() method.
and question nr 2, what php class validation is there to use for the server side?...
I am looking for free/opensource php form email script/class. The main requirement is that the PHP (logic) and the HTML and CSS (design) are separated, i.e. i can create forms as short or as long as i need with all kinds of inputs/fields and the script would handle the processing automagically.
The form should validate user input (check...
Hello stackoverflowers,
we are designing a major webapplication for the www.
It a social community site. and i would like to know witch direction i need to take.
What works faster, flex and php or java and flex?
i've read that flex and php with amfphp is very fast (with AMFEXT).
but i have seen that 90% of the major companies here i...
Does anyone know a guide or tutorial into how to access the Google adwords reports? I'm trying to pull in to my application the advertising spend per day (current to the time of checking or last Google update). I can't quite find the API docs or methods for getting the spend. Does anyone know of any good tutorials? Or can you point me ...
Hi, I'm planning on converting all the datetime data from a MySQL database to the format date('d-M-Y'). I'm thinking of doing it in the afterFind() callback but I'm wondering, how do detect the field type in CakePHP so I can create conditional statements?
Thanks in advance!
...
Im looping through some mysql results and need to add <span id=bottom></span> to each of them except the last row, whats the easiest way of doing this?
Will i have to count rows and then use a counter and an if/else statement? Or is there an easier method?
...
We have a custom framework that we use, that allows us to include code in to other pages. However, the header for this code is always printed, even if the include code doesn't output anything. Is there a way that I can exit, or return something specific, that I can trap and catch via include/require, so that I can do the right thing?
...
Can anyone recommend me a really good tutorial for learning joomla, most of which I found were spam ads just to get people to click several ads without learning anything. I'm using joomla for the first time and I'm sort of confused with certain terms because they are all alike.
For ex: Section and category almost same .. and so on .. ma...
Hello,
I'm trying to include specific 'admin view' files from within a folder structure. I'm familiar with include/require or how to recursively include a folder, but all I need to do is include one filename from each directory - the admin_view.php file.
So, my dir. structure looks like this:
File to have includes is at root.
- mods
...
I am searching for a function in PHP to return the number of occurence of a character in a string.
Inputing those parameters "hello world", 'o' would return 2
...
This is my code:
for($i=0; $i < count($badLinkHolder); $i++)
{
if($badLinkHolder[$i][0] != "")
{
echo "<tr><td>{$i}</td><td>{$badLinkHolder[$i][0]}</td><td>{$badLinkHolder[$i][1]}</td></tr>";
}
}
Now, $badLinkHolder has around 45 entries which I can confirm by using print_r(). For some reaso...
I am currently working on a application that will be implementing user customizable widgets on each users dashboard. The user is able to add and remove widgets at will. Each widget is contained within its own element and some have JavaScript files with need to be loaded individually.
The current issue I'm having is if i try and link a J...
Let's say I want to display the tags related to users_question_id 1 and I want to count the number of times that tag was entered for that question by 1 each time it was entered in-order to display the tags that where entered more bigger.
How would I do this using MySQL and PHP I have created two tables called questions_tags and tags.
H...
Hi all,
I'm relativly new to regular expressions but I managed to create a working expression to validate dates (without leap years, and assuming people enter a valid 30 or 31 digit for a month).
This is the expressen:
/^\d[1-31]{2}\-\d[1-12]{2}\-\d[1900-2009]{4}$/
But I would like to have a dynamic regular expression like:
$yearSpa...
if ((($_FILES["uploadedfile"]["type"] == "image/gif")
|| ($_FILES["uploadedfile"]["type"] == "image/jpeg")
|| ($_FILES["uploadedfile"]["type"] == "image/pjpeg"))
&& ($_FILES["uploadedfile"]["size"]/1024<100))
When I test the code above, I found that a user can bypass the file type check by simply modifying the extension name, how to ge...
Hi,
I would like execute a query like this one in symfony using the Propel ORM:
UPDATE ADS SET HITS=HITS+1 WHERE ID=10;
I know that Propel API can let me set a previously fixed value for a column of a given record, but I definitely don't want to retrieve the column value first before issuing an update query since there are concurrent...
im a pure backend programmer and i find it so difficult to position divs and add css styles.
what are your advices to make this as simple as possible for me?
use dreamweaver? what can it help me with exactly.
i have no idea how to add style to my prototype or handling positionings of divs and elements. some guides? tools? softwares? o...
Hi,
I want to integrate FirstData as my payment gateway.
How to start with this?
I am using php.
Thanks
Code which i have used
<? include("ipg-util.php"); ?>
<form method="post" action="https://test.ipg-online.com/connect/gateway/processing">
<input type="hidden" name="txntype" value="sale">
<input type="hidden" name="timezone" ...
Given that when using an html radio box, to send values to a php script, only the selected values is sent to the php script, still holds true.
Do I still need to check that the user has selected something, when I am only interested in the selected value being sent to the php script, if the user does not select anything we do nothing or ...
Okay here is what I'm, trying to do I want to escape the period so I can add a .8em font and a 2.5em font into my code for example instead of a plain number font. I tried escaping the period three different ways in this script but I think I was doing it wrong.
Here is my font sizes in the script.
$min_size = 1; //change to .8
$max_size...