-
Replied To a Post in Yes, Now I Realize - Please Assist
phorce: *Thank you so much!* Via PM, I shall send you all full admin credentials. (After I send the credentials I will not touch the DB for a number of … -
Marked Solved Status for A Brief Question - General Advice
Hello. What I am planning to do for User registration in regards to agreeing to the EULA: 1)For example, there will be three conditions the User must agree to by … -
Replied To a Post in A Brief Question - General Advice
Thank you, both. Matthew -
Gave Reputation to M.Waqas Aslam in A Brief Question - General Advice
I simply take this example from w3school and made some changes hope this will help you <!DOCTYPE html> <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"> </script> <script> $(document).ready(function(){ $("#Button1").click(function(){ $("#div1").fadeOut(); $("#div2").fadeIn(); }); $("#Button2").click(function … -
Gave Reputation to pritaeas in A Brief Question - General Advice
jQuery will make this animation a lot easier. It has a fade function that will do what you need. Check the jQuery manual for an example on fade. -
Marked Solved Status for Pro/Cons: MySQL -vs- MySQLi
I have been researching this as I am getting the distinct feeling I will have to transition my code to this soon, eventually. From your experience, can someone provide a … -
Gave Reputation to pritaeas in Pro/Cons: MySQL -vs- MySQLi
> why I should transition The MySQL extension is deprecated, so in the next big release it won't be available anymore. -
Gave Reputation to cereal in Pro/Cons: MySQL -vs- MySQLi
Consider also the [PDO library](http://php.net/manual/en/book.pdo.php), it supports more databases: MySQLi is limited to MySQL and his forks, while PDO can query MySQL, Oracle, SQlite, PostgreSQL, MSSQL and others. That way … -
Replied To a Post in Pro/Cons: MySQL -vs- MySQLi
Thank you all for your replies. I will transition soon. I appreciate the advice. Matthew -
Replied To a Post in Yes, Now I Realize - Please Assist
Below is the current status (Screenshot) of my output after redirection. Could the DB/Table or server be corrupted? *Would anyone feel confident taking a direct look at my DB?* - … -
Replied To a Post in Yes, Now I Realize - Please Assist
Image test: (**Not** imbedded in post) <Update: Per Dani's advice, this method works) -
Created Pro/Cons: MySQL -vs- MySQLi
I have been researching this as I am getting the distinct feeling I will have to transition my code to this soon, eventually. From your experience, can someone provide a … -
Created A Brief Question - General Advice
Hello. What I am planning to do for User registration in regards to agreeing to the EULA: 1)For example, there will be three conditions the User must agree to by … -
Replied To a Post in Yes, Now I Realize - Please Assist
phorce: Same results as earlier (But Warning & Warning no longer appear): NULL YES Employee Name | Employee Address JAH! Null? Is this indicating a variable is empty or that … -
Replied To a Post in Yes, Now I Realize - Please Assist
phorce: Attempting to update file, run and post results for you, here. Problem is, the file will not save. I am running my tests on a server/DB out of Germany; … -
Replied To a Post in Yes, Now I Realize - Please Assist
Results: It will not let me enter "code" directly here. I tried to C&P it into the <Code> formatting, but it erased my text (?) [Bug?] Here is a screenshot. … -
Replied To a Post in Yes, Now I Realize - Please Assist
It is: "emp_name" and "emp_address" -
Replied To a Post in Yes, Now I Realize - Please Assist
Strange: When posting the image, a link is provide for a larger view; I will try again. One sec...  -
Replied To a Post in Yes, Now I Realize - Please Assist
 -
Replied To a Post in Yes, Now I Realize - Please Assist
Per request:  Thank you, phorce. Matthew -
Replied To a Post in Yes, Now I Realize - Please Assist
Here is the full .php file: <?php ini_set('display_errors', 'On'); error_reporting(E_ALL | E_STRICT); $con = mysql_connect("localhost","372***", "********"); if (!$con) { die('NEIN!' . mysql_error()); } //Connect to DB //(Possible offender below) $res … -
Replied To a Post in Yes, Now I Realize - Please Assist
Hi Dani. To answer your two posts, above: 1) Yes, those are the names of the two fields in the DB. 2)I inserted JAH! as a test flag to see … -
Replied To a Post in Yes, Now I Realize - Please Assist
Debugging. I think I have isolated the problem lines, but have yet to solve the retrieved data-in-cell display issue. I believe the issue lies within these two lines: echo "<td>" … -
Replied To a Post in Yes, Now I Realize - Please Assist
phorce: Good Morning. Sorry I missed you last night. Here are the two files I'm working with (I believe the problem(s) lives in the 2nd example,index1.php): 1)**Input** 2)**Redirected output** 1)Input … -
Gave Reputation to phorce in Yes, Now I Realize - Please Assist
Its saying there are no records inside the table.so are there records in the table? Or the query returns NULL I would check the table. Try and screen print it … -
Replied To a Post in Yes, Now I Realize - Please Assist
phorce: Hi. Yes, the table is very populated. About 7-pages of input data. Thank you very much for all your help and sugestions! Matthew -
Replied To a Post in Yes, Now I Realize - Please Assist
Dani, yes I tried phorces suggestion. I am not sure if I implemented it correctly (I had to modify the snippet); It may be a false-positive of sorts, the results, … -
Replied To a Post in Yes, Now I Realize - Please Assist
It is not working - This particular section of code was working fine just yesterday. I have no idea what happened. Maddening **:/** $result = mysql_query("SELECT * FROM b8_14160309_simpleDB3 LIMIT … -
Replied To a Post in Yes, Now I Realize - Please Assist
Dani: Hi. Yes, not sure what is going on - It all suddenly changed unbeknownst to me. Yes, it is the right table. I only have two tables on the … -
Replied To a Post in Yes, Now I Realize - Please Assist
Dani, Hi. I modified the code. It works wonderful and is exactly what I needed. One odd issue, though. I submit data via form > Page redirects to index1.php It … -
Gave Reputation to Dani in Yes, Now I Realize - Please Assist
Off the top of my head, change if ($redirect == true) { header("Location:$redirect_page"); } to if ($redirect == true AND !empty($_POST)) { header("Location:$redirect_page"); } The $_POST[] array gets populated with … -
Replied To a Post in Yes, Now I Realize - Please Assist
Dani: Thank you so much for your help. *You're brilliant*! I am learning **so** much from your site. It's wonderful. I modified my code as you posted and it worked … -
Created Yes, Now I Realize - Please Assist
I am still working with redirection. **This** works great, but is not exactly what I need: <?php ob_start(); ?> <h1>ob redirect test</h1> <?php $redirect_page = 'https://www.google.com'; $redirect = true; if … -
Gave Reputation to cereal in Overriding Headers - Redirection
Change line `12` to: if ($redirect === true) { And change the single quotes with double quotes on line `13`: header("Location:$redirect_page"); Docs: http://www.php.net/manual/en/language.types.string.php#language.types.string.parsing -
Replied To a Post in Overriding Headers - Redirection
cereal: Works perfectly (And I learned more about proper syntax)! You're awesome. Thank you for your help, Friend. Matthew -
Created Overriding Headers - Redirection
I am still working on the redirection issue (As noted in a previous thread here). I think I may have found a nice solution via a video tutorial on the … -
Created Selective Ads for my Site
(Mods/Admin: Please move if in wrong area. Thank you) I am interested in hosting ads on my site, but I have no idea where to begin. Simply put, I want … -
Replied To a Post in *Page Redirect After User Submission Via Form*
rhodoscoder: I shall implement ALL of your suggestions and report back to this thread with the results. Thank you for your excellent help. You outdid yourself, my friend! Regards, Matthew -
Replied To a Post in *Page Redirect After User Submission Via Form*
Update: Fixed the parse error - But page still instantly redirects, omitting User, data-form. Confused. -
Replied To a Post in *Page Redirect After User Submission Via Form*
*Thank you for everyone's help thus far!* I am able to redirect sucessfully, but there is a further issue: 1. I place the redirect code at the very top (To … -
Replied To a Post in *Page Redirect After User Submission Via Form*
I want to allow the User to enter and submit data - Then, that data should be displayed for the User, formatted on a new page. -
Created *Page Redirect After User Submission Via Form*
*I apologize if this has already been asked/answered* I am have trouble with this, although I imagine the solution is rather simple: 1. User completes form and submits 2. Page … -
Replied To a Post in The Power & Problems with PHP!
Cereal: It is I, **The_Thorn**. This is my original account, mattyd, dating back years and has been recovered for me by the gracious <daniweb> team. I am looking at your … -
Replied To a Post in Salaam all :)
Welcome, Rasha Ali. -
Replied To a Post in *Greetings - I Have Returned*
Thank you, Sir! -
Replied To a Post in Hi! And what language(s) would you suggest?
Explore scripting languages such as: * Ruby * Python * PHP Many people underestimate their power and potential usages. I will tell you, they can create wonderful, fast programs. Regards, … -
Edited *Greetings - I Have Returned*
After years of tumultuous shenanigans, I have returned to <DANIWEB>. I am primarily here to research and study PHP/MySQL. I look forward to my time here, helping others and getting … -
Created *Greetings - I Have Returned*
After years of tumultuous shenanigans, I have returned to <DANIWEB>. I am primarily here to research and study PHP/MySQL. I look forward to my time here, helping others and getting …
The End.