Search Results

Showing results 1 to 7 of 7
Search took 0.02 seconds.
Search: Posts Made By: MVied
Forum: PHP Sep 19th, 2008
Replies: 6
Views: 721
Posted By MVied
Should be something like this:"<a href=\"re_images/".$img."\" target=\"_blank\"><img src=\"re_images/".$img."\" alt=\"ALT TEXT\"width=\"100\" height=\"100\" border=\"1\" /></a><br />\n";
Forum: PHP Sep 18th, 2008
Replies: 6
Views: 721
Posted By MVied
And if you're interested in making that code a little smaller:
<?php
if(!empty($a1[image])) {
$im_array = explode("|", $a1[image]);
$images = "";

if ($im_array !== false) {
foreach...
Forum: PHP Sep 18th, 2008
Replies: 8
Views: 2,137
Posted By MVied
This:<?php while($row = mysql_fetch_array($sqlresult)){ ?>Should be this:<?php while($rows = mysql_fetch_assoc($sqlresult)){ ?>Your variable was named $row and you called it later in the loop as...
Forum: PHP Sep 18th, 2008
Replies: 8
Views: 986
Posted By MVied
If you're using JavaScript to call a PHP file, then it sounds like AJAX. In which case you would have to use the DOM to display the result of the PHP script. Please show us the script you're using.
Forum: PHP Aug 13th, 2008
Replies: 10
Views: 2,863
Posted By MVied
Ah see, news to me R0b. I haven't messed with session in forever. So maybe this is what he should use.


<?php

$host = "---";
$username = "---";
$password = "---";
$db = "---";
...
Forum: PHP Aug 13th, 2008
Replies: 10
Views: 2,863
Posted By MVied
If you'd like to do it in a session variable, do this.


<?php

$host = "---";
$username = "---";
$password = "---";
$db = "---";
$tbl_name = "---";
Forum: PHP Aug 13th, 2008
Replies: 9
Views: 2,590
Posted By MVied
Are you looking to generate your own barcodes or use ones already on products?
Showing results 1 to 7 of 7

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC