Search Results

Showing results 1 to 35 of 35
Search took 0.26 seconds.
Search: Posts Made By: Ezzaral ; Forum: PHP and child forums
Forum: PHP Jun 8th, 2009
Replies: 13
Solved: Basic question
Views: 731
Posted By Ezzaral
For a quick all-in-one installation, I'd recommend WampServer (http://www.wampserver.com/en/) or XAMPP (http://www.apachefriends.org/en/xampp.html).
Forum: PHP May 27th, 2009
Replies: 11
Views: 1,488
Posted By Ezzaral
Forum: PHP May 20th, 2009
Replies: 13
Solved: Help with query
Views: 517
Posted By Ezzaral
You would want the clause to be m=$todaysMonth AND d=$todaysDay AND y=$todaysYear
Forum: PHP May 20th, 2009
Replies: 13
Solved: Help with query
Views: 517
Posted By Ezzaral
Why not set the parameters of your query to only pull records where m=$todaysMonth and d=$todaysDay and y=$todaysYear?
Forum: PHP Apr 24th, 2009
Replies: 2
Views: 319
Posted By Ezzaral
Try this insteadfunction checkValues($postValues)
{
$valid = true;
foreach($postValues as $key => $value)
{
if(!isset($key) || $value == "")
...
Forum: PHP Apr 14th, 2009
Replies: 2
Views: 709
Posted By Ezzaral
Why not mark it solved yourself? The link is right there at the bottom of the thread :)
Forum: PHP Apr 13th, 2009
Replies: 40
Views: 2,001
Posted By Ezzaral
It's ok. I'll clean out the first two. I didn't want to delete them if there actually was a slight edit in the code that you intended.
Forum: PHP Apr 13th, 2009
Replies: 40
Views: 2,001
Posted By Ezzaral
Is there any difference in those or did you post three copies of the exact same thing?
Forum: PHP Nov 12th, 2008
Replies: 9
Views: 1,039
Posted By Ezzaral
Why would you wait for more instead of checking out the references you've already been given? Have you tried searching any out on your own? Waiting for others to hand you information is not a habit...
Forum: PHP Nov 10th, 2008
Replies: 9
Views: 1,039
Posted By Ezzaral
These two are free online:
http://hudzilla.org/phpwiki/index.php?title=Main_Page
http://www.techotopia.com/index.php/PHP_Essentials

I don't think they are downloadable though.
Forum: PHP Aug 28th, 2007
Replies: 2
Views: 5,659
Posted By Ezzaral
Why do you need to specify the size? Why must it be a longblob instead of just blob? If you have the answer to the questions then you know what size to set. This really depends on the data that you...
Forum: PHP Aug 27th, 2007
Replies: 4
Views: 763
Posted By Ezzaral
You don't have any output statements in there at all. You need to use print or echo (or some other appropriate stream output methods) if you want any output. What are you wanting to do with the data?
Forum: PHP Aug 21st, 2007
Replies: 13
Views: 1,985
Posted By Ezzaral
You will need to store the user id in the session when they log in and retrieve it as needed
$userId = $_SESSION['userId'];
Forum: PHP Aug 21st, 2007
Replies: 13
Views: 1,985
Posted By Ezzaral
Quick aside: Place code tags around code to maintain formatting. It really helps readability.

The part you'll need to change is
$insertSQL = sprintf("INSERT INTO messages (message) VALUES...
Forum: PHP Aug 21st, 2007
Replies: 13
Views: 1,985
Posted By Ezzaral
Post the relevant code. Without that we can only speculate and offer generic suggestions.
Forum: PHP Aug 20th, 2007
Replies: 13
Views: 1,985
Posted By Ezzaral
Actually, I would store both the user name and the id in the session. Whatever statement that saves the post just needs to include the id. The query that shows posts just needs to display the name...
Forum: PHP Aug 20th, 2007
Replies: 13
Views: 1,985
Posted By Ezzaral
If the login name is the id for the user in the database, then that's fine to keep it in the session while they are logged in. You will still need to write that value to the database with the post...
Forum: PHP Aug 20th, 2007
Replies: 13
Views: 1,985
Posted By Ezzaral
Are you not storing the user id with the post? If you are then you just need to display the name associated with that id. The name (id) associated with a post should not have any dependency on...
Forum: PHP Aug 15th, 2007
Replies: 11
Views: 7,038
Posted By Ezzaral
It is generally best not to tack new questions onto the end of solved posts, rather start a new thread for your question.

Your best bet for those configuration issues is to install an AMP package...
Forum: PHP Aug 7th, 2007
Replies: 8
Views: 1,042
Posted By Ezzaral
You might change the default 'any' value for houseplans on the form to ""
<option selected="selected" value="">All Types</option> so that they are all consistent and try this
$plantypes =...
Forum: PHP Aug 7th, 2007
Replies: 8
Views: 1,042
Posted By Ezzaral
Ah, the syntax error is because DESC is a reserved word, you'll have to escape that with `desc` I think. You will also need to handle the "any" cases as well, perhaps by changing the use of = to LIKE...
Forum: PHP Aug 7th, 2007
Replies: 8
Views: 1,042
Posted By Ezzaral
I would recommend changing your form method to 'post' instead of 'get' and then you just need to pull the variables in from the $_POST[] array and you should be good to go. I think you want to do...
Forum: PHP Jul 31st, 2007
Replies: 2
Views: 1,849
Posted By Ezzaral
I would assume that is because you have explicitly set the table height. If you only give it a couple of rows, those rows will fill the available height.
Forum: PHP Jul 26th, 2007
Replies: 11
Views: 7,038
Posted By Ezzaral
It would be a lot easier to just download Wampserver or XAMPP. Both will install Apache, MySQL, and PHP already configured.
Forum: PHP Jul 24th, 2007
Replies: 6
Views: 1,683
Posted By Ezzaral
Well, I would think the problem is the Office-specific content and tags in the file. You might take a look at this filter:...
Forum: PHP Jul 24th, 2007
Replies: 6
Views: 1,683
Posted By Ezzaral
You might want to post a fragment of the code that is not displaying correctly (the xml or xhtml output).
Forum: PHP Jul 20th, 2007
Replies: 16
Views: 8,068
Posted By Ezzaral
Glad to hear it. Things like that can be very confusing with differences in runtime settings.

With register_globals turned on, all variables from GET and POST are automatically available as a...
Forum: PHP Jul 20th, 2007
Replies: 16
Views: 8,068
Posted By Ezzaral
Do you have "register_globals = Off" or is it on? The default is off I believe, which means you cannot access the offset with just $offset. You will need use:
$offset = $_GET['offset'];
Forum: PHP Jul 19th, 2007
Replies: 16
Views: 8,068
Posted By Ezzaral
What does the 'next' link look like when you hover over it? Is the script name correct? Where is the code in your page that calls the browse() function? It may not be passing the correct parameters.
Forum: PHP Jul 19th, 2007
Replies: 16
Views: 8,068
Posted By Ezzaral
and you have an include for that file in your file with the foreach? I don't see a reason that $header would not be a valid parameter for the foreach, unless it's not been defined yet as that array.
Forum: PHP Jul 19th, 2007
Replies: 16
Views: 8,068
Posted By Ezzaral
You don't show the assignment of $header. Are you sure that it is an array?
Forum: PHP Jul 17th, 2007
Replies: 14
Views: 1,563
Posted By Ezzaral
Post the entire piece of code and use the code tags.
Forum: PHP Jul 16th, 2007
Replies: 14
Views: 1,563
Posted By Ezzaral
Yes, your first post did not show any code to check for those entries and went straight to the mail() statement.
Forum: PHP Jul 16th, 2007
Replies: 14
Views: 1,563
Posted By Ezzaral
I don't see anywhere that your code checks to see if there is anything in the error array and display it if needed. It just goes on to attempt to send the mail and it also doesn't check the return...
Forum: PHP Jul 16th, 2007
Replies: 16
Views: 4,551
Posted By Ezzaral
You could do the whole site in Flash I suppose :P
... which of course would be really slow and irritating...
Showing results 1 to 35 of 35

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC