Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

azizikri's avatar

Why is phone number is not showing properly

I have a data that has a value equals to "(425) 369-6686" and when i print the value its display "0"

this is the example of the error https://imgur.com/a/HO786et

0 likes
9 replies
Snapey's avatar

code?

examine the html generated by right clicking the web page and viewing the source.

In future try to post useful information.

azizikri's avatar

@Snapey sorry i forgot to give the code, here is the code

<div class="d-flex justify-content-between">
		<h6 class="mb-0">{{ $message->subject }}</h6>
		<h6>{{ $message->email }}, {{ $message->phone }}</h6>
</div>
azizikri's avatar
azizikri
OP
Best Answer
Level 1

@Sinnbeck AHH FINALLY, i forgot that i cast phone number, thanks a lot btw

Please or to participate in this conversation.