Jump to content

My echos are not working


WilliamNova

Recommended Posts

re: your edit in post #18 with the line of code and "I removed the full php tag in line 1 and that fixed that." in post #20.

 

the way to fix an error is to find what's causing it and make it right. by changing the php tag back to a non-working php tag, all you did was to effectively remove the line of php code because php no longer sees it as being php code.

 

what's wrong with line 1 of your file is very likely what is causing the latest error. your include statement isn't working because you have a syntax error in the line of code. you either need to add a missing ) to match the ( you do have or since the include statement isn't actually a function, you can remove the (

 

Yeah, I forgot to close it with a ), but removed the ( and it works fine now with the database connected. All is well. Thanks my friend!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.