Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 20 of 20
Search took 0.04 seconds.
Search: Posts Made By: saviola
Forum: Ajax and Design 06-18-2010, 07:11 PM
Replies: 1
Views: 2,809
Posted By saviola
This is not a good solution to refresh the data...

This is not a good solution to refresh the data in the database during a specified period. It will cause incomplete and incorrectly entered data.
It is better to inform consumers that we have some...
Forum: PHP 06-18-2010, 05:12 PM
Replies: 3
Views: 1,373
Posted By saviola
This is depending on how secure you want your...

This is depending on how secure you want your site.
The best way to determine what you need to do is to log each attempt... each time a user logs in, track their email, username, ip address and if...
Forum: PHP 06-18-2010, 04:56 PM
Replies: 3
Views: 4,467
Posted By saviola
You can find useful information here : ...

You can find useful information here :

Configuring cron jobs on Windows (http://drupal.org/node/31506)
Configuring cron jobs. (http://drupal.org/cron)
Introducing Cron...
Forum: PHP 06-18-2010, 04:47 PM
Replies: 3
Views: 2,450
Posted By saviola
It's more useful to use REPLACE INTO syntax...

It's more useful to use REPLACE INTO syntax instead of the INSERT INTO syntax. Like Fou-Lu say, this will insert records if they don't exist, and update records if they do (based on PK of course).
...
Forum: MySQL 06-18-2010, 03:41 PM
Replies: 7
Views: 1,112
Posted By saviola
You can get separete first name and last name...

You can get separete first name and last name without new select, result of which assigne to tale ... to get f-name and l-name separate edit query in this firm:

SELECT o.`Year`, m1.fname AS...
Forum: MySQL 06-18-2010, 03:16 PM
Replies: 16
Views: 1,508
Posted By saviola
Check your MySQL version. Mysql version 5.0.X...

Check your MySQL version.
Mysql version 5.0.X supports stored procedures. PHPmyadmin does not support executing the procedures : 'Call <procedure>'.

NOTE: I'm not sure about latest version...
...
Forum: JavaScript programming 06-18-2010, 02:43 PM
Replies: 5
Views: 969
Posted By saviola
This version fixes some fairly serious issues...

This version fixes some fairly serious issues with the old version. Above script fails to handle cases where cookie names are substrings of other cookies, say like: 'a1', 'a12' and so on.

// this...
Forum: MySQL 06-12-2010, 05:18 PM
Replies: 10
Views: 816
Posted By saviola
It must be something like that : SELECT *,...

It must be something like that :
SELECT *, DATE_FORMAT(`column_name`, '%d/%m/%Y %H:%i:%s') AS mydate FROM users ORDER BY id DESC LIMIT 10
and result will be something like that : 2010-06-12...
Forum: MySQL 06-12-2010, 04:48 PM
Replies: 5
Views: 742
Posted By saviola
Do this to check result of sql query: and be...

Do this to check result of sql query:

and be careful and check for this


also you can try sql="SELECT * FROM `Verify`";
, because i am not quite sure, but `Verify` can be reserved word.
Forum: MySQL 06-12-2010, 04:38 PM
Replies: 2
Views: 508
Posted By saviola
Why in query string you use "songs_lookup_new",...

Why in query string you use "songs_lookup_new", isn't it "songs_lookup" name of table?
SELECT
humfm_master.ticketid,
humfm_master.songno1,
humfm_master.songno2,
...
Forum: PHP 06-12-2010, 03:37 PM
Replies: 2
Views: 816
Posted By saviola
The if ($_POST['form_submitted'] != '1') { isn't...

The if ($_POST['form_submitted'] != '1') { isn't on the right place! Because when you post the form, the condition isn't true then nothing between it and <?php } else if ($_POST[form_submitted] ==...
Forum: PHP 06-12-2010, 03:00 PM
Replies: 2
Views: 611
Posted By saviola
Yes, which function are you using...

Yes, which function are you using imagecreatefromgif() or imagecreatefromjpeg(). I'm little confused, you using imagecreatefromgif() and try creating the temp file, but receive error for .jpeg...
Forum: PHP 06-10-2010, 06:07 PM
Replies: 7
Views: 859
Posted By saviola
I see this for the first time. my suggestion to...

I see this for the first time. my suggestion to wrap your form in normal form tag like this :
<form id="someId" action="some.php" method="POST" enctype="multipart/form-data">
...........
</form>
...
Forum: Post a PHP snippet 06-10-2010, 05:51 PM
Replies: 2
Views: 1,807
Posted By saviola
simple and useful :thumbsup:

simple and useful :thumbsup:
Forum: MySQL 06-10-2010, 05:41 PM
Replies: 16
Views: 1,626
Posted By saviola
If you want to do this automatical everyday (i.e....

If you want to do this automatical everyday (i.e. in 11:30 pm) you you can take queries/functionality discuss above in Cron Job file (http://articles.sitepoint.com/article/introducing-cron).
Forum: PHP 06-10-2010, 05:22 PM
Replies: 9
Views: 737
Posted By saviola
Check the $_POST array before submit any form. ...

Check the $_POST array before submit any form.
echo "<pre>".print_r($_POST, true)."</pre>";
If exist (isset($_POST['submit'])), then the problem's comming from post array. There is some script...
Forum: MySQL 06-10-2010, 04:59 PM
Replies: 1
Views: 510
Posted By saviola
It's exist different ways. Maybe this links can...

It's exist different ways. Maybe this links can help you :
http://www.bigresource.com/Tracker/Track-ms_sql-IK68K4JY/
...
Forum: MySQL 06-10-2010, 04:44 PM
Replies: 4
Views: 1,039
Posted By saviola
Yes absolutely, use a session. If you want to...

Yes absolutely, use a session. If you want to refresh the SessionData after a certain amount of time has passed for User A, you can add to user session time of creation.
$_SESSION['time'] =...
Forum: MySQL 06-10-2010, 04:32 PM
Replies: 2
Views: 609
Posted By saviola
Here you are some examples of database model...

Here you are some examples of database model (http://www.databaseanswers.org/data_models/), which can help you to choose your data organization.
Forum: PHP 06-10-2010, 04:12 PM
Replies: 20
Views: 1,314
Posted By saviola
Check for spelling in query string! Maybe you try...

Check for spelling in query string! Maybe you try to add value in non-existing column!
Try this :
$insert_query = sprintf("INSERT INTO resluts (`name`, `lastname`, `ip`) VALUES ('%s', '%s',...
Showing results 1 to 20 of 20

 
Forum Jump

All times are GMT +1. The time now is 04:20 AM.