-
Posts
522 -
Joined
-
Last visited
Everything posted by budimir
-
Yep, something like that. I'll give it a try and let you know if I could make it. Thanks, anyway. Good suggestion.
-
Ok guys, I have seen this once, but I can't find it any more. So, that is a paging system but works on that way it's separating records by year - month. Example is bellow: 2008 | 2009 | 2010 | ... January | February | March | April | May | ... When clicked on 2008 and April it will display all records that where made in April 2008. Does anyone nows anything about this, or can someone point me to the right direction how to do this??? It really simplifies your life... Cheers!
-
Thanks a lot. Cheers!!
-
@GuiltyGear Can you explain this a little bit more?
-
Hey guys, I need small help, or better said advice. What are you doing for adjusting the pages for different screen resolutions ? Right now, I have users in my company which are using different resolutions: 1024x768, 1240x1280, 1440x900... I'm using a small javascript snipet which is checking the screen resolution and then loading different web page wich I adjusted for that resolution, but it's not always working correctly. Do you have any better solutions??
-
Thanks a lot guys. I got an idea how to do it.
-
OK, You have a link to any tutorials, or a peace of code where I could take a look at that???
-
Hey guys, Can someone point me to the right direction. I want to click on checkbox and save that info in DB without creating a form and clicking on a submit button. Any ideas how to do that??
-
Can you echo your query so we can see what is beeing put inside it???
-
I'm not quite sure, but I think you can't use # as a name in your MySQL DB, because it's a reserved sign. Try to change to 'number' or something like that...
-
[SOLVED] Current Date and Time into MySQL Field
budimir replied to webref.eu's topic in PHP Coding Help
We are here to help you with the problems, not to write the code for you. Google it or try under Freelance forum. -
Your query is not getting parsed properly, use double quotes. $id = $_GET["id"]; $query = "DELETE FROM ajc WHERE # = '$id' LIMIT 1"; Is # a field in your databse or what???
-
You have a problem here: $query = 'DELETE FROM 'ajc' WHERE 'ajc'.'#'=$id LIMIT 1;' or die('Error querying table: ' . mysql_error()); Do it like this: $query = "DELETE FROM 'ajc' WHERE '#'='$id' LIMIT 1"; $result = mysql_query($query) or die('Error querying table: ' . mysql_error()); Also, where are you getting $id from???
-
This code is not making any sense! Can you explain your logic a little bit???
-
Where are you asigning a value to this $_SESSION['primeiro_nome'] ???? As I can see it holds no value!!
-
[SOLVED] Submit button calling two php scripts???
budimir replied to budimir's topic in PHP Coding Help
Can you just make a small example, I'm not sure if I got it right. So basiclly: <form action="somescript.php"> all the code here <submit button here> </from> And i put include for second script into somescript.php???? -
Well, the simpliest is that you input 1- User 2-Admin and the following if ($permission == 2) { echo display link} else { nothing}
-
Guys, is it possible to use one form which would send the data to diferent files and return the results?? For example, I have one page on which I enter my criteria and when I hit submit it would need to send this data to different php scripts from which one would display the data and second one would display the chart!
-
Check your code - something is wrong what you are saying. Here you say: "I tried putting the code you gave me to set the bcc to me if they choose CD but its not working." But in the code you are doing diferrently: if ($_POST['distribution_method'] != "CD") Here you are setting if CD IS NOT chosen then send to BCC. You need to do this: if ($_POST['distribution_method'] == "CD")
-
Check you php.ini settings! Set this: max_execution_time = (like) 300000
-
Can you explain a little bit what you want to do? Login system??? or....
-
Well, for the begining do these steps: 1.) Put or die (mysql_error()); on the of your queries to see if something is wrong there 2.) Try to echo your queries to see if you are getting any results 3.) echo this variables to see if you're getting anything in them $myusername = $_POST['myusername']; $mypassword = $_POST['mypassword']; $myemail = $_POST['myemail']; $myage = $_POST['myage'];
-
Something is wrong with registering sessions! Can you post your code, so we can take a look?
-
overwriting uploaded images in directory and database....
budimir replied to barbs75's topic in PHP Coding Help
Can you explain a little bit what you wan't to do? You want to allowe the user to choose which picture he want's to replace or you just want to let him replace the old image with a new one if it has the same filename???? Please, explain!!! -
can you give us some code, so we can get a better idea what you did and give you some suggestions?