jonny5771 Posted September 11, 2007 Share Posted September 11, 2007 Is there a web builder I can use for my flash portal? It is made from php, I have the main php code so the flash will be added to the portal. And all the technical stuff. But what I need to do now is to make a layout to make it look good so I can add back ground and add pics and move the flash submitted list to where I like best... but for all this I will need a web builder. But when I insert the php code into one, it don’t display right in desplay mod as it dose on the web. Here is the flash portal so you may try. portal.php <html> <head> <title>Flash Portal</title> </head> <body> <?php require("dbconnect.php"); echo("<font size='4'><strong>15 Most Recent</strong></font>"); //displays most recent flash using a while loop $query = "SELECT * FROM flash ORDER BY flashid DESC LIMIT 15"; $result = mysql_query($query); $i = 0; while ($row = mysql_fetch_array($result)) { //increases printed number for flash by one $i++; //declare varibles $score = stripslashes($row['score']); $title = $row['title']; $flashid = stripslashes($row['flashid']); //print flash submission echo($i); echo(" - "); echo("<a href='view.php?id="); echo($flashid); echo(">$title</a>"); //tells if submission is excellent (score higher than 7.0), okay (score between 3.0 and 7.0), or bad (score lower than 3.0) if ($score <= 3.0) { echo("(Bad!)"); } else if ($score > 3.0 && $score <= 7.0) { echo("(Okay)"); } else if ($score > 7.0) { echo("(Excellent!)"); } echo("<br>"); } echo("<font size='4'><strong>15 Most Viewed</strong></font>"); //displays 15 most viewed flash $query = "SELECT * FROM flash ORDER BY views DESC LIMIT 15"; $result = mysql_query($query); $i = 0; while ($row = mysql_fetch_array($result)) { //increases printed number for flash by one $i++; //declare varibles $score = stripslashes($row['score']); $title = $row['title']; $flashid = stripslashes($row['flashid']); //print flash submission echo($i); echo(" - "); echo("<a href='view.php?id="); echo($flashid); echo(">$title</a>"); echo("<br>"); } echo("<font size='4'><strong>Top 15</strong></font>"); //displays 15 top flash (ordered by highest score) $query = "SELECT * FROM flash ORDER BY score DESC LIMIT 15"; $result = mysql_query($query); $i = 0; while ($row = mysql_fetch_array($result)) { //increases printed number for flash by one $i++; //declare varibles $score = stripslashes($row['score']); $title = $row['title']; $flashid = stripslashes($row['flashid']); //print flash submission echo($i); echo(" - "); echo("<a href='view.php?id="); echo($flashid); echo(">$title</a>"); echo("<br>"); } //finish up page by adding end tags ?> </body> </html> Quote Link to comment https://forums.phpfreaks.com/topic/68923-php-and-web-builder/ Share on other sites More sharing options...
trq Posted September 11, 2007 Share Posted September 11, 2007 What exactly do you mean by a webbuilder? Quote Link to comment https://forums.phpfreaks.com/topic/68923-php-and-web-builder/#findComment-346448 Share on other sites More sharing options...
jonny5771 Posted September 11, 2007 Author Share Posted September 11, 2007 like front page or dreamweaver ect... Quote Link to comment https://forums.phpfreaks.com/topic/68923-php-and-web-builder/#findComment-346453 Share on other sites More sharing options...
liebs19 Posted September 11, 2007 Share Posted September 11, 2007 The reason that these builders won't work is because php is server side. You either need to get a web server to upload to or install WAMP or LAMP to run a web server on your machine. Quote Link to comment https://forums.phpfreaks.com/topic/68923-php-and-web-builder/#findComment-346458 Share on other sites More sharing options...
jonny5771 Posted September 12, 2007 Author Share Posted September 12, 2007 i have a web server to upload to but how do i build a layout if my pages are made from php? Quote Link to comment https://forums.phpfreaks.com/topic/68923-php-and-web-builder/#findComment-346491 Share on other sites More sharing options...
liebs19 Posted September 12, 2007 Share Posted September 12, 2007 The mail layout will have to be HTML, so I would create the layout using only HTML first and then figure out how to echo it out or display it through php. Quote Link to comment https://forums.phpfreaks.com/topic/68923-php-and-web-builder/#findComment-346493 Share on other sites More sharing options...
jonny5771 Posted September 12, 2007 Author Share Posted September 12, 2007 am abit new to php, any one know how i can do this? Quote Link to comment https://forums.phpfreaks.com/topic/68923-php-and-web-builder/#findComment-346503 Share on other sites More sharing options...
jonny5771 Posted September 12, 2007 Author Share Posted September 12, 2007 ...any one? Quote Link to comment https://forums.phpfreaks.com/topic/68923-php-and-web-builder/#findComment-346591 Share on other sites More sharing options...
kireol Posted September 12, 2007 Share Posted September 12, 2007 about the closest I've ever seen to what you want is PHPed. but i dont think it'll do what you want. If you are looking to click and drag where a form box is on a WYSIWIG screen and have that modify the pre-existing php code, I dont think that exists. Quote Link to comment https://forums.phpfreaks.com/topic/68923-php-and-web-builder/#findComment-346595 Share on other sites More sharing options...
jonny5771 Posted September 12, 2007 Author Share Posted September 12, 2007 Basically all I am looking for is a web builder that supports php Take this site (phpfreaks.com) for e.g. it’s made from php. But how did they make background and import a logo and position it right... did they use a web builder or something? Quote Link to comment https://forums.phpfreaks.com/topic/68923-php-and-web-builder/#findComment-346694 Share on other sites More sharing options...
redarrow Posted September 12, 2007 Share Posted September 12, 2007 css Quote Link to comment https://forums.phpfreaks.com/topic/68923-php-and-web-builder/#findComment-346702 Share on other sites More sharing options...
kireol Posted September 12, 2007 Share Posted September 12, 2007 did they use a web builder? You can look at the HTML, and not see any generated patterns of code or comments, so most likely, no. They still could have, or just as easily used wordpad, vi, or another text editor. Quote Link to comment https://forums.phpfreaks.com/topic/68923-php-and-web-builder/#findComment-346704 Share on other sites More sharing options...
jonny5771 Posted September 12, 2007 Author Share Posted September 12, 2007 css whats css? and how do i get it? Quote Link to comment https://forums.phpfreaks.com/topic/68923-php-and-web-builder/#findComment-346717 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.