Forum: PHP May 10th, 2009 |
| Replies: 10 Views: 559 When I run
<?php
include("database.php");
$sql = "SELECT advertisement.adver_name, customer.number_customer FROM advertisement INNER JOIN customer ON advertisement.adver_id = customer.adver_id";... |
Forum: PHP May 10th, 2009 |
| Replies: 10 Views: 559 I got this error
= array ("advertisement1" => 34,"advertisement2" => 45,"advertisement3" => 16,);
Warning: Wrong parameter count for max() in... |
Forum: PHP May 9th, 2009 |
| Replies: 10 Views: 559 code below
<?php
include("database.php");
$sql = "SELECT advertisement.adver_name, customer.number_customer FROM advertisement INNER JOIN customer ON advertisement.adver_id = customer.adver_id";... |
Forum: PHP May 9th, 2009 |
| Replies: 10 Views: 559 Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' in /mounted-storage/home119c/sub009/sc67000-JYEV/postwords.com/jinli/atsb/graph.php on line 14 |
Forum: PHP May 9th, 2009 |
| Replies: 10 Views: 559 I am getting an error with
<?php
include("database.php");
$sql = "SELECT advertisement.adver_name, customer.number_customer FROM advertisement INNER JOIN customer ON advertisement.adver_id =... |
Forum: PHP May 9th, 2009 |
| Replies: 10 Views: 559 I have a fix code below
$values=array(
"advertisement1" => 34,
"advertisement2" => 45,
"advertisement3" => 16,
); |
Forum: PHP Dec 22nd, 2008 |
| Replies: 7 Views: 652 I want to select * from users where "reg_date" IS NULL; and then update "reg_date" with ""20th December 2008" |
Forum: PHP Dec 20th, 2008 |
| Replies: 7 Views: 652 Can I get an sql query only? |
Forum: PHP Dec 20th, 2008 |
| Replies: 7 Views: 652 I have a table called "users", in the table it contain a column/ field name "reg_date" how would i run an query to say: For all the users, if their feild "reg_date" is blank put "20th December 2008" |
Forum: PHP Aug 29th, 2008 |
| Replies: 3 Views: 1,254 Is not the time out becuase my php time out has no limit. Also if For instance, if I may be trying to stuff a varchar(50) into a varchar(40) which would result in the problems am not seeing then why... |
Forum: PHP Aug 28th, 2008 |
| Replies: 3 Views: 1,254 Hi i have a php script that retrieves all data from one database to be transferred to another database. The problem is that the database I am retrieving has 2,778 total rows and after i run my script... |
Forum: PHP Aug 20th, 2008 |
| Replies: 3 Views: 788 I got Parse error: syntax error, unexpected T_VARIABLE
on $regex = "/^[a-z]+$/";
whats wrong with it |
Forum: PHP Aug 18th, 2008 |
| Replies: 3 Views: 788 Hi i am trouble adding NO CAPS and no spaces in the username on the code below
I want the username to be character from 3 to 30
I want to restrict members from adding spaces or caps |
Forum: PHP Aug 16th, 2008 |
| Replies: 2 Views: 1,184 I have a script where it convert regular file such as mpg to flv. Now when I upload mpg it converts to flv fine. but when I upload avi it does not convert probably and the size of the file is 0. Here... |
Forum: PHP Aug 14th, 2008 |
| Replies: 1 Views: 467 I have two file one called show.php and one is show.tpl.
On show.php it has this code
On show.tpl it has this code |
Forum: PHP Aug 12th, 2008 |
| Replies: 14 Views: 946 I got this error after this full code below
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/kmedianet/domains/14kmedia.net/public_html/test.php on... |
Forum: PHP Aug 12th, 2008 |
| Replies: 14 Views: 946 Ok this is the error I got for the full code below
Warning: unlink() expects parameter 1 to be string, resource given in /..../..../..../..../public_html/test.php on line 15
Warning:... |
Forum: PHP Aug 12th, 2008 |
| Replies: 14 Views: 946 O no I am asking for your help to insert the code there to delete from each table if the user isn't found in the users table |
Forum: PHP Aug 12th, 2008 |
| Replies: 14 Views: 946 Lets Try re-doing the file because I got an error again. It could be a lot easier this way. |
Forum: PHP Aug 12th, 2008 |
| Replies: 14 Views: 946 for example In simple terms if user_id: 2546 exist in "users_theme" table but does not exist in "users" table delete the row of 2546. |
Forum: PHP Aug 12th, 2008 |
| Replies: 14 Views: 946 I got this error when I was trying to run |
Forum: PHP Aug 12th, 2008 |
| Replies: 14 Views: 946 Hi, I am trying to create a script which checks the "users_theme" table and finds all the user_id's which exist in this table and not the "users" table. Once I have those id's, I want to run a... |
Forum: PHP Mar 11th, 2008 |
| Replies: 4 Views: 681 Thank you every much for you help! Can you please take a look at the two files I uploaded. If you look at file wimpy.sql.ed.configs.php you will see $appendPath. Now if you look at wimpy.sql.ed.php... |
Forum: PHP Mar 11th, 2008 |
| Replies: 4 Views: 681 Thank you for responding! I was was trying concatenate but not how you did. If you take a section of the code which is
what the code is doing is if a url is provided to appendPath, it added it... |
Forum: PHP Mar 10th, 2008 |
| Replies: 4 Views: 681 On this code $appendPath was created for myFieldName['filename']
How would I add $appendimagePath to this code for myFieldName['visual'] ? |
Forum: PHP Mar 10th, 2008 |
| Replies: 1 Views: 420 |
Forum: PHP Mar 10th, 2008 |
| Replies: 1 Views: 420 I attached the 2 script
I have a script that retrieves a file from my database with an option of providing a path
Now the appendPath Will "tack on" the contents of appendPath to the front of the... |
Forum: PHP May 13th, 2007 |
| Replies: 9 Views: 1,552 Can someone help with the script |
Forum: PHP May 11th, 2007 |
| Replies: 9 Views: 1,552 I am using Photokorn Media Gallery.. I have posted some files that might contain it. Can you help me to remove function nl2br() from the script. |
Forum: PHP May 11th, 2007 |
| Replies: 9 Views: 1,552 I have included an attachment of the index.php and some of the main files that can contain The New Lines being parsed into <br /> tags somewhere.... I have tried messing with it but no luck. Can... |
Forum: PHP May 11th, 2007 |
| Replies: 9 Views: 1,552 I am entering into a form a form... |
Forum: PHP May 11th, 2007 |
| Replies: 9 Views: 1,552 When I add this to the form in the php scripts which is
I recieve this when I view the source of the website I get
I think there must be a code in the php that adds <br /> when I put in my... |
Forum: PHP May 10th, 2007 |
| Replies: 9 Views: 1,552 There is a script I am using....A Media Gallery...everytime I put in a javascript, it does not work. When I put
I recieve this when I view the source of the script
Is there anything... |
Forum: PHP Oct 12th, 2006 |
| Replies: 2 Views: 2,068 I NEED HELP PLEASE PLEASE PLEASE
THE PROBLEM IS
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in... |
Forum: PHP Oct 12th, 2006 |
| Replies: 17 Views: 4,766 I also trying deleting ?> |
Forum: PHP Oct 12th, 2006 |
| Replies: 17 Views: 4,766 <?
$conn_id;
$sql_res;
$sql_res2;
$sql_query;
$HTTP_REFERER=$_SERVER["HTTP_REFERER"];
$REQUEST_METHOD=$_SERVER["REQUEST_METHOD"];
function sql_connect(){
global... |
Forum: PHP Oct 11th, 2006 |
| Replies: 17 Views: 4,766 Sir i have done it several times. i am getting the same error |
Forum: PHP Oct 11th, 2006 |
| Replies: 17 Views: 4,766 Ok i am going to send you the file and can you please place the code for me and send it back. |
Forum: PHP Oct 11th, 2006 |
| Replies: 17 Views: 4,766 When I put your script I recieved this:
Parse error: syntax error, unexpected $end in /mounted-storage/home23a/sub003/sc21979-KVVZ/www/ghhookup/functions.php on line 4890 |
Forum: PHP Oct 11th, 2006 |
| Replies: 17 Views: 4,766 |