Skip to content

Tag: html

Adding HTML codes inside PHP

I’m trying to add a view button to my table but I’m getting a syntax error, unexpected href. Seems like I’m wrong with the formatting. Still trying to learn PHP but is it possible to add href to the …

How to retrieve certain data in string?

Hello may i know how to retrieve data in string? Output : As you can see the output of the code is as shown above. This is my first time to encounter this kind of output because usually I get json as the output. So my question is may I know how to retrieve the RESPONSE_MESSAGE in the output or

User updated information not showing

i have problem in my php which is user updated data is not showing in the page, it shows only the previous data and not the updated data, but the information already updated in database This is my updateForm.php: This is my stdUpdateData.php, where the sql database process the update data: This is the student…

Run PHP submit code prior to HTML form action to set SESSION variables

Is there a way when a user submits an HTML form to run the PHP code necessary to save the form data as session variables prior to executing the HTML form’s action and leaving the page? When I set the form action to go to the next page (session2.php) it does so without running the PHP associated with the…

How to link CSS with PHP?

I’m beginning to do HTML, CSS and PHP and I can’t have a clear cut answer on how to add CSS to my existing PHP file: I would like the verbs to be displayed in blue, which needs tobe done in PHP, according to what I have read, however I can’t get it to work. I can’t seem to specify