Jump to content

I need help


azab20007

Recommended Posts

I have data in table like this

name
eeeeeeeeeeeeeeeeeeeeeeee................
eeeeeeeeeeeeee..........................
eeeeeeeeeee.............................

 

using this function

 

str_pad($row_Recordset1['name'], 40 ,".",1) ;

 

to  unify end all rows

 

But i can't get it

 

is there any solution to this problem

----------------------------------------------

I hope that there's anyone can understand me

Link to comment
https://forums.phpfreaks.com/topic/88190-i-need-help/
Share on other sites

You are using the function correctly. str_pad will return the padded version of $row_Recordset1['name']. But you need to post the rest of your script if you want help determining the problem.

 

Note: If you post code, please put it in code tags by using the # button on the toolbar

Link to comment
https://forums.phpfreaks.com/topic/88190-i-need-help/#findComment-451232
Share on other sites

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.