-
Posts
1,033 -
Joined
-
Last visited
-
Days Won
17
Everything posted by gw1500se
-
Not receiving email after submitting form
gw1500se replied to warren_thieras's topic in PHP Coding Help
Did you check your mail server logs and/or httpd logs? -
What did you try and what error did you get or unexpected output?
-
Once you have the redirect in place, does it matter?
-
Use .htaccess to redirect references to the old link to the new one.
-
Post your code. Be sure to use the code icon (<>) on the menu and specify PHP.
-
I forgot to mention, not HTML is needed since no browser is involved. Simply write the script as if it were any other scripting language (bsh, Python, perl, etc.).
-
Eliminate the meta refresh. When you create a cronjob you tell it how often to run the script. This tutorial tells you how to set up cron.
-
Not directly but writing your own is pretty simple in both PHP and Javascript.
-
This is not really a PHP question. You need to create a .htaccess file with redirect. You can see how here.
-
Getting 'Fatal error: Uncaught Error: Class 'MySQLi' not found in'
gw1500se replied to Richie1209's topic in PHP Coding Help
You could start by posting the offending code and the full error message. When posting code be sure to use the code icon (<>) in the menu and specify PHP. -
This is not really a PHP issue. I suggest you ask this on the appropriate *NIX forum.
-
Student subject Positioning based on score using php and mysql database
gw1500se replied to Ponel's topic in PHP Coding Help
One additional note. You need to check for 11, 12 and 13 since they are not 11st, 12nd or 13rd. Teens are all 'th'. -
Student subject Positioning based on score using php and mysql database
gw1500se replied to Ponel's topic in PHP Coding Help
Where do you check for 3 and append 'rd'? I can only see 'st', 'nd' and 'th'. -
Student subject Positioning based on score using php and mysql database
gw1500se replied to Ponel's topic in PHP Coding Help
What have you tried? Post your code and be sure to use the code icon (<>) on the menu and specify PHP. List any error messages and/or what you get instead of what you expect. -
If that is the case, it sounds like your database schema needs to be rethought.
- 3 replies
-
- php
- javascript
-
(and 3 more)
Tagged with:
-
One way is to translate all <> characters to < and > respectively. You may need to wrap it in <pre>...</pre> tags to format it.
-
With Ajax, opening a PHP function on the same page without JQuery.
gw1500se replied to JoshEir's topic in PHP Coding Help
Not sure what you are asking. This is all done on the client side so JavaScript can control what is displayed. Calling a PHP function with Ajax does not change anything on that page unless the JavaScript makes the change. Keep in mind that PHP is server side only and is stateless. JavaScript is client side and can control the current page completely. Thus a different JavaScript/Ajax function will not effect this function. -
Looks like you have a lot of errors to investigate. You need to clear them up first obviously. The "not a function' errors are likely a syntax problem. As a guess, there may be parens () in those references rather than brackets [].
-
Turn on error reporting. error_reporting(E_ALL);
-
This worked till I added some code, Now it does not,
gw1500se replied to guymclarenza's topic in PHP Coding Help
//this could be the problem it appears in the error file $alreadyCrawled() = array(); $crawling = array(); It is. Look at the second assignment that did not produce an error. See the difference? However, telling us it does not work is of no use. What new code did you add? What doesn't work? Do you get an error or do you get a different output than you expect? If so what is that?