Search found 1014 matches
- by Filip
- Tue Sep 01, 2015 2:22 pm
- Forum: Help & Support
- Topic: table help
- Replies: 6
- Views: 3589
<?php $query = mysql_query("SELECT * FROM users WHERE online='1' ORDER BY id DESC LIMIT 5"); $numrows = mysql_num_rows($query); if ($numrows > 0){ echo '<table><tbody><tr>'; while($row = mysql_fetch_assoc($query)){ $id = $row['id']; $username = $row['username']; $email = $row['email']; ec...
- by Filip
- Thu Aug 27, 2015 3:14 pm
- Forum: Codenstuff boardroom
- Topic: Happy Birthday Codenstuff
- Replies: 4
- Views: 2308
Dummy1912 wrote:lmao; nah your not , you still looking good blusho;You're*
loove;
Happy Birthday Craig, you imbecile..
- by Filip
- Mon Aug 03, 2015 7:30 am
- Forum: Coding Help & Support
- Topic: Need help figuring this out (VB and Javascript)
- Replies: 3
- Views: 2022
I'd say that problem is possibly usage of ajax requests on app.. Ajax requests tend to not work in local environment
- by Filip
- Wed Jul 15, 2015 12:32 am
- Forum: Help & Support
- Topic: Updating Records
- Replies: 1
- Views: 1996
Again, do you get any errors or did you try echoing the query and try running it with phpmyadmin or something similar?
I don't see any error in the code, and without proper context or query tests we can't really help you much..
I don't see any error in the code, and without proper context or query tests we can't really help you much..
- by Filip
- Thu Jun 25, 2015 1:21 pm
- Forum: Help & Support
- Topic: php username help
- Replies: 2
- Views: 2353
Do you get any errors?
- by Filip
- Tue Jun 23, 2015 7:56 am
- Forum: Help & Support
- Topic: line brake
- Replies: 3
- Views: 2928
- by Filip
- Mon Jun 22, 2015 9:52 pm
- Forum: Help & Support
- Topic: line brake
- Replies: 3
- Views: 2928
Use nl2br function built into php
- by Filip
- Tue Jun 16, 2015 6:12 am
- Forum: Help & Support
- Topic: displaying image in php mysql
- Replies: 7
- Views: 4021
Code: Select all
<?
$path = "news_pics/$post_image";
echo "<img style=\"width: 123px;\" src=\"".((file_exists($path)) ? $path : "") . "\" />";
?>
- by Filip
- Sat Jun 13, 2015 9:13 pm
- Forum: Help & Support
- Topic: displaying image in php mysql
- Replies: 7
- Views: 4021
Add style="width: 123px" attribute into the img tag
- by Filip
- Sat Jun 13, 2015 3:00 pm
- Forum: Help & Support
- Topic: displaying image in php mysql
- Replies: 7
- Views: 4021
hello, i tried this but it only shows the name of the image that should be there and not the image. <? $path = "../news_pics/$post_image"; echo "<img src=\"".(file_exists($path)) ? $path : "" . "\" />"; ?> Sorry, I've been typing this code on a mobi...
Copyright Information
Copyright © Codenstuff.com 2020 - 2023