{"id":26871337,"url":"https://github.com/codeadamca/php-output","last_synced_at":"2025-03-31T07:19:10.370Z","repository":{"id":115328447,"uuid":"264993025","full_name":"codeadamca/php-output","owner":"codeadamca","description":"A basic example of using echo to create output with PHP. ","archived":false,"fork":false,"pushed_at":"2025-01-22T01:08:17.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T02:22:36.798Z","etag":null,"topics":["echo","learning-code","output","php"],"latest_commit_sha":null,"homepage":"https://professoradamthomas.com/learning/php/output.html","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codeadamca.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-18T16:10:50.000Z","updated_at":"2025-01-22T01:08:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"8e84bfc7-0168-43f4-9fe1-ad8188192045","html_url":"https://github.com/codeadamca/php-output","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeadamca%2Fphp-output","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeadamca%2Fphp-output/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeadamca%2Fphp-output/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeadamca%2Fphp-output/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeadamca","download_url":"https://codeload.github.com/codeadamca/php-output/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246429485,"owners_count":20775809,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["echo","learning-code","output","php"],"created_at":"2025-03-31T07:19:09.884Z","updated_at":"2025-03-31T07:19:10.358Z","avatar_url":"https://github.com/codeadamca.png","language":"PHP","readme":"# A Basic Introduction to PHP and Output\n\nA basic example of using `echo` to create output with PHP. \n\nThis tutorial will review how to use the PHP `echo` command to create output. Here is a basic sample of using `echo` to output a \"Hello World\" message:\n\n```php\n\u003c?php \n\necho '\u003cp\u003eHello World!\u003c/p\u003e';\n\n?\u003e\n```\n\n## Steps\n\n1. Open up a new file and name it output.php.\n2. Copy the content from sample.html and paste it into your new PHP file.\n3. Convert the HTML code in between the `\u003cbody\u003e` and `\u003c/body\u003e` from HTML to PHP.\n4. For example the first line of HTML in the `\u003cbody\u003e` tag is:\n\n    ```html\n    \u003ch1\u003ePHP and Creating Output\u003c/h1\u003e\n    ```\n    \n    After this line is converted to PHP it will be something like this:\n    \n    ```php\n    \u003c?php\n    \n    echo '\u003ch1\u003ePHP and Creating Output\u003c/h1\u003e';\n    \n    ?\u003e\n    ```\n\nHint: Convert each line of HTML to PHP one line at a time. Test your PHP after converting each line of code. \n\n\u003e Full tutorial URL:  \n\u003e https://codeadam.ca/learning/php-output.html\n\n***\n\n## Repo Resources\n\n* [Visual Studio Code](https://code.visualstudio.com/) or [Brackets](http://brackets.io/) (or any code editor)\n* [Filezilla](https://filezilla-project.org/) (or any FTP program)\n\n\u003cbr\u003e\n\u003ca href=\"https://codeadam.ca\"\u003e\n\u003cimg src=\"https://cdn.codeadam.ca/images@1.0.0/codeadam-logo-coloured-horizontal.png\" width=\"200\"\u003e\n\u003c/a\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeadamca%2Fphp-output","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeadamca%2Fphp-output","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeadamca%2Fphp-output/lists"}