|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||||
|
|||||
|
img src in php and ajax
I added a field to mysql table called "pic" and added links to images. Does anyone know the syntax to replace $item with img src links. I've run out of ideas.
php Code:
|
|
#2
|
|||
|
|||
|
RE: img src in php and ajax
http://us2.php.net/str_replace
http://us2.php.net/eregi_replace http://us2.php.net/pregi_replace |
|
#3
|
|||
|
|||
|
RE: img src in php and ajax
Uh sorry. I just re-read your message. I think I had a brain fart.
are you saying the $item variable contains the link and you need to show that image on your page? If so: |
|
#4
|
|||
|
|||
|
RE: img src in php and ajax
thanks for the code!!! Got it to work. Now i just need to figure out how to pad the left margin for the images once they're dropped into the box.
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Applications > img src in php and ajax |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|