I have 3 tables:
Vehicle_record
Insurance
Roadtax
While I'm succesful in updating the vehicle_record table, the other two tables cannot be updated.
When I run the query, the following error message appears:
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right s...
Hi ,
i have two pages redirection in my index.php ,
the page are exmple_system_os.php , example_mobile_os.php
How to determine user operating system in php,
Thanks
...
Hello!
In my site if use textarea + WSYWWYG (Wyzz WYSIWYG).
I would like to minimise and maximise the chars what the user typed. (for ex. min 100 max 1000).
After i post the form, i check the lengt of the posted field. (strln($_POST['text'..)
But the WSYWYG editors post the field in HTML formatted so if the user type:fg then the len...
I'm searching for a "advanced" php Pagination script, that shows me 10 mysql entries per page. In the web there are many "simple" scripts (even with jQuery) like this: http://www.9lessons.info/2009/09/pagination-with-jquery-mysql-and-php.html
Here is a demo: http://demos.9lessons.info/pagination.php
These simple scripts are bad when hav...
Currently I'm using shared webhost (Linux) to host my site. I know that anything inside '~/home/my_user_name/www' directory is writable by server. What are the other locations? Basically I want to change default session storage location and probably I shouldn't put it inside www directory.
Edit
Does session saving location has to be w...
hi,
i get this response from the server:
OK: 0; Sent queued message ID: e3674786a1c5f7a1 SMSGlobalMsgID:6162865783958235 OK: 0; Sent queued message ID: 9589936487b8d0a1 SMSGlobalMsgID:6141138716371692
and so on...
This is just one long string with NO carriage return i copied it exactly as received.
please note, initial OK can be a...
I'm trying to have an html form which updates mysql data. Now , I have this code(which is also a form action) and I'm trying to also use this as a form for my update. Because I will need the data that this form would show, so that it will be easier for the users to update only what they wish to update.
this is the form that will search...
Hi all,
I'm having problems with the glob:// stream wrapper included in the PHP 5.3.0 version. I'm using the following PHP version:
PHP 5.3.1-0.dotdeb.1 with
Suhosin-Patch (cli) (built: Dec 5
2009 20:08:29) Copyright (c)
1997-2009 The PHP Group Zend Engine
v2.3.0, Copyright (c) 1998-2009 Zend
Technologies
When I try to...
Hi,
I have a form that is called via the fancybox plugin http://fancybox.net/blog - login example
Here is the code I have:
Form:
<form method="post" action="" id="events_form">
<p class="clearfix"><label for="Name">Name:</label> <input type="text" name="Name" id="Name" /></p>
<p class="clearfix"><label for="Company">Company:</l...
Hi,
I'm thinking of storing data from a form as a string, each answer separated by a pipe. The problem I have is that some answers may come in the form of multiple items. We store the radio button selection along with their corresponding answers e.g.
Question 1 - 1 Answer [A1]
Question 2 - Radio button selected [A2] + 3 form fields
Que...
Hello,
How do I check if an URL exists and not 404 in PHP
Thanks
Jean
...
i need to integrate an java class to php program is it possible.??if so please explain???
...
I am having issues with zend_form and zend_decorator.
I have created a decorator class to default all forms to use list elements, however it doesn't seem to be working!
Essentially my_decorator_design extends zend_form and then my forms extend the decorator.
Ideas?
class My_Decorator_Design extends Zend_Form {
public function load...
Hi guys,
I am sure the title is pretty much the question but I would like to explain a bit more...
Drupal is great CMS but it lacks of process to achieve multiple environment (Development -> Staging -> Live)
Why I need multiple environment?
For example, the site live and you want to add functionality or amend something, of course u do...
I have been trying to figure this out for awhile. I have a multidimensional array in JavaScript that is 12 columns wide and an unknown number of rows like so
/*
[
[userID (int), name, username, email, password, other 1, other 2, other 3, other 4, other 5, other 6, admin(int)],
[userID (int), name, username, email, password, othe...
When the run the following code, everything works fine until $i = 5. After that I get Uninitialized string offset notices, even though the arrays seem to be getting populated correctly. I get this notice when running locally but not when I check it on the remote server. Both are running v5.2.11. I assume the output is different from loca...
I've got a url - http://callisto/news/1st_February_is_here... - which has three trailing dots, but by the time it gets passed through mod_rewrite and reaches the script (in $_GET) the dots have been removed (but the rest of the string is OK).
This is the htaccess rule:
RewriteRule ^([^/]+)/(.*)$ index.php?__action=site&__filter=$1&__pa...
I wanted to use the Twitter API to get the friends status list from many users.
How many requests could I request in one moment?
Little another question:
What's faster: XML or JSON with a lot of data with PHP?
...
Is it possible not to update mysql data if one of the textbox in an html form which will update the mysql data is empty?
...
Hi,
I've currently got a couple of potential property letting/sales agent web sites to do. I'm looking for a decent script or possibly Joomla extension to power the property search functionality.
Can anyone recommend something they have used?
...