-
Began Watching PHP multi-dimensional arrays
Hi there, I am trying to populate a page with multiple rows from a mySQL database. To grab the data, I am using: for ($i=1; $i < 5; $i++) { … -
Replied To a Post in PHP multi-dimensional arrays
Have you executed this query in the mysql client or phpmyadmin -
Began Watching Variabls by refrence?
session start has been evoked. I need the value of $v. $key = $_SESSION['sys_var_key']; $v = $_SESSION[$key]; echo '<br>key =>'.$key; echo '<br>value =>'.$v; -
Replied To a Post in Variabls by refrence?
From the discussion, your question is not all that clear. But if you want the value of $v, I'm afraid you are already having it when you used echo '<br>value … -
Began Watching Best way to learn php
Hi there !! i am here seeking for best way to learn php, i enrolled to one course but i am not feeling confortable with the method that the teacher … -
Replied To a Post in Best way to learn php
If you are a person who learns best by text the codeacademy or w3schools can help. But if you learn best by video, then I recommend the video playlist on … -
Began Watching Folders within the folder
Hello, I have tried to create a way though which users can create there own photo gallery but for that i created a code via whihc users can create their … -
Replied To a Post in Folders within the folder
I don't get you very well can you please explain it further and can you please edit your question (full of mistakes, sorry) . -
Marked Solved Status for Mail API not working in Yii
I'm building an API and on the aspect of sending a mail. I'm getting mail not sent error. In my API, the front-end sends a JSON request consisting of the … -
Replied To a Post in Mail API not working in Yii
Thanks cereal it after what you told me it wasn't the codes which were wrong but the server configuration. Thanks for your time. -
Replied To a Post in Mail API not working in Yii
I have corrected my smtp with some other credentials. My status is 200 but no json response is sent back to the front end -
Replied To a Post in Mail API not working in Yii
Okay Cereal, thank you very much for your help. I will contact my Tech Lead to clarify my codes. -
Replied To a Post in Mail API not working in Yii
Do I need to configure something in xampp when I'm still using PHPMailer -
Replied To a Post in Mail API not working in Yii
Now this is what I got SMTP -> ERROR: Failed to connect to server: A connection attempt failed because the connected party did not properly respond after a period of … -
Replied To a Post in Mail API not working in Yii
Cereal, the same but now the succeess message is replaced with the error message. -
Replied To a Post in Mail API not working in Yii
Thanks Cereal, very very much. But it response is both an error and a success. This is the response Could not instantiate mail function. {"success":true} Could you brief me about … -
Created Mail API not working in Yii
I'm building an API and on the aspect of sending a mail. I'm getting mail not sent error. In my API, the front-end sends a JSON request consisting of the … -
Began Watching Mail API not working in Yii
I'm building an API and on the aspect of sending a mail. I'm getting mail not sent error. In my API, the front-end sends a JSON request consisting of the … -
Replied To a Post in Unable to connect to MSQL
@Stephano, the logic I'm referring to here is not anything special than your conditions specified in the if and switch statements. For instance, Normally, you will say `if (username_is_unique && … -
Began Watching Unable to connect to MSQL
I have a website and users in it, now when they login, they get this "Unable to Connect to Msql" error. this also happens when i login to th admin … -
Replied To a Post in Unable to connect to MSQL
@Stephano, from what you are saying it means that every thing is okay with the database connection. If so, then can you check your logic well. Sometimes it happens when … -
Began Watching Forms best maxlength
Hi, I am Sergio and I am creating a website at the moment. You can Register and Login there. Now to my question: Witch maxlength values should I take for … -
Replied To a Post in Forms best maxlength
Yh I agree with andrevanzuydam, some people has very long names (both first and last ones). So 100 chars will be okay. But one thing I can add is that, … -
Began Watching PHP Refine Search
Hello, I have created an ecommerce website can anyone help me out and let me know that how do i ake a product flter or refine search what ever we … -
Replied To a Post in PHP Refine Search
Your question is not all that understandable but the little knowledge I have is that you are trying to filter the results returned from a search field. My suggestion is … -
Replied To a Post in php
@mattster, its not that I'm encouraging the mysql database connection layer but I don't know whether he has the basics of the mysqli database layer. And surprisely you just jumped … -
Replied To a Post in php
Hello Mohammed, the only flaws I see in your codes are you are using mysql PHP database connection layer which is deprecated. I recommend you to use mysqli or PDO … -
Replied To a Post in pre-populating <input type='file' with default
@zagga, the file is only stored in the temporary location on the server so unless you give it a permanent location is not uploaded yet. -
Began Watching php
haii....i had lot of different school datas and when i want to login into the data i want to get only the specified data according to the username and password..username … -
Replied To a Post in php
Hello Mohammed, helping people is the job of a forum, but you need to show us your efforts first. With your codes we will help you find your way out … -
Began Watching pre-populating <input type='file' with default
OK, All I find all over the web is that this can't be done... What I am looking for is a functional alternative. I have a form that a client … -
Replied To a Post in pre-populating <input type='file' with default
@showman, If I were in your shoes, to think of security and flexibility, I will upload the file to my server for the first instance, then when the verification of … -
Began Watching PHP for retrieve details from DB
Hi, I'm using PHP, I am trying to develop: 1. a login page in HTML, once user enter the correct username and password, this will be directed to the User … -
Replied To a Post in PHP for retrieve details from DB
Yes, I agree with diafol. When selecting user data based on the condition of the username (i.e. WHERE username = ?), provided the username is not a unique field you … -
Began Watching MVC Architecture
Hii.. i want to learn mvc for php,can anybody please help me??? -
Replied To a Post in MVC Architecture
Check simple mvc tutorials from Alex Garrett at [phpacademy](https://www.youtube.com/watch?v=OsCTzGASImQ) on youtube. -
Began Watching last insert id not working
Hello, Worked on PDO everything as far as i see is correct why i am getting an error ) Fatal error: Call to undefined method mysqli::insert_id() $result = "INSERT INTO … -
Replied To a Post in last insert id not working
Yh, your question does not justify the error you are having right now. You said PDO but the error is in mysqli. Also you are not querying the database for … -
Gave Reputation to cereal in I am good enough for this
Heh! Good for you, at your age I barely knew about HTML... > It's like a fear to be intimidated by co-workers that I'm a novice or something like that. … -
Replied To a Post in I am good enough for this
Thanks, diafol and cereal, but that being said are my skills good enough for that position (being junior web developer). -
Replied To a Post in PHP Notice: Undefined variable: email_message
Does it produce the same error -
Began Watching How to insert and select from two tables ?
i cannot select from two tables but i have the right code here it is: $sql = "INSERT INTO ticket (senderName, receiverName, `Date`, ticketID, match1, match2, match3, match4, match5, match6, … -
Replied To a Post in How to insert and select from two tables ?
are you trying to insert into the database with the select statement or ...? -
Created I am good enough for this
I am a 19 year old guy who is yet to get a CS degree from the university. I learned web development on my own from resources online. Mostly from … -
Began Watching I am good enough for this
I am a 19 year old guy who is yet to get a CS degree from the university. I learned web development on my own from resources online. Mostly from … -
Created I am good enough to go for it
I am a 19 year old guy who is yet to get a CS degree from the university. I learned web development on my own from resources online. Mostly from … -
Began Watching I am good enough to go for it
I am a 19 year old guy who is yet to get a CS degree from the university. I learned web development on my own from resources online. Mostly from … -
Began Watching php and html using database
i have a doubt that is i have login form like user name and password and after that doing some selections the page show an body of email like this … -
Replied To a Post in php and html using database
Yh. At least show us what you got so that we might help. -
Began Watching PHP Notice: Undefined variable: email_message
For some reason my forms have stopped working and I cannot get themt o send any emails. I have checked the server logs and I can see on form submition …
The End.