Jump to content

phpserver

Members
  • Posts

    16
  • Joined

  • Last visited

    Never

About phpserver

  • Birthday 08/25/1987

Profile Information

  • Gender
    Male
  • Location
    London,UK

phpserver's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I forgot to mention tinymce has a css editor and i am sure there exists a jquery plugin that can help you out.Also,Adobe has a GPL/LGPL'ed (whatever) online code editor i have learnt,maybe you check that out too.
  2. Wordpress comes into mind since it has the facility you wish to have.I haven't come across such a script but it should be easy to implement by yourself.
  3. By the look of your source,css is not the only problem.The html is deeply flawed as it has head tags inside body tags.The overall markup is in utter disarray.
  4. Hello,i have been using jqgrid for a while now and i need to do something intelligent with it but havent quite managed to do it yet.To display a grid in jqgrid,lets say the crud example,you will launch default.php on the browser. The table and other sql statements are contained in the grid.php file. Suppose you want to define what table to use in grid.php and you want to do that via tapping the post value for the table name,how will you go about it?. Thank you.
  5. $class = mysql_real_escape_string($_POST['class']); $year = mysql_real_escape_string($_POST['year']); $sql = "CREATE TABLE $class.$year ( FirstName varchar(15), LastName varchar(15), Age int)"; The code above worked,sorry if you took it the wrong way on the "Your code do not work",thingy,i tend to be straight,if you are thinking i was rude or trying to,maybe you are over analysing things.
  6. First of all thank you very much for the help.I am making a software too run on the server2go,so its a software running on a cd.The client has a massive database that he needs to key in and so i thought it will be better to create a unique table for classes.I figured it could get fairly complicated since i am using extjs editable grid and i want a situation where the amount of joins are a minimum.
  7. Hello,i have this html form. <html> <body> <form action="create.php" method="post"> Class: <input type="text" name="class" /> Year: <input type="text" name="year" /> <input type="submit" /> </form> </body> </html> I want to create using the post values,possibly concatenate class.year and that will be the table name in mysql. <?php $con = mysql_connect("localhost","wikinger","abc123"); if (!$con) { die('Could not connect: ' . mysql_error()); } // Create database if (mysql_query("CREATE DATABASE my_db",$con)) { echo "Database created"; } else { echo "Error creating database: " . mysql_error(); } // Create table mysql_select_db("my_db", $con); $sql = "CREATE TABLE Persons //How do i replace Persons with '$_POST[class]'.'$_POST[year]' ( FirstName varchar(15), LastName varchar(15), Age int )"; // Execute query mysql_query($sql,$con); mysql_close($con); ?> I want to use '$_POST[class]'.'$_POST[year]' as my table name.How do i do it in my case?.
  8. Hello there,i have seen a software written entirely on php and mysql(pg social networking software).The unique thing about this is that,it is packaged and distributed in .exe. Could anybody point me into what am supposed to do to do a similar thing(make a php and mysql app and compile it with apache,mysql and php)
  9. Hi,i have done many php scripts and i just put them in a folder and call them like this.http://localhost/kim.register.php etc etc.I came across a method like i call my scripts like this;for instance....index.php?option=com_sms&task=smsMessage where com_sms can be found in a folder called com_content for instance such that if i want to add a new functionality to my web pages i just put a new component into the folder com_content;for instance if i wanna add,a functionality for newsletters i just place my com_nletter in my com_content folder and when it comes on the browser i guess i will write something like this index2.php?option=com_nletter&task=newsletter. Maybe somebody has seen this method on joomla,where can i find tutorials on how this is achieved?.
  10. What if i wanted to add some features like video support,maps support to my website at a latter date?I have heard you would need modules.I have seen modules work in phpizabi and a concept to practically similar to that exercised in joomla in form of components.How can i make a module work for me.
  11. w3schools.com.If you don't grab the concept try,css.cn ;D
×
×
  • 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.